source: NonGTP/FCollada/Documentation/class_f_c_d_geometry.html @ 964

Revision 964, 26.4 KB checked in by igarcia, 18 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FCDGeometry Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
14    <li><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
20    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
21    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
22    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
23  </ul></div>
24<h1>FCDGeometry Class Reference<br>
25<small>
26[<a class="el" href="group___f_c_d_geometry.html">COLLADA Document Geometry Entity</a>]</small>
27</h1><!-- doxytag: class="FCDGeometry" --><!-- doxytag: inherits="FCDEntity" -->A COLLADA geometry entity. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_c_d_geometry_8h-source.html">FCDGeometry.h</a>&gt;</code>
31<p>
32<p>Inheritance diagram for FCDGeometry:
33<p><center><img src="class_f_c_d_geometry.png" usemap="#FCDGeometry_map" border="0" alt=""></center>
34<map name="FCDGeometry_map">
35<area href="class_f_c_d_entity.html" alt="FCDEntity" shape="rect" coords="0,168,109,192">
36<area href="class_f_c_d_object_with_id.html" alt="FCDObjectWithId" shape="rect" coords="0,112,109,136">
37<area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="0,56,109,80">
38<area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="0,0,109,24">
39</map>
40<a href="class_f_c_d_geometry-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
41<tr><td></td></tr>
42<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
43<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#99a0bad2b82d7829e289878cb5850af9">FCDGeometry</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document)</td></tr>
44
45<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Contructor: do not use directly.  <a href="#99a0bad2b82d7829e289878cb5850af9"></a><br></td></tr>
46<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#8cb501e9a721d0a6b55f44da8063680b">~FCDGeometry</a> ()</td></tr>
47
48<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor: only release cloned geometries directly.  <a href="#8cb501e9a721d0a6b55f44da8063680b"></a><br></td></tr>
49<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_c_d_entity.html#9301a4bd5f4d4190ec13e40db4effdd7">Type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#220b50045d5a815dce0c1be69e06f926">GetType</a> () const </td></tr>
50
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the entity class type.  <a href="#220b50045d5a815dce0c1be69e06f926"></a><br></td></tr>
52<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#2c8f918ca0734d57fc32f7b06ba2dcd1">IsMesh</a> () const </td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves whether the type of this geometry is a mesh.  <a href="#2c8f918ca0734d57fc32f7b06ba2dcd1"></a><br></td></tr>
55<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#cf98b948f99bb3f83cb6c09db05877b5">GetMesh</a> ()</td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the mesh information structure for this geometry.  <a href="#cf98b948f99bb3f83cb6c09db05877b5"></a><br></td></tr>
58<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf3bf2789cfb07effcf66b8fe74d1478"></a><!-- doxytag: member="FCDGeometry::GetMesh" ref="cf3bf2789cfb07effcf66b8fe74d1478" args="() const " -->
59const <a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#cf3bf2789cfb07effcf66b8fe74d1478">GetMesh</a> () const </td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
62<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#80d2488705610b031d25815db0cb92d5">CreateMesh</a> ()</td></tr>
63
64<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the type of this geometry to mesh and creates an empty mesh structure.  <a href="#80d2488705610b031d25815db0cb92d5"></a><br></td></tr>
65<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#939f0b6f72a6178fc38d8c09d2b4c5e2">IsSpline</a> () const </td></tr>
66
67<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves whether the type of this geometry is a spline.  <a href="#939f0b6f72a6178fc38d8c09d2b4c5e2"></a><br></td></tr>
68<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#e0e0c4d96306a22cc89682058cbe95c0">GetSpline</a> ()</td></tr>
69
70<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the spline information structure for this geometry.  <a href="#e0e0c4d96306a22cc89682058cbe95c0"></a><br></td></tr>
71<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9054bad549b0e2e904210d8068b02792"></a><!-- doxytag: member="FCDGeometry::GetSpline" ref="9054bad549b0e2e904210d8068b02792" args="() const " -->
72const <a class="el" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#9054bad549b0e2e904210d8068b02792">GetSpline</a> () const </td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#8dfbe774043c16d7bf1776bc0b08117a">CreateSpline</a> ()</td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the type of this geometry to spline and creates an empty spline structure.  <a href="#8dfbe774043c16d7bf1776bc0b08117a"></a><br></td></tr>
78<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry.html">FCDGeometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#4e3a2616799ec7f94a81a358d2ec1eeb">Clone</a> (<a class="el" href="classvector.html">FloatList</a> &amp;newPositions, uint32 newPositionsStride, <a class="el" href="classvector.html">FloatList</a> &amp;newNormals, uint32 newNormalsStride)</td></tr>
79
80<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#92a713bfe6e15e1629047007db7ad755">LoadFromXML</a> (xmlNode *node)</td></tr>
81
82<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Reads in the &lt;geometry&gt; element from a given COLLADA XML tree node.  <a href="#92a713bfe6e15e1629047007db7ad755"></a><br></td></tr>
83<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual xmlNode *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry.html#86db49ab6648957309de6db9581981c1">WriteToXML</a> (xmlNode *parentNode) const </td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Writes out the &lt;geometry&gt; element to the given COLLADA XML tree node.  <a href="#86db49ab6648957309de6db9581981c1"></a><br></td></tr>
86</table>
87<hr><a name="_details"></a><h2>Detailed Description</h2>
88A COLLADA geometry entity.
89<p>
90There are two types of COLLADA geometry entities: meshes and splines.<p>
91Meshes are collections of polygons where the vertices always have a position, usually have a normal to define smooth or hard edges and may be colored or textured.<p>
92Splines are a sequence of control points used to generate a smooth curve.
93<p>
94<hr><h2>Constructor &amp; Destructor Documentation</h2>
95<a class="anchor" name="99a0bad2b82d7829e289878cb5850af9"></a><!-- doxytag: member="FCDGeometry::FCDGeometry" ref="99a0bad2b82d7829e289878cb5850af9" args="(FCDocument *document)" --><p>
96<table class="mdTable" cellpadding="2" cellspacing="0">
97  <tr>
98    <td class="mdRow">
99      <table cellpadding="0" cellspacing="0" border="0">
100        <tr>
101          <td class="md" nowrap valign="top">FCDGeometry::FCDGeometry           </td>
102          <td class="md" valign="top">(&nbsp;</td>
103          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> *&nbsp;</td>
104          <td class="mdname1" valign="top" nowrap> <em>document</em>          </td>
105          <td class="md" valign="top">&nbsp;)&nbsp;</td>
106          <td class="md" nowrap></td>
107        </tr>
108      </table>
109    </td>
110  </tr>
111</table>
112<table cellspacing="5" cellpadding="0" border="0">
113  <tr>
114    <td>
115      &nbsp;
116    </td>
117    <td>
118
119<p>
120Contructor: do not use directly.
121<p>
122Create new geometries using the FCDocument::AddGeometry function, or the <a class="el" href="class_f_c_d_library.html#a5cdcac5a447298d5e3816e4f8c864d0">FCDLibrary::AddEntity</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
123  <table border="0" cellspacing="2" cellpadding="0">
124    <tr><td valign="top"></td><td valign="top"><em>document</em>&nbsp;</td><td>The COLLADA document which owns the new geometry entity. </td></tr>
125  </table>
126</dl>
127    </td>
128  </tr>
129</table>
130<a class="anchor" name="8cb501e9a721d0a6b55f44da8063680b"></a><!-- doxytag: member="FCDGeometry::~FCDGeometry" ref="8cb501e9a721d0a6b55f44da8063680b" args="()" --><p>
131<table class="mdTable" cellpadding="2" cellspacing="0">
132  <tr>
133    <td class="mdRow">
134      <table cellpadding="0" cellspacing="0" border="0">
135        <tr>
136          <td class="md" nowrap valign="top">virtual FCDGeometry::~FCDGeometry           </td>
137          <td class="md" valign="top">(&nbsp;</td>
138          <td class="mdname1" valign="top" nowrap>          </td>
139          <td class="md" valign="top">&nbsp;)&nbsp;</td>
140          <td class="md" nowrap><code> [virtual]</code></td>
141        </tr>
142      </table>
143    </td>
144  </tr>
145</table>
146<table cellspacing="5" cellpadding="0" border="0">
147  <tr>
148    <td>
149      &nbsp;
150    </td>
151    <td>
152
153<p>
154Destructor: only release cloned geometries directly.
155<p>
156Release original geometries using the <a class="el" href="class_f_c_d_library.html#3fbfbcf4ade5b9c94d2ee2f59db5921d">FCDLibrary::ReleaseEntity</a> function. All original geometries are released with the document that they belong to.     </td>
157  </tr>
158</table>
159<hr><h2>Member Function Documentation</h2>
160<a class="anchor" name="4e3a2616799ec7f94a81a358d2ec1eeb"></a><!-- doxytag: member="FCDGeometry::Clone" ref="4e3a2616799ec7f94a81a358d2ec1eeb" args="(FloatList &amp;newPositions, uint32 newPositionsStride, FloatList &amp;newNormals, uint32 newNormalsStride)" --><p>
161<table class="mdTable" cellpadding="2" cellspacing="0">
162  <tr>
163    <td class="mdRow">
164      <table cellpadding="0" cellspacing="0" border="0">
165        <tr>
166          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry.html">FCDGeometry</a>* FCDGeometry::Clone           </td>
167          <td class="md" valign="top">(&nbsp;</td>
168          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FloatList</a> &amp;&nbsp;</td>
169          <td class="mdname" nowrap> <em>newPositions</em>, </td>
170        </tr>
171        <tr>
172          <td class="md" nowrap align="right"></td>
173          <td class="md"></td>
174          <td class="md" nowrap>uint32&nbsp;</td>
175          <td class="mdname" nowrap> <em>newPositionsStride</em>, </td>
176        </tr>
177        <tr>
178          <td class="md" nowrap align="right"></td>
179          <td class="md"></td>
180          <td class="md" nowrap><a class="el" href="classvector.html">FloatList</a> &amp;&nbsp;</td>
181          <td class="mdname" nowrap> <em>newNormals</em>, </td>
182        </tr>
183        <tr>
184          <td class="md" nowrap align="right"></td>
185          <td class="md"></td>
186          <td class="md" nowrap>uint32&nbsp;</td>
187          <td class="mdname" nowrap> <em>newNormalsStride</em></td>
188        </tr>
189        <tr>
190          <td class="md"></td>
191          <td class="md">)&nbsp;</td>
192          <td class="md" colspan="2"></td>
193        </tr>
194      </table>
195    </td>
196  </tr>
197</table>
198<table cellspacing="5" cellpadding="0" border="0">
199  <tr>
200    <td>
201      &nbsp;
202    </td>
203    <td>
204
205<p>
206<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000012">Deprecated:</a></b></dt><dd>[INTERNAL] Clones the geometry entity. Works only on mesh geometry. Creates a full copy of the geometry, with the vertices overwritten by the given data: this is used when importing COLLADA 1.3 skin controllers. You will need to release the cloned entity. </dd></dl>
207<dl compact><dt><b>Parameters:</b></dt><dd>
208  <table border="0" cellspacing="2" cellpadding="0">
209    <tr><td valign="top"></td><td valign="top"><em>newPositions</em>&nbsp;</td><td>The list of vertex position that will overwrite the current mesh vertex positions. This list may be empty. </td></tr>
210    <tr><td valign="top"></td><td valign="top"><em>newPositionsStride</em>&nbsp;</td><td>The stride, in bytes, of the newPositions list. For an empty newPositions list, this value is discarded. </td></tr>
211    <tr><td valign="top"></td><td valign="top"><em>newNormals</em>&nbsp;</td><td>The list of vertex normals that will overwrite the current mesh vertex normals. This list may be empty. </td></tr>
212    <tr><td valign="top"></td><td valign="top"><em>newNormalsStride</em>&nbsp;</td><td>The stride, in bytes, of the newNormals list. For an empty newNormals list, this value is discarded. </td></tr>
213  </table>
214</dl>
215<dl compact><dt><b>Returns:</b></dt><dd>The cloned geometry entity. This pointer will be NULL, if the geometry is not a mesh. You will need to release this pointer. </dd></dl>
216    </td>
217  </tr>
218</table>
219<a class="anchor" name="80d2488705610b031d25815db0cb92d5"></a><!-- doxytag: member="FCDGeometry::CreateMesh" ref="80d2488705610b031d25815db0cb92d5" args="()" --><p>
220<table class="mdTable" cellpadding="2" cellspacing="0">
221  <tr>
222    <td class="mdRow">
223      <table cellpadding="0" cellspacing="0" border="0">
224        <tr>
225          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>* FCDGeometry::CreateMesh           </td>
226          <td class="md" valign="top">(&nbsp;</td>
227          <td class="mdname1" valign="top" nowrap>          </td>
228          <td class="md" valign="top">&nbsp;)&nbsp;</td>
229          <td class="md" nowrap></td>
230        </tr>
231      </table>
232    </td>
233  </tr>
234</table>
235<table cellspacing="5" cellpadding="0" border="0">
236  <tr>
237    <td>
238      &nbsp;
239    </td>
240    <td>
241
242<p>
243Sets the type of this geometry to mesh and creates an empty mesh structure.
244<p>
245This function will release any mesh or spline structure that the geometry may already contain <dl compact><dt><b>Returns:</b></dt><dd>The mesh information structure. This pointer will always be valid. </dd></dl>
246    </td>
247  </tr>
248</table>
249<a class="anchor" name="8dfbe774043c16d7bf1776bc0b08117a"></a><!-- doxytag: member="FCDGeometry::CreateSpline" ref="8dfbe774043c16d7bf1776bc0b08117a" args="()" --><p>
250<table class="mdTable" cellpadding="2" cellspacing="0">
251  <tr>
252    <td class="mdRow">
253      <table cellpadding="0" cellspacing="0" border="0">
254        <tr>
255          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a>* FCDGeometry::CreateSpline           </td>
256          <td class="md" valign="top">(&nbsp;</td>
257          <td class="mdname1" valign="top" nowrap>          </td>
258          <td class="md" valign="top">&nbsp;)&nbsp;</td>
259          <td class="md" nowrap></td>
260        </tr>
261      </table>
262    </td>
263  </tr>
264</table>
265<table cellspacing="5" cellpadding="0" border="0">
266  <tr>
267    <td>
268      &nbsp;
269    </td>
270    <td>
271
272<p>
273Sets the type of this geometry to spline and creates an empty spline structure.
274<p>
275This function will release any mesh or spline structure that the geometry may already contain. <dl compact><dt><b>Returns:</b></dt><dd>The spline information structure. This pointer will always be valid. </dd></dl>
276    </td>
277  </tr>
278</table>
279<a class="anchor" name="cf98b948f99bb3f83cb6c09db05877b5"></a><!-- doxytag: member="FCDGeometry::GetMesh" ref="cf98b948f99bb3f83cb6c09db05877b5" args="()" --><p>
280<table class="mdTable" cellpadding="2" cellspacing="0">
281  <tr>
282    <td class="mdRow">
283      <table cellpadding="0" cellspacing="0" border="0">
284        <tr>
285          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>* FCDGeometry::GetMesh           </td>
286          <td class="md" valign="top">(&nbsp;</td>
287          <td class="mdname1" valign="top" nowrap>          </td>
288          <td class="md" valign="top">&nbsp;)&nbsp;</td>
289          <td class="md" nowrap><code> [inline]</code></td>
290        </tr>
291      </table>
292    </td>
293  </tr>
294</table>
295<table cellspacing="5" cellpadding="0" border="0">
296  <tr>
297    <td>
298      &nbsp;
299    </td>
300    <td>
301
302<p>
303Retrieves the mesh information structure for this geometry.
304<p>
305Verify that this geometry is a mesh using the IsMesh function prior to calling this function. <dl compact><dt><b>Returns:</b></dt><dd>The mesh information structure. This pointer will be NULL when the geometry is a spline or is undefined. </dd></dl>
306    </td>
307  </tr>
308</table>
309<a class="anchor" name="e0e0c4d96306a22cc89682058cbe95c0"></a><!-- doxytag: member="FCDGeometry::GetSpline" ref="e0e0c4d96306a22cc89682058cbe95c0" args="()" --><p>
310<table class="mdTable" cellpadding="2" cellspacing="0">
311  <tr>
312    <td class="mdRow">
313      <table cellpadding="0" cellspacing="0" border="0">
314        <tr>
315          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_spline.html">FCDGeometrySpline</a>* FCDGeometry::GetSpline           </td>
316          <td class="md" valign="top">(&nbsp;</td>
317          <td class="mdname1" valign="top" nowrap>          </td>
318          <td class="md" valign="top">&nbsp;)&nbsp;</td>
319          <td class="md" nowrap><code> [inline]</code></td>
320        </tr>
321      </table>
322    </td>
323  </tr>
324</table>
325<table cellspacing="5" cellpadding="0" border="0">
326  <tr>
327    <td>
328      &nbsp;
329    </td>
330    <td>
331
332<p>
333Retrieves the spline information structure for this geometry.
334<p>
335Verify that this geometry is a spline using the IsSpline function prior to calling this function. <dl compact><dt><b>Returns:</b></dt><dd>The spline information structure. This pointer will be NULL when the geometry is a mesh or is undefined. </dd></dl>
336    </td>
337  </tr>
338</table>
339<a class="anchor" name="220b50045d5a815dce0c1be69e06f926"></a><!-- doxytag: member="FCDGeometry::GetType" ref="220b50045d5a815dce0c1be69e06f926" args="() const " --><p>
340<table class="mdTable" cellpadding="2" cellspacing="0">
341  <tr>
342    <td class="mdRow">
343      <table cellpadding="0" cellspacing="0" border="0">
344        <tr>
345          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_c_d_entity.html#9301a4bd5f4d4190ec13e40db4effdd7">Type</a> FCDGeometry::GetType           </td>
346          <td class="md" valign="top">(&nbsp;</td>
347          <td class="mdname1" valign="top" nowrap>          </td>
348          <td class="md" valign="top">&nbsp;)&nbsp;</td>
349          <td class="md" nowrap> const<code> [inline, virtual]</code></td>
350        </tr>
351      </table>
352    </td>
353  </tr>
354</table>
355<table cellspacing="5" cellpadding="0" border="0">
356  <tr>
357    <td>
358      &nbsp;
359    </td>
360    <td>
361
362<p>
363Retrieves the entity class type.
364<p>
365This function is a part of the <a class="el" href="class_f_c_d_entity.html">FCDEntity</a> interface. <dl compact><dt><b>Returns:</b></dt><dd>The entity class type: GEOMETRY. </dd></dl>
366
367<p>
368Reimplemented from <a class="el" href="class_f_c_d_entity.html#bfd4312a7124f92364c1e6517c7e60ba">FCDEntity</a>.    </td>
369  </tr>
370</table>
371<a class="anchor" name="2c8f918ca0734d57fc32f7b06ba2dcd1"></a><!-- doxytag: member="FCDGeometry::IsMesh" ref="2c8f918ca0734d57fc32f7b06ba2dcd1" args="() const " --><p>
372<table class="mdTable" cellpadding="2" cellspacing="0">
373  <tr>
374    <td class="mdRow">
375      <table cellpadding="0" cellspacing="0" border="0">
376        <tr>
377          <td class="md" nowrap valign="top">bool FCDGeometry::IsMesh           </td>
378          <td class="md" valign="top">(&nbsp;</td>
379          <td class="mdname1" valign="top" nowrap>          </td>
380          <td class="md" valign="top">&nbsp;)&nbsp;</td>
381          <td class="md" nowrap> const<code> [inline]</code></td>
382        </tr>
383      </table>
384    </td>
385  </tr>
386</table>
387<table cellspacing="5" cellpadding="0" border="0">
388  <tr>
389    <td>
390      &nbsp;
391    </td>
392    <td>
393
394<p>
395Retrieves whether the type of this geometry is a mesh.
396<p>
397<dl compact><dt><b>Returns:</b></dt><dd>Whether this geometry is a mesh. </dd></dl>
398    </td>
399  </tr>
400</table>
401<a class="anchor" name="939f0b6f72a6178fc38d8c09d2b4c5e2"></a><!-- doxytag: member="FCDGeometry::IsSpline" ref="939f0b6f72a6178fc38d8c09d2b4c5e2" args="() const " --><p>
402<table class="mdTable" cellpadding="2" cellspacing="0">
403  <tr>
404    <td class="mdRow">
405      <table cellpadding="0" cellspacing="0" border="0">
406        <tr>
407          <td class="md" nowrap valign="top">bool FCDGeometry::IsSpline           </td>
408          <td class="md" valign="top">(&nbsp;</td>
409          <td class="mdname1" valign="top" nowrap>          </td>
410          <td class="md" valign="top">&nbsp;)&nbsp;</td>
411          <td class="md" nowrap> const<code> [inline]</code></td>
412        </tr>
413      </table>
414    </td>
415  </tr>
416</table>
417<table cellspacing="5" cellpadding="0" border="0">
418  <tr>
419    <td>
420      &nbsp;
421    </td>
422    <td>
423
424<p>
425Retrieves whether the type of this geometry is a spline.
426<p>
427<dl compact><dt><b>Returns:</b></dt><dd>Whether this geometry is a spline. </dd></dl>
428    </td>
429  </tr>
430</table>
431<a class="anchor" name="92a713bfe6e15e1629047007db7ad755"></a><!-- doxytag: member="FCDGeometry::LoadFromXML" ref="92a713bfe6e15e1629047007db7ad755" args="(xmlNode *node)" --><p>
432<table class="mdTable" cellpadding="2" cellspacing="0">
433  <tr>
434    <td class="mdRow">
435      <table cellpadding="0" cellspacing="0" border="0">
436        <tr>
437          <td class="md" nowrap valign="top">virtual <a class="el" href="class_f_u_status.html">FUStatus</a> FCDGeometry::LoadFromXML           </td>
438          <td class="md" valign="top">(&nbsp;</td>
439          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
440          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
441          <td class="md" valign="top">&nbsp;)&nbsp;</td>
442          <td class="md" nowrap><code> [virtual]</code></td>
443        </tr>
444      </table>
445    </td>
446  </tr>
447</table>
448<table cellspacing="5" cellpadding="0" border="0">
449  <tr>
450    <td>
451      &nbsp;
452    </td>
453    <td>
454
455<p>
456[INTERNAL] Reads in the &lt;geometry&gt; element from a given COLLADA XML tree node.
457<p>
458<dl compact><dt><b>Parameters:</b></dt><dd>
459  <table border="0" cellspacing="2" cellpadding="0">
460    <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>The COLLADA XML tree node. </td></tr>
461  </table>
462</dl>
463<dl compact><dt><b>Returns:</b></dt><dd>The status of the import. If the status is not successful, it may be dangerous to extract information from the geometry. </dd></dl>
464
465<p>
466Reimplemented from <a class="el" href="class_f_c_d_entity.html#8e32fcc93de76acc4b606db7b5b83890">FCDEntity</a>.    </td>
467  </tr>
468</table>
469<a class="anchor" name="86db49ab6648957309de6db9581981c1"></a><!-- doxytag: member="FCDGeometry::WriteToXML" ref="86db49ab6648957309de6db9581981c1" args="(xmlNode *parentNode) const " --><p>
470<table class="mdTable" cellpadding="2" cellspacing="0">
471  <tr>
472    <td class="mdRow">
473      <table cellpadding="0" cellspacing="0" border="0">
474        <tr>
475          <td class="md" nowrap valign="top">virtual xmlNode* FCDGeometry::WriteToXML           </td>
476          <td class="md" valign="top">(&nbsp;</td>
477          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
478          <td class="mdname1" valign="top" nowrap> <em>parentNode</em>          </td>
479          <td class="md" valign="top">&nbsp;)&nbsp;</td>
480          <td class="md" nowrap> const<code> [virtual]</code></td>
481        </tr>
482      </table>
483    </td>
484  </tr>
485</table>
486<table cellspacing="5" cellpadding="0" border="0">
487  <tr>
488    <td>
489      &nbsp;
490    </td>
491    <td>
492
493<p>
494[INTERNAL] Writes out the &lt;geometry&gt; element to the given COLLADA XML tree node.
495<p>
496<dl compact><dt><b>Parameters:</b></dt><dd>
497  <table border="0" cellspacing="2" cellpadding="0">
498    <tr><td valign="top"></td><td valign="top"><em>parentNode</em>&nbsp;</td><td>The COLLADA XML parent node in which to insert the geometry information. </td></tr>
499  </table>
500</dl>
501<dl compact><dt><b>Returns:</b></dt><dd>The created &lt;geometry&gt; element XML tree node. </dd></dl>
502
503<p>
504Reimplemented from <a class="el" href="class_f_c_d_entity.html#b27f0c175c3f8fd7064cde48bcf1d7a0">FCDEntity</a>.    </td>
505  </tr>
506</table>
507<hr>The documentation for this class was generated from the following file:<ul>
508<li>FCDocument/<a class="el" href="_f_c_d_geometry_8h-source.html">FCDGeometry.h</a></ul>
509<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:42 2006 for FCollada by&nbsp;
510<a href="http://www.doxygen.org/index.html">
511<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
512</body>
513</html>
Note: See TracBrowser for help on using the repository browser.