diff options
Diffstat (limited to 'libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html | 277 |
1 files changed, 277 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html new file mode 100644 index 0000000..85ee2b1 --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html | |||
@@ -0,0 +1,277 @@ | |||
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: irr::scene::IColladaMeshWriterNames Class Reference</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"> | ||
69 | var 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('classirr_1_1scene_1_1_i_collada_mesh_writer_names.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="summary"> | ||
88 | <a href="#pub-methods">Public Member Functions</a> </div> | ||
89 | <div class="headertitle"> | ||
90 | <div class="title">irr::scene::IColladaMeshWriterNames Class Reference</div> </div> | ||
91 | </div> | ||
92 | <div class="contents"> | ||
93 | <!-- doxytag: class="irr::scene::IColladaMeshWriterNames" --><!-- doxytag: inherits="irr::IReferenceCounted" --> | ||
94 | <p>Callback interface to use custom names on collada writing. | ||
95 | <a href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#details">More...</a></p> | ||
96 | |||
97 | <p><code>#include <<a class="el" href="_i_collada_mesh_writer_8h_source.html">IColladaMeshWriter.h</a>></code></p> | ||
98 | <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | ||
99 | <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::scene::IColladaMeshWriterNames:</div> | ||
100 | <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | ||
101 | </div> | ||
102 | <div id="dynsection-0-content" class="dyncontent" style="display:none;"> | ||
103 | <div class="center"> | ||
104 | <img src="classirr_1_1scene_1_1_i_collada_mesh_writer_names.png" usemap="#irr::scene::IColladaMeshWriterNames_map" alt=""/> | ||
105 | <map id="irr::scene::IColladaMeshWriterNames_map" name="irr::scene::IColladaMeshWriterNames_map"> | ||
106 | <area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="0,0,220,24"/> | ||
107 | </map> | ||
108 | </div></div> | ||
109 | |||
110 | <p><a href="classirr_1_1scene_1_1_i_collada_mesh_writer_names-members.html">List of all members.</a></p> | ||
111 | <h2><a name="pub-methods"></a> | ||
112 | Public Member Functions</h2> | ||
113 | <ul> | ||
114 | <li>virtual <a class="el" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#a44e5377cc7845d5a0f29923ee5ed1809">~IColladaMeshWriterNames</a> () | ||
115 | <li>virtual <a class="el" href="namespaceirr_1_1core.html#aef83fafbb1b36fcce44c07c9be23a7f2">irr::core::stringw</a> <a class="el" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#acb5c8f38769d3fedcc76df73d9350c07">nameForMaterial</a> (const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &material, int materialId, const <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">scene::IMesh</a> *mesh, const <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *node)=0 | ||
116 | <dl class="el"><dd class="mdescRight">Return a name for the material. <a href="#acb5c8f38769d3fedcc76df73d9350c07"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1core.html#aef83fafbb1b36fcce44c07c9be23a7f2">irr::core::stringw</a> <a class="el" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#a2d36f1dee5904b3c622363282761ed0d">nameForMesh</a> (const <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">scene::IMesh</a> *mesh, int instance)=0 | ||
117 | <dl class="el"><dd class="mdescRight">Return a unique name for the given mesh. <a href="#a2d36f1dee5904b3c622363282761ed0d"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1core.html#aef83fafbb1b36fcce44c07c9be23a7f2">irr::core::stringw</a> <a class="el" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html#a60d3fdad90edc25b0305c91be15b255f">nameForNode</a> (const <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> *node)=0 | ||
118 | <dl class="el"><dd class="mdescRight">Return a unique name for the given node. <a href="#a60d3fdad90edc25b0305c91be15b255f"></a><br/></dl></ul> | ||
119 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
120 | <div class="textblock"><p>Callback interface to use custom names on collada writing. </p> | ||
121 | <p>You can either modify names and id's written to collada or you can use this interface to just find out which names are used on writing. </p> | ||
122 | |||
123 | <p>Definition at line <a class="el" href="_i_collada_mesh_writer_8h_source.html#l00158">158</a> of file <a class="el" href="_i_collada_mesh_writer_8h_source.html">IColladaMeshWriter.h</a>.</p> | ||
124 | </div><hr/><h2>Constructor & Destructor Documentation</h2> | ||
125 | <a class="anchor" id="a44e5377cc7845d5a0f29923ee5ed1809"></a><!-- doxytag: member="irr::scene::IColladaMeshWriterNames::~IColladaMeshWriterNames" ref="a44e5377cc7845d5a0f29923ee5ed1809" args="()" --> | ||
126 | <div class="memitem"> | ||
127 | <div class="memproto"> | ||
128 | <table class="memname"> | ||
129 | <tr> | ||
130 | <td class="memname">virtual irr::scene::IColladaMeshWriterNames::~IColladaMeshWriterNames </td> | ||
131 | <td>(</td> | ||
132 | <td class="paramname"></td><td>)</td> | ||
133 | <td><code> [inline, virtual]</code></td> | ||
134 | </tr> | ||
135 | </table> | ||
136 | </div> | ||
137 | <div class="memdoc"> | ||
138 | |||
139 | <p>Definition at line <a class="el" href="_i_collada_mesh_writer_8h_source.html#l00162">162</a> of file <a class="el" href="_i_collada_mesh_writer_8h_source.html">IColladaMeshWriter.h</a>.</p> | ||
140 | |||
141 | </div> | ||
142 | </div> | ||
143 | <hr/><h2>Member Function Documentation</h2> | ||
144 | <a class="anchor" id="acb5c8f38769d3fedcc76df73d9350c07"></a><!-- doxytag: member="irr::scene::IColladaMeshWriterNames::nameForMaterial" ref="acb5c8f38769d3fedcc76df73d9350c07" args="(const video::SMaterial &material, int materialId, const scene::IMesh *mesh, const scene::ISceneNode *node)=0" --> | ||
145 | <div class="memitem"> | ||
146 | <div class="memproto"> | ||
147 | <table class="memname"> | ||
148 | <tr> | ||
149 | <td class="memname">virtual <a class="el" href="namespaceirr_1_1core.html#aef83fafbb1b36fcce44c07c9be23a7f2">irr::core::stringw</a> irr::scene::IColladaMeshWriterNames::nameForMaterial </td> | ||
150 | <td>(</td> | ||
151 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> & </td> | ||
152 | <td class="paramname"><em>material</em>, </td> | ||
153 | </tr> | ||
154 | <tr> | ||
155 | <td class="paramkey"></td> | ||
156 | <td></td> | ||
157 | <td class="paramtype">int </td> | ||
158 | <td class="paramname"><em>materialId</em>, </td> | ||
159 | </tr> | ||
160 | <tr> | ||
161 | <td class="paramkey"></td> | ||
162 | <td></td> | ||
163 | <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">scene::IMesh</a> * </td> | ||
164 | <td class="paramname"><em>mesh</em>, </td> | ||
165 | </tr> | ||
166 | <tr> | ||
167 | <td class="paramkey"></td> | ||
168 | <td></td> | ||
169 | <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> * </td> | ||
170 | <td class="paramname"><em>node</em> </td> | ||
171 | </tr> | ||
172 | <tr> | ||
173 | <td></td> | ||
174 | <td>)</td> | ||
175 | <td></td><td><code> [pure virtual]</code></td> | ||
176 | </tr> | ||
177 | </table> | ||
178 | </div> | ||
179 | <div class="memdoc"> | ||
180 | |||
181 | <p>Return a name for the material. </p> | ||
182 | <p>There is one material created in the writer for each unique name. So you can use this to control the number of materials which get written. For example Irrlicht does by default write one material for each material instanced by a node. So if you know that in your application material instances per node are identical between different nodes you can reduce the number of exported materials using that knowledge by using identical names for such shared materials. Names must follow the xs::NCName standard to be valid, you can run them through <a class="el" 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...">IColladaMeshWriter::toNCName</a> to ensure that. </p> | ||
183 | |||
184 | </div> | ||
185 | </div> | ||
186 | <a class="anchor" id="a2d36f1dee5904b3c622363282761ed0d"></a><!-- doxytag: member="irr::scene::IColladaMeshWriterNames::nameForMesh" ref="a2d36f1dee5904b3c622363282761ed0d" args="(const scene::IMesh *mesh, int instance)=0" --> | ||
187 | <div class="memitem"> | ||
188 | <div class="memproto"> | ||
189 | <table class="memname"> | ||
190 | <tr> | ||
191 | <td class="memname">virtual <a class="el" href="namespaceirr_1_1core.html#aef83fafbb1b36fcce44c07c9be23a7f2">irr::core::stringw</a> irr::scene::IColladaMeshWriterNames::nameForMesh </td> | ||
192 | <td>(</td> | ||
193 | <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_mesh.html">scene::IMesh</a> * </td> | ||
194 | <td class="paramname"><em>mesh</em>, </td> | ||
195 | </tr> | ||
196 | <tr> | ||
197 | <td class="paramkey"></td> | ||
198 | <td></td> | ||
199 | <td class="paramtype">int </td> | ||
200 | <td class="paramname"><em>instance</em> </td> | ||
201 | </tr> | ||
202 | <tr> | ||
203 | <td></td> | ||
204 | <td>)</td> | ||
205 | <td></td><td><code> [pure virtual]</code></td> | ||
206 | </tr> | ||
207 | </table> | ||
208 | </div> | ||
209 | <div class="memdoc"> | ||
210 | |||
211 | <p>Return a unique name for the given mesh. </p> | ||
212 | <p>Note that names really must be unique here per mesh-pointer, so mostly it's a good idea to return the nameForMesh from <a class="el" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a1d15f938a5b05a040724f7666694cd56" title="Return the original default name generator of the writer.">IColladaMeshWriter::getDefaultNameGenerator()</a>. Also names must follow the xs::NCName standard to be valid, you can run them through <a class="el" 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...">IColladaMeshWriter::toNCName</a> to ensure that. </p> | ||
213 | <dl><dt><b>Parameters:</b></dt><dd> | ||
214 | <table class="params"> | ||
215 | <tr><td class="paramname">mesh</td><td>Pointer to the mesh which needs a name </td></tr> | ||
216 | <tr><td class="paramname">instance</td><td>When E_COLLADA_GEOMETRY_WRITING is not ECGI_PER_MESH then several instances of the same mesh can be written and this counts them. </td></tr> | ||
217 | </table> | ||
218 | </dd> | ||
219 | </dl> | ||
220 | |||
221 | </div> | ||
222 | </div> | ||
223 | <a class="anchor" id="a60d3fdad90edc25b0305c91be15b255f"></a><!-- doxytag: member="irr::scene::IColladaMeshWriterNames::nameForNode" ref="a60d3fdad90edc25b0305c91be15b255f" args="(const scene::ISceneNode *node)=0" --> | ||
224 | <div class="memitem"> | ||
225 | <div class="memproto"> | ||
226 | <table class="memname"> | ||
227 | <tr> | ||
228 | <td class="memname">virtual <a class="el" href="namespaceirr_1_1core.html#aef83fafbb1b36fcce44c07c9be23a7f2">irr::core::stringw</a> irr::scene::IColladaMeshWriterNames::nameForNode </td> | ||
229 | <td>(</td> | ||
230 | <td class="paramtype">const <a class="el" href="classirr_1_1scene_1_1_i_scene_node.html">scene::ISceneNode</a> * </td> | ||
231 | <td class="paramname"><em>node</em></td><td>)</td> | ||
232 | <td><code> [pure virtual]</code></td> | ||
233 | </tr> | ||
234 | </table> | ||
235 | </div> | ||
236 | <div class="memdoc"> | ||
237 | |||
238 | <p>Return a unique name for the given node. </p> | ||
239 | <p>Note that names really must be unique here per node-pointer, so mostly it's a good idea to return the nameForNode from <a class="el" href="classirr_1_1scene_1_1_i_collada_mesh_writer.html#a1d15f938a5b05a040724f7666694cd56" title="Return the original default name generator of the writer.">IColladaMeshWriter::getDefaultNameGenerator()</a>. Also names must follow the xs::NCName standard to be valid, you can run them through <a class="el" 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...">IColladaMeshWriter::toNCName</a> to ensure that. </p> | ||
240 | |||
241 | </div> | ||
242 | </div> | ||
243 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
244 | <li><a class="el" href="_i_collada_mesh_writer_8h_source.html">IColladaMeshWriter.h</a></li> | ||
245 | </ul> | ||
246 | </div> | ||
247 | </div> | ||
248 | <div id="nav-path" class="navpath"> | ||
249 | <ul> | ||
250 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
251 | <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a> </li> | ||
252 | <li class="navelem"><a class="el" href="classirr_1_1scene_1_1_i_collada_mesh_writer_names.html">IColladaMeshWriterNames</a> </li> | ||
253 | <!-- window showing the filter options --> | ||
254 | <div id="MSearchSelectWindow" | ||
255 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
256 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
257 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
258 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
259 | |||
260 | <!-- iframe showing the search results (closed by default) --> | ||
261 | <div id="MSearchResultsWindow"> | ||
262 | <iframe src="javascript:void(0)" frameborder="0" | ||
263 | name="MSearchResults" id="MSearchResults"> | ||
264 | </iframe> | ||
265 | </div> | ||
266 | |||
267 | |||
268 | <li class="footer"> | ||
269 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
270 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:46 for Irrlicht 3D Engine by | ||
271 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
272 | </ul> | ||
273 | </div> | ||
274 | |||
275 | |||
276 | </body> | ||
277 | </html> | ||