aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/doc/html/_i_collada_mesh_writer_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/others/irrlicht-1.8.1/doc/html/_i_collada_mesh_writer_8h_source.html')
-rw-r--r--src/others/irrlicht-1.8.1/doc/html/_i_collada_mesh_writer_8h_source.html416
1 files changed, 416 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/doc/html/_i_collada_mesh_writer_8h_source.html b/src/others/irrlicht-1.8.1/doc/html/_i_collada_mesh_writer_8h_source.html
new file mode 100644
index 0000000..3176f06
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/doc/html/_i_collada_mesh_writer_8h_source.html
@@ -0,0 +1,416 @@
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<title>Irrlicht 3D Engine: IColladaMeshWriter.h Source File</title>
6
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="doxygen.css" rel="stylesheet" type="text/css" />
9<link href="navtree.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="resize.js"></script>
12<script type="text/javascript" src="navtree.js"></script>
13<script type="text/javascript">
14 $(document).ready(initResizable);
15</script>
16<link href="search/search.css" rel="stylesheet" type="text/css"/>
17<script type="text/javascript" src="search/search.js"></script>
18<script type="text/javascript">
19 $(document).ready(function() { searchBox.OnSelectItem(0); });
20</script>
21
22</head>
23<body>
24<div id="top"><!-- do not remove this div! -->
25
26
27<div id="titlearea">
28<table cellspacing="0" cellpadding="0">
29 <tbody>
30 <tr style="height: 56px;">
31
32 <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
33
34
35 <td style="padding-left: 0.5em;">
36 <div id="projectname">Irrlicht 3D Engine
37
38 </div>
39
40 </td>
41
42
43
44
45 <td> <div id="MSearchBox" class="MSearchBoxInactive">
46 <span class="left">
47 <img id="MSearchSelect" src="search/mag_sel.png"
48 onmouseover="return searchBox.OnSearchSelectShow()"
49 onmouseout="return searchBox.OnSearchSelectHide()"
50 alt=""/>
51 <input type="text" id="MSearchField" value="Search" accesskey="S"
52 onfocus="searchBox.OnSearchFieldFocus(true)"
53 onblur="searchBox.OnSearchFieldFocus(false)"
54 onkeyup="searchBox.OnSearchFieldChange(event)"/>
55 </span><span class="right">
56 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
57 </span>
58 </div>
59</td>
60
61
62 </tr>
63 </tbody>
64</table>
65</div>
66
67<!-- Generated by Doxygen 1.7.5.1 -->
68<script type="text/javascript">
69var searchBox = new SearchBox("searchBox", "search",false,'Search');
70</script>
71<script type="text/javascript" src="dynsections.js"></script>
72</div>
73<div id="side-nav" class="ui-resizable side-nav-resizable">
74 <div id="nav-tree">
75 <div id="nav-tree-contents">
76 </div>
77 </div>
78 <div id="splitbar" style="-moz-user-select:none;"
79 class="ui-resizable-handle">
80 </div>
81</div>
82<script type="text/javascript">
83 initNavTree('_i_collada_mesh_writer_8h.html','');
84</script>
85<div id="doc-content">
86<div class="header">
87 <div class="headertitle">
88<div class="title">IColladaMeshWriter.h</div> </div>
89</div>
90<div class="contents">
91<a href="_i_collada_mesh_writer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2012 Nikolaus Gebhardt</span>
92<a name="l00002"></a>00002 <span class="comment">// This file is part of the &quot;Irrlicht Engine&quot;.</span>
93<a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span>
94<a name="l00004"></a>00004
95<a name="l00005"></a>00005 <span class="preprocessor">#ifndef __IRR_I_COLLADA_MESH_WRITER_H_INCLUDED__</span>
96<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __IRR_I_COLLADA_MESH_WRITER_H_INCLUDED__</span>
97<a name="l00007"></a>00007 <span class="preprocessor"></span>
98<a name="l00008"></a>00008 <span class="preprocessor">#include &quot;<a class="code" href="_i_mesh_writer_8h.html">IMeshWriter.h</a>&quot;</span>
99<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;<a class="code" href="_i_scene_node_8h.html">ISceneNode.h</a>&quot;</span>
100<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;<a class="code" href="_i_animated_mesh_8h.html">IAnimatedMesh.h</a>&quot;</span>
101<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;<a class="code" href="_s_material_8h.html">SMaterial.h</a>&quot;</span>
102<a name="l00012"></a>00012
103<a name="l00013"></a>00013 <span class="keyword">namespace </span>irr
104<a name="l00014"></a>00014 {
105<a name="l00015"></a>00015 <span class="keyword">namespace </span>io
106<a name="l00016"></a>00016 {
107<a name="l00017"></a>00017 <span class="keyword">class </span>IWriteFile;
108<a name="l00018"></a>00018 } <span class="comment">// end namespace io</span>
109<a name="l00019"></a>00019
110<a name="l00020"></a>00020 <span class="keyword">namespace </span>scene
111<a name="l00021"></a>00021 {
112<a name="l00023"></a><a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1">00023</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1" title="Lighting models - more or less the way Collada categorizes materials.">E_COLLADA_TECHNIQUE_FX</a>
113<a name="l00024"></a>00024 {
114<a name="l00027"></a><a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1a69a2ffe63b7956eaedd3862f25d94d51">00027</a> <a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1a69a2ffe63b7956eaedd3862f25d94d51">ECTF_BLINN</a>,
115<a name="l00029"></a><a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1a48c8725416499c9909726e14f18c3fce">00029</a> <a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1a48c8725416499c9909726e14f18c3fce" title="Phong shading, default in many external renderers.">ECTF_PHONG</a>,
116<a name="l00031"></a><a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1aef79736ffe4a0d7653644c7082061726">00031</a> <a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1aef79736ffe4a0d7653644c7082061726" title="diffuse shaded surface that is independent of lighting.">ECTF_LAMBERT</a>,
117<a name="l00032"></a>00032 <span class="comment">// constantly shaded surface that is independent of lighting. </span>
118<a name="l00033"></a><a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1af21d6f4c2a62f9b3ae762c97808039aa">00033</a> <a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1af21d6f4c2a62f9b3ae762c97808039aa">ECTF_CONSTANT</a>
119<a name="l00034"></a>00034 };
120<a name="l00035"></a>00035
121<a name="l00037"></a><a class="code" href="namespaceirr_1_1scene.html#af7dadd5b96b683cfe1800f343c4f6619">00037</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1scene.html#af7dadd5b96b683cfe1800f343c4f6619" title="How to interpret the opacity in collada.">E_COLLADA_TRANSPARENT_FX</a>
122<a name="l00038"></a>00038 {
123<a name="l00040"></a><a class="code" href="namespaceirr_1_1scene.html#af7dadd5b96b683cfe1800f343c4f6619a93b8dbd819a9860581193a60ed6155c6">00040</a> <a class="code" href="namespaceirr_1_1scene.html#af7dadd5b96b683cfe1800f343c4f6619a93b8dbd819a9860581193a60ed6155c6" title="default - only alpha channel of color or texture is used.">ECOF_A_ONE</a> = 0,
124<a name="l00041"></a>00041
125<a name="l00043"></a><a class="code" href="namespaceirr_1_1scene.html#af7dadd5b96b683cfe1800f343c4f6619aeeb0b34217f227d32be4876aeeaaf70f">00043</a> <a class="code" href="namespaceirr_1_1scene.html#af7dadd5b96b683cfe1800f343c4f6619aeeb0b34217f227d32be4876aeeaaf70f" title="Alpha values for each RGB channel of color or texture are used.">ECOF_RGB_ZERO</a> = 1
126<a name="l00044"></a>00044 };
127<a name="l00045"></a>00045
128<a name="l00047"></a><a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8">00047</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8" title="Color names collada uses in it&#39;s color samplers.">E_COLLADA_COLOR_SAMPLER</a>
129<a name="l00048"></a>00048 {
130<a name="l00049"></a><a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a316a6699bbd75d46aaa6c84b24bf3d1b">00049</a> <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a316a6699bbd75d46aaa6c84b24bf3d1b">ECCS_DIFFUSE</a>,
131<a name="l00050"></a><a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a307ed333fc9c8458252919d3e91cd049">00050</a> <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a307ed333fc9c8458252919d3e91cd049">ECCS_AMBIENT</a>,
132<a name="l00051"></a><a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a8244896d6a79bb4a8f9fdff35a53f69e">00051</a> <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a8244896d6a79bb4a8f9fdff35a53f69e">ECCS_EMISSIVE</a>,
133<a name="l00052"></a><a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a7783e491e21caa8574e7eb1b32e9eb31">00052</a> <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a7783e491e21caa8574e7eb1b32e9eb31">ECCS_SPECULAR</a>,
134<a name="l00053"></a><a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a9106443e64c9141cb0bb7d003603b5f8">00053</a> <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a9106443e64c9141cb0bb7d003603b5f8">ECCS_TRANSPARENT</a>,
135<a name="l00054"></a><a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a5d9100bd3a502fe5662089fc013e5bd7">00054</a> <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8a5d9100bd3a502fe5662089fc013e5bd7">ECCS_REFLECTIVE</a>
136<a name="l00055"></a>00055 };
137<a name="l00056"></a>00056
138<a name="l00058"></a><a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7e">00058</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7e" title="Irrlicht colors which can be mapped to E_COLLADA_COLOR_SAMPLER values.">E_COLLADA_IRR_COLOR</a>
139<a name="l00059"></a>00059 {
140<a name="l00061"></a><a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7ea46a948a882be4d21af671d4dff939a12">00061</a> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7ea46a948a882be4d21af671d4dff939a12" title="Don&#39;t write this element at all.">ECIC_NONE</a>,
141<a name="l00062"></a>00062
142<a name="l00064"></a><a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7eae1ff98b61069652418cc36e411de863c">00064</a> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7eae1ff98b61069652418cc36e411de863c" title="Check IColladaMeshWriterProperties for custom color.">ECIC_CUSTOM</a>,
143<a name="l00065"></a>00065
144<a name="l00067"></a><a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7eac230a09c9fc579cc1776baea37731329">00067</a> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7eac230a09c9fc579cc1776baea37731329" title="Use SMaterial::DiffuseColor.">ECIC_DIFFUSE</a>,
145<a name="l00068"></a>00068
146<a name="l00070"></a><a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7ea1508a71bf85cb6f1303df8ae240cde75">00070</a> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7ea1508a71bf85cb6f1303df8ae240cde75" title="Use SMaterial::AmbientColor.">ECIC_AMBIENT</a>,
147<a name="l00071"></a>00071
148<a name="l00073"></a><a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7ea212908c2b2af576861553e4b441ac7f3">00073</a> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7ea212908c2b2af576861553e4b441ac7f3" title="Use SMaterial::EmissiveColor.">ECIC_EMISSIVE</a>,
149<a name="l00074"></a>00074
150<a name="l00076"></a><a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7eae62f9539794fa526128ea1eed9840b7d">00076</a> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7eae62f9539794fa526128ea1eed9840b7d" title="Use SMaterial::SpecularColor.">ECIC_SPECULAR</a>
151<a name="l00077"></a>00077 };
152<a name="l00078"></a>00078
153<a name="l00080"></a><a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959">00080</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959" title="Control when geometry elements are created.">E_COLLADA_GEOMETRY_WRITING</a>
154<a name="l00081"></a>00081 {
155<a name="l00083"></a><a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959a48f7ed09f68367a679cc8f6d4fd63906">00083</a> <a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959a48f7ed09f68367a679cc8f6d4fd63906" title="Default - write each mesh exactly once to collada. Optimal but will not work with many tools...">ECGI_PER_MESH</a>,
156<a name="l00084"></a>00084
157<a name="l00088"></a><a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959af2b6f3248808f3dbf81a7e707e508f65">00088</a> <a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959af2b6f3248808f3dbf81a7e707e508f65">ECGI_PER_MESH_AND_MATERIAL</a>
158<a name="l00089"></a>00089 };
159<a name="l00090"></a>00090
160<a name="l00092"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html">00092</a> <span class="keyword">class </span><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html" title="Callback interface for properties which can be used to influence collada writing.">IColladaMeshWriterProperties</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine.">IReferenceCounted</a>
161<a name="l00093"></a>00093 {
162<a name="l00094"></a>00094 <span class="keyword">public</span>:
163<a name="l00095"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#a98a4463140ed5695a07b718ec829300e">00095</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#a98a4463140ed5695a07b718ec829300e">~IColladaMeshWriterProperties</a> () {}
164<a name="l00096"></a>00096
165<a name="l00098"></a>00098 <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1scene.html#a9ec31e84e05295892488296b0741e2b1" title="Lighting models - more or less the way Collada categorizes materials.">E_COLLADA_TECHNIQUE_FX</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#abc0fb19092b53bdf48be8cc97a2af63b" title="Which lighting model should be used in the technique (FX) section when exporting effects (materials)...">getTechniqueFx</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a>&amp; material) <span class="keyword">const</span> = 0;
166<a name="l00099"></a>00099
167<a name="l00101"></a>00101
168<a name="l00104"></a>00104 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#a171287213537036be889a36ae4896c0e" title="Which texture index should be used when writing the texture of the given sampler color.">getTextureIdx</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a> &amp; material, <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8" title="Color names collada uses in it&#39;s color samplers.">E_COLLADA_COLOR_SAMPLER</a> cs) <span class="keyword">const</span> = 0;
169<a name="l00105"></a>00105
170<a name="l00107"></a>00107
171<a name="l00111"></a>00111 <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1scene.html#a61cba210038d6d843b81d9282f1cac7e" title="Irrlicht colors which can be mapped to E_COLLADA_COLOR_SAMPLER values.">E_COLLADA_IRR_COLOR</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#ab347c50cc9b291625d051a919d8772ab" title="Return which color from Irrlicht should be used for the color requested by collada.">getColorMapping</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a> &amp; material, <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8" title="Color names collada uses in it&#39;s color samplers.">E_COLLADA_COLOR_SAMPLER</a> cs) <span class="keyword">const</span> = 0;
172<a name="l00112"></a>00112
173<a name="l00114"></a>00114
174<a name="l00115"></a>00115 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">video::SColor</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#a8028af2323dab63df4bdfeb292ec48cd" title="Return custom colors for certain color types requested by collada.">getCustomColor</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a> &amp; material, <a class="code" href="namespaceirr_1_1scene.html#a6204218341c6b449d879cd8367b2f8d8" title="Color names collada uses in it&#39;s color samplers.">E_COLLADA_COLOR_SAMPLER</a> cs) <span class="keyword">const</span> = 0;
175<a name="l00116"></a>00116
176<a name="l00118"></a>00118
177<a name="l00119"></a>00119 <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1scene.html#af7dadd5b96b683cfe1800f343c4f6619" title="How to interpret the opacity in collada.">E_COLLADA_TRANSPARENT_FX</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#a0d934ae86d3e587ae22f74d775bbfa36" title="Return the transparence color interpretation.">getTransparentFx</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a>&amp; material) <span class="keyword">const</span> = 0;
178<a name="l00120"></a>00120
179<a name="l00122"></a>00122
180<a name="l00124"></a>00124 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#ac547e1f89f4655751ecd570ad70d010b" title="Transparency value for that material.">getTransparency</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a>&amp; material) <span class="keyword">const</span> = 0;
181<a name="l00125"></a>00125
182<a name="l00127"></a>00127
183<a name="l00129"></a>00129 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#ad880b5fc91114049b20347a31199b2a9" title="Reflectivity value for that material.">getReflectivity</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a>&amp; material) <span class="keyword">const</span> = 0;
184<a name="l00130"></a>00130
185<a name="l00132"></a>00132
186<a name="l00134"></a>00134 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07" title="32 bit floating point variable.">f32</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#ab7ec58f708ebebe941246e6c78b0691d" title="Return index of refraction for that material.">getIndexOfRefraction</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a>&amp; material) <span class="keyword">const</span> = 0;
187<a name="l00135"></a>00135
188<a name="l00138"></a>00138 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#af24d1c12b3f4168407c078bd7fc3dc82">isExportable</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">irr::scene::ISceneNode</a> * node) <span class="keyword">const</span> = 0;
189<a name="l00139"></a>00139
190<a name="l00142"></a>00142 <span class="comment">// Note: Function is not const because there is no const getMesh() function.</span>
191<a name="l00143"></a>00143 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">IMesh</a>* <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#ac6d9e1583642ac777471bd9225d72007">getMesh</a>(<a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">irr::scene::ISceneNode</a> * node) = 0;
192<a name="l00144"></a>00144
193<a name="l00146"></a>00146
194<a name="l00150"></a>00150 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html#a9c10df4dc3602efbba6a47b34e2f8f4b" title="Return if the node has it&#39;s own material overwriting the mesh-materials.">useNodeMaterial</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">scene::ISceneNode</a>* node) <span class="keyword">const</span> = 0;
195<a name="l00151"></a>00151
196<a name="l00152"></a>00152 };
197<a name="l00153"></a>00153
198<a name="l00155"></a>00155
199<a name="l00158"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html">00158</a> <span class="keyword">class </span><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html" title="Callback interface to use custom names on collada writing.">IColladaMeshWriterNames</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine.">IReferenceCounted</a>
200<a name="l00159"></a>00159 {
201<a name="l00160"></a>00160 <span class="keyword">public</span>:
202<a name="l00161"></a>00161
203<a name="l00162"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#a44e5377cc7845d5a0f29923ee5ed1809">00162</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#a44e5377cc7845d5a0f29923ee5ed1809">~IColladaMeshWriterNames</a> () {}
204<a name="l00163"></a>00163
205<a name="l00165"></a>00165
206<a name="l00174"></a>00174 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">irr::core::stringw</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#a2d36f1dee5904b3c622363282761ed0d" title="Return a unique name for the given mesh.">nameForMesh</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">scene::IMesh</a>* mesh, <span class="keywordtype">int</span> instance) = 0;
207<a name="l00175"></a>00175
208<a name="l00177"></a>00177
209<a name="l00183"></a>00183 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">irr::core::stringw</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#a60d3fdad90edc25b0305c91be15b255f" title="Return a unique name for the given node.">nameForNode</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">scene::ISceneNode</a>* node) = 0;
210<a name="l00184"></a>00184
211<a name="l00186"></a>00186
212<a name="l00196"></a>00196 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">irr::core::stringw</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#acb5c8f38769d3fedcc76df73d9350c07" title="Return a name for the material.">nameForMaterial</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_material.html" title="Struct for holding parameters for a material renderer.">video::SMaterial</a> &amp; material, <span class="keywordtype">int</span> materialId, <span class="keyword">const</span> <a class="code" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">scene::IMesh</a>* mesh, <span class="keyword">const</span> <a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">scene::ISceneNode</a>* node) = 0;
213<a name="l00197"></a>00197 };
214<a name="l00198"></a>00198
215<a name="l00199"></a>00199
216<a name="l00201"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html">00201</a> <span class="keyword">class </span><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html" title="Interface for writing meshes.">IColladaMeshWriter</a> : <span class="keyword">public</span> <a class="code" href="classirr_1_1scene_1_1_i_mesh_writer.html" title="Interface for writing meshes.">IMeshWriter</a>
217<a name="l00202"></a>00202 {
218<a name="l00203"></a>00203 <span class="keyword">public</span>:
219<a name="l00204"></a>00204
220<a name="l00205"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a1d764ba230a304fa9f93d122f86f71a6">00205</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a1d764ba230a304fa9f93d122f86f71a6">IColladaMeshWriter</a>()
221<a name="l00206"></a>00206 : Properties(0), DefaultProperties(0), NameGenerator(0), DefaultNameGenerator(0)
222<a name="l00207"></a>00207 , WriteTextures(true), WriteDefaultScene(true), ExportSMaterialOnce(true)
223<a name="l00208"></a>00208 , AmbientLight(0.f, 0.f, 0.f, 1.f)
224<a name="l00209"></a>00209 , GeometryWriting(<a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959a48f7ed09f68367a679cc8f6d4fd63906" title="Default - write each mesh exactly once to collada. Optimal but will not work with many tools...">ECGI_PER_MESH</a>)
225<a name="l00210"></a>00210 {
226<a name="l00211"></a>00211 }
227<a name="l00212"></a>00212
228<a name="l00214"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a85ed9eb856663c6698e1f7c4535b9057">00214</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a85ed9eb856663c6698e1f7c4535b9057" title="Destructor.">~IColladaMeshWriter</a>()
229<a name="l00215"></a>00215 {
230<a name="l00216"></a>00216 <span class="keywordflow">if</span> ( Properties )
231<a name="l00217"></a>00217 Properties-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
232<a name="l00218"></a>00218 <span class="keywordflow">if</span> ( DefaultProperties )
233<a name="l00219"></a>00219 DefaultProperties-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
234<a name="l00220"></a>00220 <span class="keywordflow">if</span> ( NameGenerator )
235<a name="l00221"></a>00221 NameGenerator-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
236<a name="l00222"></a>00222 <span class="keywordflow">if</span> ( DefaultNameGenerator )
237<a name="l00223"></a>00223 DefaultNameGenerator-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
238<a name="l00224"></a>00224 }
239<a name="l00225"></a>00225
240<a name="l00227"></a>00227 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#ad2e6e7617052c83d5f19d7811e0d5fd7" title="writes a scene starting with the given node">writeScene</a>(<a class="code" href="classirr_1_1io_1_1_i_write_file.html" title="Interface providing write access to a file.">io::IWriteFile</a>* file, <a class="code" href="classirr_1_1scene_1_1_i_scene_node.html" title="Scene node interface.">scene::ISceneNode</a>* root) = 0;
241<a name="l00228"></a>00228
242<a name="l00229"></a>00229
243<a name="l00231"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a2fa67e9fcfefdc6cf71d682e9891d15e">00231</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a2fa67e9fcfefdc6cf71d682e9891d15e" title="Set if texture information should be written.">setWriteTextures</a>(<span class="keywordtype">bool</span> write)
244<a name="l00232"></a>00232 {
245<a name="l00233"></a>00233 WriteTextures = write;
246<a name="l00234"></a>00234 }
247<a name="l00235"></a>00235
248<a name="l00237"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#aeca9018df3848ce7d41a80dd4376dc19">00237</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#aeca9018df3848ce7d41a80dd4376dc19" title="Get if texture information should be written.">getWriteTextures</a>()<span class="keyword"> const </span>
249<a name="l00238"></a>00238 <span class="keyword"> </span>{
250<a name="l00239"></a>00239 <span class="keywordflow">return</span> WriteTextures;
251<a name="l00240"></a>00240 }
252<a name="l00241"></a>00241
253<a name="l00243"></a>00243
254<a name="l00247"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#acf1952c459b4b2bde5b479b6d9717c35">00247</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#acf1952c459b4b2bde5b479b6d9717c35" title="Set if a default scene should be written when writing meshes.">setWriteDefaultScene</a>(<span class="keywordtype">bool</span> write)
255<a name="l00248"></a>00248 {
256<a name="l00249"></a>00249 WriteDefaultScene = write;
257<a name="l00250"></a>00250 }
258<a name="l00251"></a>00251
259<a name="l00253"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a72ee7dfeb05f3021d914b1684d7bf860">00253</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a72ee7dfeb05f3021d914b1684d7bf860" title="Get if a default scene should be written.">getWriteDefaultScene</a>()<span class="keyword"> const</span>
260<a name="l00254"></a>00254 <span class="keyword"> </span>{
261<a name="l00255"></a>00255 <span class="keywordflow">return</span> WriteDefaultScene;
262<a name="l00256"></a>00256 }
263<a name="l00257"></a>00257
264<a name="l00259"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a410fb9e46db6250ff8bbf4ddb18ef1f2">00259</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a410fb9e46db6250ff8bbf4ddb18ef1f2" title="Sets ambient color of the scene to write.">setAmbientLight</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1video_1_1_s_colorf.html" title="Class representing a color with four floats.">video::SColorf</a> &amp;ambientColor)
265<a name="l00260"></a>00260 {
266<a name="l00261"></a>00261 AmbientLight = ambientColor;
267<a name="l00262"></a>00262 }
268<a name="l00263"></a>00263
269<a name="l00265"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a383e7dec830b77f8506b779291991755">00265</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1video_1_1_s_colorf.html" title="Class representing a color with four floats.">video::SColorf</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a383e7dec830b77f8506b779291991755" title="Return ambient light of the scene which is written.">getAmbientLight</a>()<span class="keyword"> const</span>
270<a name="l00266"></a>00266 <span class="keyword"> </span>{
271<a name="l00267"></a>00267 <span class="keywordflow">return</span> AmbientLight;
272<a name="l00268"></a>00268 }
273<a name="l00269"></a>00269
274<a name="l00271"></a>00271
275<a name="l00278"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a25d2e1ff0bf04375c822800b0b3a4b01">00278</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a25d2e1ff0bf04375c822800b0b3a4b01" title="Control when and how often a mesh is written.">setGeometryWriting</a>(<a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959" title="Control when geometry elements are created.">E_COLLADA_GEOMETRY_WRITING</a> writeStyle)
276<a name="l00279"></a>00279 {
277<a name="l00280"></a>00280 GeometryWriting = writeStyle;
278<a name="l00281"></a>00281 }
279<a name="l00282"></a>00282
280<a name="l00284"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a388a4d91ae01bce0221f56e3641aa971">00284</a> <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959" title="Control when geometry elements are created.">E_COLLADA_GEOMETRY_WRITING</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a388a4d91ae01bce0221f56e3641aa971" title="Get the current style of geometry writing.">getGeometryWriting</a>()<span class="keyword"> const</span>
281<a name="l00285"></a>00285 <span class="keyword"> </span>{
282<a name="l00286"></a>00286 <span class="keywordflow">return</span> GeometryWriting;
283<a name="l00287"></a>00287 }
284<a name="l00288"></a>00288
285<a name="l00290"></a>00290
286<a name="l00297"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#af6f37ca4a1ef6238cc079f3f5d5eb612">00297</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#af6f37ca4a1ef6238cc079f3f5d5eb612" title="Make certain there is only one collada material generated per Irrlicht material.">setExportSMaterialsOnlyOnce</a>(<span class="keywordtype">bool</span> exportOnce)
287<a name="l00298"></a>00298 {
288<a name="l00299"></a>00299 ExportSMaterialOnce = exportOnce;
289<a name="l00300"></a>00300 }
290<a name="l00301"></a>00301
291<a name="l00302"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a7183584025a146696d4b45f7e6015334">00302</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a7183584025a146696d4b45f7e6015334">getExportSMaterialsOnlyOnce</a>()<span class="keyword"> const</span>
292<a name="l00303"></a>00303 <span class="keyword"> </span>{
293<a name="l00304"></a>00304 <span class="keywordflow">return</span> ExportSMaterialOnce;
294<a name="l00305"></a>00305 }
295<a name="l00306"></a>00306
296<a name="l00308"></a>00308
297<a name="l00310"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#acffa89579171224f10e30f2c0d09f8c1">00310</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#acffa89579171224f10e30f2c0d09f8c1" title="Set properties to use by the meshwriter instead of it&#39;s default properties.">setProperties</a>(<a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html" title="Callback interface for properties which can be used to influence collada writing.">IColladaMeshWriterProperties</a> * p)
298<a name="l00311"></a>00311 {
299<a name="l00312"></a>00312 <span class="keywordflow">if</span> ( p == Properties )
300<a name="l00313"></a>00313 <span class="keywordflow">return</span>;
301<a name="l00314"></a>00314 <span class="keywordflow">if</span> ( p )
302<a name="l00315"></a>00315 p-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#a2b7a035532e5f409ca9482dab79185f4" title="Grabs the object. Increments the reference counter by one.">grab</a>();
303<a name="l00316"></a>00316 <span class="keywordflow">if</span> ( Properties )
304<a name="l00317"></a>00317 Properties-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
305<a name="l00318"></a>00318 Properties = p;
306<a name="l00319"></a>00319 }
307<a name="l00320"></a>00320
308<a name="l00322"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a5828b7a01654144c5aece5adaca7ce51">00322</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html" title="Callback interface for properties which can be used to influence collada writing.">IColladaMeshWriterProperties</a> * <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a5828b7a01654144c5aece5adaca7ce51" title="Get properties which are currently used.">getProperties</a>()<span class="keyword"> const</span>
309<a name="l00323"></a>00323 <span class="keyword"> </span>{
310<a name="l00324"></a>00324 <span class="keywordflow">return</span> Properties;
311<a name="l00325"></a>00325 }
312<a name="l00326"></a>00326
313<a name="l00328"></a>00328
314<a name="l00329"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a95a51d0783f242d567369751aa7448cc">00329</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html" title="Callback interface for properties which can be used to influence collada writing.">IColladaMeshWriterProperties</a> * <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a95a51d0783f242d567369751aa7448cc" title="Return the original default properties of the writer.">getDefaultProperties</a>()<span class="keyword"> const </span>
315<a name="l00330"></a>00330 <span class="keyword"> </span>{
316<a name="l00331"></a>00331 <span class="keywordflow">return</span> DefaultProperties;
317<a name="l00332"></a>00332 }
318<a name="l00333"></a>00333
319<a name="l00335"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a7e48b43c91133e482e76da54849ef153">00335</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a7e48b43c91133e482e76da54849ef153" title="Install a generator to create custom names on export.">setNameGenerator</a>(<a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html" title="Callback interface to use custom names on collada writing.">IColladaMeshWriterNames</a> * nameGenerator)
320<a name="l00336"></a>00336 {
321<a name="l00337"></a>00337 <span class="keywordflow">if</span> ( nameGenerator == NameGenerator )
322<a name="l00338"></a>00338 <span class="keywordflow">return</span>;
323<a name="l00339"></a>00339 <span class="keywordflow">if</span> ( nameGenerator )
324<a name="l00340"></a>00340 nameGenerator-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#a2b7a035532e5f409ca9482dab79185f4" title="Grabs the object. Increments the reference counter by one.">grab</a>();
325<a name="l00341"></a>00341 <span class="keywordflow">if</span> ( NameGenerator )
326<a name="l00342"></a>00342 NameGenerator-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
327<a name="l00343"></a>00343 NameGenerator = nameGenerator;
328<a name="l00344"></a>00344 }
329<a name="l00345"></a>00345
330<a name="l00347"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#acd60a190c60228a87b6d218cbf9e2102">00347</a> <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html" title="Callback interface to use custom names on collada writing.">IColladaMeshWriterNames</a> * <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#acd60a190c60228a87b6d218cbf9e2102" title="Get currently used name generator.">getNameGenerator</a>()<span class="keyword"> const</span>
331<a name="l00348"></a>00348 <span class="keyword"> </span>{
332<a name="l00349"></a>00349 <span class="keywordflow">return</span> NameGenerator;
333<a name="l00350"></a>00350 }
334<a name="l00351"></a>00351
335<a name="l00353"></a>00353
336<a name="l00354"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a1d15f938a5b05a040724f7666694cd56">00354</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html" title="Callback interface to use custom names on collada writing.">IColladaMeshWriterNames</a> * <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a1d15f938a5b05a040724f7666694cd56" title="Return the original default name generator of the writer.">getDefaultNameGenerator</a>()<span class="keyword"> const </span>
337<a name="l00355"></a>00355 <span class="keyword"> </span>{
338<a name="l00356"></a>00356 <span class="keywordflow">return</span> DefaultNameGenerator;
339<a name="l00357"></a>00357 }
340<a name="l00358"></a>00358
341<a name="l00360"></a>00360
342<a name="l00361"></a>00361 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1core_1_1string.html">irr::core::stringw</a> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#ac9c48beab095aa6f4cb4f696bb2ecd45" title="Restrict the characters of oldString a set of allowed characters in xs::NCName and add the prefix...">toNCName</a>(<span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">irr::core::stringw</a>&amp; oldString, <span class="keyword">const</span> <a class="code" href="classirr_1_1core_1_1string.html">irr::core::stringw</a>&amp; prefix=<a class="code" href="classirr_1_1core_1_1string.html">irr::core::stringw</a>(L<span class="stringliteral">&quot;_NC_&quot;</span>)) <span class="keyword">const</span> = 0;
343<a name="l00362"></a>00362
344<a name="l00363"></a>00363
345<a name="l00364"></a>00364 <span class="keyword">protected</span>:
346<a name="l00365"></a>00365 <span class="comment">// NOTE: You usually should also call setProperties with the same paraemter when using setDefaultProperties</span>
347<a name="l00366"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#aa8e2c739f035c2cd9cd858ab2b87ce6f">00366</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#aa8e2c739f035c2cd9cd858ab2b87ce6f">setDefaultProperties</a>(<a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html" title="Callback interface for properties which can be used to influence collada writing.">IColladaMeshWriterProperties</a> * p)
348<a name="l00367"></a>00367 {
349<a name="l00368"></a>00368 <span class="keywordflow">if</span> ( p == DefaultProperties )
350<a name="l00369"></a>00369 <span class="keywordflow">return</span>;
351<a name="l00370"></a>00370 <span class="keywordflow">if</span> ( p )
352<a name="l00371"></a>00371 p-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#a2b7a035532e5f409ca9482dab79185f4" title="Grabs the object. Increments the reference counter by one.">grab</a>();
353<a name="l00372"></a>00372 <span class="keywordflow">if</span> ( DefaultProperties )
354<a name="l00373"></a>00373 DefaultProperties-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
355<a name="l00374"></a>00374 DefaultProperties = p;
356<a name="l00375"></a>00375 }
357<a name="l00376"></a>00376
358<a name="l00377"></a>00377 <span class="comment">// NOTE: You usually should also call setNameGenerator with the same paraemter when using setDefaultProperties</span>
359<a name="l00378"></a><a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#af3e16f890cf591164503edb7e3c0eded">00378</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#af3e16f890cf591164503edb7e3c0eded">setDefaultNameGenerator</a>(<a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html" title="Callback interface to use custom names on collada writing.">IColladaMeshWriterNames</a> * p)
360<a name="l00379"></a>00379 {
361<a name="l00380"></a>00380 <span class="keywordflow">if</span> ( p == DefaultNameGenerator )
362<a name="l00381"></a>00381 <span class="keywordflow">return</span>;
363<a name="l00382"></a>00382 <span class="keywordflow">if</span> ( p )
364<a name="l00383"></a>00383 p-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#a2b7a035532e5f409ca9482dab79185f4" title="Grabs the object. Increments the reference counter by one.">grab</a>();
365<a name="l00384"></a>00384 <span class="keywordflow">if</span> ( DefaultNameGenerator )
366<a name="l00385"></a>00385 DefaultNameGenerator-&gt;<a class="code" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">drop</a>();
367<a name="l00386"></a>00386 DefaultNameGenerator = p;
368<a name="l00387"></a>00387 }
369<a name="l00388"></a>00388
370<a name="l00389"></a>00389 <span class="keyword">private</span>:
371<a name="l00390"></a>00390 <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html" title="Callback interface for properties which can be used to influence collada writing.">IColladaMeshWriterProperties</a> * Properties;
372<a name="l00391"></a>00391 <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_properties.html" title="Callback interface for properties which can be used to influence collada writing.">IColladaMeshWriterProperties</a> * DefaultProperties;
373<a name="l00392"></a>00392 <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html" title="Callback interface to use custom names on collada writing.">IColladaMeshWriterNames</a> * NameGenerator;
374<a name="l00393"></a>00393 <a class="code" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html" title="Callback interface to use custom names on collada writing.">IColladaMeshWriterNames</a> * DefaultNameGenerator;
375<a name="l00394"></a>00394 <span class="keywordtype">bool</span> WriteTextures;
376<a name="l00395"></a>00395 <span class="keywordtype">bool</span> WriteDefaultScene;
377<a name="l00396"></a>00396 <span class="keywordtype">bool</span> ExportSMaterialOnce;
378<a name="l00397"></a>00397 <a class="code" href="classirr_1_1video_1_1_s_colorf.html" title="Class representing a color with four floats.">video::SColorf</a> AmbientLight;
379<a name="l00398"></a>00398 <a class="code" href="namespaceirr_1_1scene.html#a179008e7c02889459edf81394dbd6959" title="Control when geometry elements are created.">E_COLLADA_GEOMETRY_WRITING</a> GeometryWriting;
380<a name="l00399"></a>00399 };
381<a name="l00400"></a>00400
382<a name="l00401"></a>00401
383<a name="l00402"></a>00402 } <span class="comment">// end namespace</span>
384<a name="l00403"></a>00403 } <span class="comment">// end namespace</span>
385<a name="l00404"></a>00404
386<a name="l00405"></a>00405 <span class="preprocessor">#endif</span>
387</pre></div></div>
388</div>
389 <div id="nav-path" class="navpath">
390 <ul>
391 <li class="navelem"><a class="el" href="_i_collada_mesh_writer_8h.html">IColladaMeshWriter.h</a> </li>
392<!-- window showing the filter options -->
393<div id="MSearchSelectWindow"
394 onmouseover="return searchBox.OnSearchSelectShow()"
395 onmouseout="return searchBox.OnSearchSelectHide()"
396 onkeydown="return searchBox.OnSearchSelectKey(event)">
397<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>
398
399<!-- iframe showing the search results (closed by default) -->
400<div id="MSearchResultsWindow">
401<iframe src="javascript:void(0)" frameborder="0"
402 name="MSearchResults" id="MSearchResults">
403</iframe>
404</div>
405
406
407 <li class="footer">
408<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht
409Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:39 for Irrlicht 3D Engine by
410<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
411 </ul>
412 </div>
413
414
415</body>
416</html>