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

Revision 964, 79.2 KB checked in by igarcia, 19 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: FCDGeometryPolygons 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>FCDGeometryPolygons 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="FCDGeometryPolygons" --><!-- doxytag: inherits="FCDObject" -->A mesh polygon set. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_c_d_geometry_polygons_8h-source.html">FCDGeometryPolygons.h</a>&gt;</code>
31<p>
32<p>Inheritance diagram for FCDGeometryPolygons:
33<p><center><img src="class_f_c_d_geometry_polygons.png" usemap="#FCDGeometryPolygons_map" border="0" alt=""></center>
34<map name="FCDGeometryPolygons_map">
35<area href="class_f_c_d_object.html" alt="FCDObject" shape="rect" coords="0,56,144,80">
36<area href="class_f_u_object.html" alt="FUObject" shape="rect" coords="0,0,144,24">
37</map>
38<a href="class_f_c_d_geometry_polygons-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
39<tr><td></td></tr>
40<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
41<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_polygons.html#4c56f499ac09bcf2cd144c2848a0a08b">FCDGeometryPolygons</a> (<a class="el" href="class_f_c_document.html">FCDocument</a> *document, <a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a> *parent)</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor: do not use directly.  <a href="#4c56f499ac09bcf2cd144c2848a0a08b"></a><br></td></tr>
44<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_polygons.html#aafb987c6803ad611c95594f8a2a0bee">~FCDGeometryPolygons</a> ()</td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor: do not use directly.  <a href="#aafb987c6803ad611c95594f8a2a0bee"></a><br></td></tr>
47<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_polygons.html#734b90161e968c1e35e1349d60b399be">GetParent</a> ()</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the geometry that contains this polygons.  <a href="#734b90161e968c1e35e1349d60b399be"></a><br></td></tr>
50<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bcd0f7f55db3017bb4b5fbc3dff037e4"></a><!-- doxytag: member="FCDGeometryPolygons::GetParent" ref="bcd0f7f55db3017bb4b5fbc3dff037e4" args="() const " -->
51const <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_polygons.html#bcd0f7f55db3017bb4b5fbc3dff037e4">GetParent</a> () const </td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
54<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classvector.html">UInt32List</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#a843e54479020d271c15c5b7b6e28ac4">GetFaceVertexCounts</a> () const </td></tr>
55
56<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the list of face-vertex counts.  <a href="#a843e54479020d271c15c5b7b6e28ac4"></a><br></td></tr>
57<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#3fae32cddb26fdda38ed0780742994f5">GetHoleCount</a> () const </td></tr>
58
59<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of holes within the faces of the polygon set.  <a href="#3fae32cddb26fdda38ed0780742994f5"></a><br></td></tr>
60<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#8c3d81ca40de775180955f60136443be">GetFaceCount</a> () const </td></tr>
61
62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of faces within the polygon set.  <a href="#8c3d81ca40de775180955f60136443be"></a><br></td></tr>
63<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#5030ae9c26ce1a0eb657b1e9c407d095">GetFaceOffset</a> () const </td></tr>
64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of faces which appear before this polygon set within the geometric mesh.  <a href="#5030ae9c26ce1a0eb657b1e9c407d095"></a><br></td></tr>
66<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#d1d7724ee2ad523c046daf1578a02c41">GetFaceVertexCount</a> () const </td></tr>
67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the total number of face-vertex pairs within the polygon set.  <a href="#d1d7724ee2ad523c046daf1578a02c41"></a><br></td></tr>
69<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#98f523078342d14909b6ff313fbc4a43">GetFaceVertexCount</a> (size_t index) const </td></tr>
70
71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of face-vertex pairs for a given face.  <a href="#98f523078342d14909b6ff313fbc4a43"></a><br></td></tr>
72<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#3ca276bbd62799974de70225f8394ec2">GetFaceVertexOffset</a> () const </td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the total number of face-vertex pairs which appear before this polygon set within the geometric mesh.  <a href="#3ca276bbd62799974de70225f8394ec2"></a><br></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#0e095e2198011c34314770ecc0cdfe77">GetHoleOffset</a> () const </td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of holes which appear before this polygon set.  <a href="#0e095e2198011c34314770ecc0cdfe77"></a><br></td></tr>
78<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#83acf657c7b5fdc3757cdfb20a404318">GetFaceVertexOffset</a> (size_t index) const </td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of face-vertex pairs which appear before a given face within the polygon set.  <a href="#83acf657c7b5fdc3757cdfb20a404318"></a><br></td></tr>
81<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#f074c0123e8361063135c9454404d006">SetFaceOffset</a> (size_t offset)</td></tr>
82
83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Sets the number of faces in previous polygon sets.  <a href="#f074c0123e8361063135c9454404d006"></a><br></td></tr>
84<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#591b64e48b4fc166e14eb4489bc1814c">SetFaceVertexOffset</a> (size_t offset)</td></tr>
85
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Sets the number of face-vertex pairs in previous polygon sets.  <a href="#591b64e48b4fc166e14eb4489bc1814c"></a><br></td></tr>
87<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#de33e2cbf8a9eddd93803dc142077821">SetHoleOffset</a> (size_t offset)</td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Sets the number of holes in previous polygon sets.  <a href="#de33e2cbf8a9eddd93803dc142077821"></a><br></td></tr>
90<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#9e578e49c066fc57e5f74a62ecd1b104">AddFace</a> (uint32 degree)</td></tr>
91
92<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new face.  <a href="#9e578e49c066fc57e5f74a62ecd1b104"></a><br></td></tr>
93<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#e8e0ee226f5f038151c0eb383ab4a9cd">RemoveFace</a> (size_t index)</td></tr>
94
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a face.  <a href="#e8e0ee226f5f038151c0eb383ab4a9cd"></a><br></td></tr>
96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">FCDGeometryPolygonsInputList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#466da9e6c092ff6b04e6418792dc9921">GetInputs</a> ()</td></tr>
97
98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the list of polygon set inputs.  <a href="#466da9e6c092ff6b04e6418792dc9921"></a><br></td></tr>
99<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8746b57fa7ec9205a9e9399cf3a38643"></a><!-- doxytag: member="FCDGeometryPolygons::GetInputs" ref="8746b57fa7ec9205a9e9399cf3a38643" args="() const " -->
100const <a class="el" href="classvector.html">FCDGeometryPolygonsInputList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#8746b57fa7ec9205a9e9399cf3a38643">GetInputs</a> () const </td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
103<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#c74a72265b15e81bb947bf41228e722b">GetInputCount</a> () const </td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of polygon set inputs.  <a href="#c74a72265b15e81bb947bf41228e722b"></a><br></td></tr>
106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#e94dd6808541c432efe36603a29829a1">GetInput</a> (size_t index)</td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves a specific polygon set input.  <a href="#e94dd6808541c432efe36603a29829a1"></a><br></td></tr>
109<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9454a8d2242abcd8e24006fe9f2a5fe"></a><!-- doxytag: member="FCDGeometryPolygons::GetInput" ref="a9454a8d2242abcd8e24006fe9f2a5fe" args="(size_t index) const " -->
110const <a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#a9454a8d2242abcd8e24006fe9f2a5fe">GetInput</a> (size_t index) const </td></tr>
111
112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
113<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#688c476523942e04d2b70e1d77630cd0">AddInput</a> (<a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *source, uint32 offset)</td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new polygon set input.  <a href="#688c476523942e04d2b70e1d77630cd0"></a><br></td></tr>
116<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#316e85d64c61b438023941fe506b6b9d">ReleaseInput</a> (<a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *input)</td></tr>
117
118<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes a polygon set input.  <a href="#316e85d64c61b438023941fe506b6b9d"></a><br></td></tr>
119<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classvector.html">UInt32List</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#e15537a5535b82085550ef471d633aec">GetHoleFaces</a> () const </td></tr>
120
121<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the list of entries within the face-vertex count list that are considered holes.  <a href="#e15537a5535b82085550ef471d633aec"></a><br></td></tr>
122<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#85b525e0279d57163aad34a55351c712">GetHoleCountBefore</a> (size_t index) const </td></tr>
123
124<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of holes within faces of the polygon set that appear before the given face index.  <a href="#85b525e0279d57163aad34a55351c712"></a><br></td></tr>
125<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#58580909c79acac0342ac8b000b1d125">GetHoleCount</a> (size_t index) const </td></tr>
126
127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the number of holes within a given face.  <a href="#58580909c79acac0342ac8b000b1d125"></a><br></td></tr>
128<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#acd4feab6b8f68030a2a391bcdc3129c">FindInput</a> (FUDaeGeometryInput::Semantic semantic)</td></tr>
129
130<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the first polygon set input found that has the given data type.  <a href="#acd4feab6b8f68030a2a391bcdc3129c"></a><br></td></tr>
131<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f037e8b1004558db5ed9cd61b6701168"></a><!-- doxytag: member="FCDGeometryPolygons::FindInput" ref="f037e8b1004558db5ed9cd61b6701168" args="(FUDaeGeometryInput::Semantic semantic) const " -->
132const <a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#f037e8b1004558db5ed9cd61b6701168">FindInput</a> (FUDaeGeometryInput::Semantic semantic) const </td></tr>
133
134<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
135<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#63c2fe6bc9ad6fcea24f704db7075236">FindInput</a> (<a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *source)</td></tr>
136
137<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the polygon set input that points towards a given data source.  <a href="#63c2fe6bc9ad6fcea24f704db7075236"></a><br></td></tr>
138<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b0d2571e2b8157eceac4a0f3f36cdea"></a><!-- doxytag: member="FCDGeometryPolygons::FindInput" ref="0b0d2571e2b8157eceac4a0f3f36cdea" args="(const FCDGeometrySource *source) const " -->
139const <a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#0b0d2571e2b8157eceac4a0f3f36cdea">FindInput</a> (const <a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *source) const </td></tr>
140
141<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
142<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#74e904235b7ec29e928d271c7c91fa29">FindInput</a> (const string &amp;sourceId)</td></tr>
143
144<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Retrieves the polygon set input that points towards a given data source.  <a href="#74e904235b7ec29e928d271c7c91fa29"></a><br></td></tr>
145<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#5a10d70c6f4de95aeb1e2cc99971bfa4">FindInputs</a> (FUDaeGeometryInput::Semantic semantic, <a class="el" href="classvector.html">FCDGeometryPolygonsInputList</a> &amp;inputs)</td></tr>
146
147<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves all the polygon set inputs that have the given data type.  <a href="#5a10d70c6f4de95aeb1e2cc99971bfa4"></a><br></td></tr>
148<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">UInt32List</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#69a1525164cea2971228fab331a91e2e">FindIndicesForIdx</a> (uint32 idx)</td></tr>
149
150<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the tessellation indices for a given polygon set input offset.  <a href="#69a1525164cea2971228fab331a91e2e"></a><br></td></tr>
151<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="335e737e6688b047715284215f1cb46d"></a><!-- doxytag: member="FCDGeometryPolygons::FindIndicesForIdx" ref="335e737e6688b047715284215f1cb46d" args="(uint32 idx) const " -->
152const <a class="el" href="classvector.html">UInt32List</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#335e737e6688b047715284215f1cb46d">FindIndicesForIdx</a> (uint32 idx) const </td></tr>
153
154<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
155<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">UInt32List</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#16c8a5e9286e098a0ccc4b9237114354">FindIndices</a> (<a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *source)</td></tr>
156
157<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the first tessellation index list for a given data source.  <a href="#16c8a5e9286e098a0ccc4b9237114354"></a><br></td></tr>
158<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0b960d8f831659add664a0bb21f52d7a"></a><!-- doxytag: member="FCDGeometryPolygons::FindIndices" ref="0b960d8f831659add664a0bb21f52d7a" args="(const FCDGeometrySource *source) const " -->
159const <a class="el" href="classvector.html">UInt32List</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#0b960d8f831659add664a0bb21f52d7a">FindIndices</a> (const <a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *source) const </td></tr>
160
161<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
162<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classvector.html">UInt32List</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#7137576de2e3fc175eb088965f539e63">FindIndices</a> (<a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *input)</td></tr>
163
164<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the tessellation indices for a given polygon set input.  <a href="#7137576de2e3fc175eb088965f539e63"></a><br></td></tr>
165<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c7df37822bf69c4d8a091f8981e7bb0"></a><!-- doxytag: member="FCDGeometryPolygons::FindIndices" ref="0c7df37822bf69c4d8a091f8981e7bb0" args="(const FCDGeometryPolygonsInput *input) const " -->
166const <a class="el" href="classvector.html">UInt32List</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#0c7df37822bf69c4d8a091f8981e7bb0">FindIndices</a> (const <a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *input) const </td></tr>
167
168<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
169<tr><td class="memItemLeft" nowrap align="right" valign="top">const fstring &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#12d1469fd0d4cc0a0275c6290ed50afa">GetMaterialSemantic</a> () const </td></tr>
170
171<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the symbolic name for the material used on this polygon set.  <a href="#12d1469fd0d4cc0a0275c6290ed50afa"></a><br></td></tr>
172<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#72dfb0d4aa1cbbb5c488483b53eee1d2">SetMaterialSemantic</a> (const fchar *semantic)</td></tr>
173
174<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets a symbolic name for the material used on this polygon set.  <a href="#72dfb0d4aa1cbbb5c488483b53eee1d2"></a><br></td></tr>
175<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a311b07a2317dd9414f06a262cfab631"></a><!-- doxytag: member="FCDGeometryPolygons::SetMaterialSemantic" ref="a311b07a2317dd9414f06a262cfab631" args="(const fstring &amp;semantic)" -->
176void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#a311b07a2317dd9414f06a262cfab631">SetMaterialSemantic</a> (const fstring &amp;semantic)</td></tr>
177
178<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
179<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#0758c571a1c620d8e2a924448f805ac7">Triangulate</a> ()</td></tr>
180
181<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Triangulates the polygon set.  <a href="#0758c571a1c620d8e2a924448f805ac7"></a><br></td></tr>
182<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa536fd31b6ec7c5b581cba2c155beb6"></a><!-- doxytag: member="FCDGeometryPolygons::Recalculate" ref="aa536fd31b6ec7c5b581cba2c155beb6" args="()" -->
183void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#aa536fd31b6ec7c5b581cba2c155beb6">Recalculate</a> ()</td></tr>
184
185<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Recalculates the buffered offset and count values for this polygon set. <br></td></tr>
186<tr><td class="memItemLeft" nowrap align="right" valign="top"><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_polygons.html#832cac436a8d0d1d0ab45b690e32dcf8">LoadFromXML</a> (xmlNode *polygonNode)</td></tr>
187
188<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Reads in the polygon set element from a given COLLADA XML tree node.  <a href="#832cac436a8d0d1d0ab45b690e32dcf8"></a><br></td></tr>
189<tr><td class="memItemLeft" nowrap align="right" valign="top">xmlNode *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#05bef88033951f8b96f55cf8af71a338">WriteToXML</a> (xmlNode *parentNode) const </td></tr>
190
191<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Writes out the correct polygon set element to the given COLLADA XML tree node.  <a href="#05bef88033951f8b96f55cf8af71a338"></a><br></td></tr>
192<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_polygons.html">FCDGeometryPolygons</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons.html#32ce8da74e129b1013b0bac20e441a4e">Clone</a> (<a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a> *cloneParent)</td></tr>
193
194<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Creates a copy of this mesh.  <a href="#32ce8da74e129b1013b0bac20e441a4e"></a><br></td></tr>
195</table>
196<hr><a name="_details"></a><h2>Detailed Description</h2>
197A mesh polygon set.
198<p>
199Each polygon set contains a list of inputs and the tessellation information to make polygons out of the data and indices of the input. <a class="el" href="namespace_f_collada.html">FCollada</a> supports triangle lists as well as polygon lists and lists of polygons with holes. This implies that each face has an undeterminate number of vertices. The tessellation information creates polygons, but may also creates holes within the polygons.
200<p>
201<hr><h2>Constructor &amp; Destructor Documentation</h2>
202<a class="anchor" name="4c56f499ac09bcf2cd144c2848a0a08b"></a><!-- doxytag: member="FCDGeometryPolygons::FCDGeometryPolygons" ref="4c56f499ac09bcf2cd144c2848a0a08b" args="(FCDocument *document, FCDGeometryMesh *parent)" --><p>
203<table class="mdTable" cellpadding="2" cellspacing="0">
204  <tr>
205    <td class="mdRow">
206      <table cellpadding="0" cellspacing="0" border="0">
207        <tr>
208          <td class="md" nowrap valign="top">FCDGeometryPolygons::FCDGeometryPolygons           </td>
209          <td class="md" valign="top">(&nbsp;</td>
210          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_document.html">FCDocument</a> *&nbsp;</td>
211          <td class="mdname" nowrap> <em>document</em>, </td>
212        </tr>
213        <tr>
214          <td class="md" nowrap align="right"></td>
215          <td class="md"></td>
216          <td class="md" nowrap><a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a> *&nbsp;</td>
217          <td class="mdname" nowrap> <em>parent</em></td>
218        </tr>
219        <tr>
220          <td class="md"></td>
221          <td class="md">)&nbsp;</td>
222          <td class="md" colspan="2"></td>
223        </tr>
224      </table>
225    </td>
226  </tr>
227</table>
228<table cellspacing="5" cellpadding="0" border="0">
229  <tr>
230    <td>
231      &nbsp;
232    </td>
233    <td>
234
235<p>
236Constructor: do not use directly.
237<p>
238Instead, use the <a class="el" href="class_f_c_d_geometry_mesh.html#01b330b011b612fa003d525d4090323c">FCDGeometryMesh::AddPolygons</a> function to create new polygon sets. <dl compact><dt><b>Parameters:</b></dt><dd>
239  <table border="0" cellspacing="2" cellpadding="0">
240    <tr><td valign="top"></td><td valign="top"><em>document</em>&nbsp;</td><td>The COLLADA document which owns this polygon set. </td></tr>
241    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>The geometric mesh which contains this polygon set. </td></tr>
242  </table>
243</dl>
244    </td>
245  </tr>
246</table>
247<a class="anchor" name="aafb987c6803ad611c95594f8a2a0bee"></a><!-- doxytag: member="FCDGeometryPolygons::~FCDGeometryPolygons" ref="aafb987c6803ad611c95594f8a2a0bee" args="()" --><p>
248<table class="mdTable" cellpadding="2" cellspacing="0">
249  <tr>
250    <td class="mdRow">
251      <table cellpadding="0" cellspacing="0" border="0">
252        <tr>
253          <td class="md" nowrap valign="top">virtual FCDGeometryPolygons::~FCDGeometryPolygons           </td>
254          <td class="md" valign="top">(&nbsp;</td>
255          <td class="mdname1" valign="top" nowrap>          </td>
256          <td class="md" valign="top">&nbsp;)&nbsp;</td>
257          <td class="md" nowrap><code> [virtual]</code></td>
258        </tr>
259      </table>
260    </td>
261  </tr>
262</table>
263<table cellspacing="5" cellpadding="0" border="0">
264  <tr>
265    <td>
266      &nbsp;
267    </td>
268    <td>
269
270<p>
271Destructor: do not use directly.
272<p>
273The mesh which contains this polygon set will handle its release.     </td>
274  </tr>
275</table>
276<hr><h2>Member Function Documentation</h2>
277<a class="anchor" name="9e578e49c066fc57e5f74a62ecd1b104"></a><!-- doxytag: member="FCDGeometryPolygons::AddFace" ref="9e578e49c066fc57e5f74a62ecd1b104" args="(uint32 degree)" --><p>
278<table class="mdTable" cellpadding="2" cellspacing="0">
279  <tr>
280    <td class="mdRow">
281      <table cellpadding="0" cellspacing="0" border="0">
282        <tr>
283          <td class="md" nowrap valign="top">void FCDGeometryPolygons::AddFace           </td>
284          <td class="md" valign="top">(&nbsp;</td>
285          <td class="md" nowrap valign="top">uint32&nbsp;</td>
286          <td class="mdname1" valign="top" nowrap> <em>degree</em>          </td>
287          <td class="md" valign="top">&nbsp;)&nbsp;</td>
288          <td class="md" nowrap></td>
289        </tr>
290      </table>
291    </td>
292  </tr>
293</table>
294<table cellspacing="5" cellpadding="0" border="0">
295  <tr>
296    <td>
297      &nbsp;
298    </td>
299    <td>
300
301<p>
302Creates a new face.
303<p>
304Enough indices to fill the face will be added to the polygon set inputs: you will want to overwrite those, as they will all be set to zero. <dl compact><dt><b>Parameters:</b></dt><dd>
305  <table border="0" cellspacing="2" cellpadding="0">
306    <tr><td valign="top"></td><td valign="top"><em>degree</em>&nbsp;</td><td>The degree of the polygon. This number implies the number of indices that will be expected, in order, within each of the input index lists. </td></tr>
307  </table>
308</dl>
309    </td>
310  </tr>
311</table>
312<a class="anchor" name="688c476523942e04d2b70e1d77630cd0"></a><!-- doxytag: member="FCDGeometryPolygons::AddInput" ref="688c476523942e04d2b70e1d77630cd0" args="(FCDGeometrySource *source, uint32 offset)" --><p>
313<table class="mdTable" cellpadding="2" cellspacing="0">
314  <tr>
315    <td class="mdRow">
316      <table cellpadding="0" cellspacing="0" border="0">
317        <tr>
318          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a>* FCDGeometryPolygons::AddInput           </td>
319          <td class="md" valign="top">(&nbsp;</td>
320          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *&nbsp;</td>
321          <td class="mdname" nowrap> <em>source</em>, </td>
322        </tr>
323        <tr>
324          <td class="md" nowrap align="right"></td>
325          <td class="md"></td>
326          <td class="md" nowrap>uint32&nbsp;</td>
327          <td class="mdname" nowrap> <em>offset</em></td>
328        </tr>
329        <tr>
330          <td class="md"></td>
331          <td class="md">)&nbsp;</td>
332          <td class="md" colspan="2"></td>
333        </tr>
334      </table>
335    </td>
336  </tr>
337</table>
338<table cellspacing="5" cellpadding="0" border="0">
339  <tr>
340    <td>
341      &nbsp;
342    </td>
343    <td>
344
345<p>
346Creates a new polygon set input.
347<p>
348<dl compact><dt><b>Parameters:</b></dt><dd>
349  <table border="0" cellspacing="2" cellpadding="0">
350    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The data source for the polygon set input. </td></tr>
351    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>The tessellation indices offset for the polygon set input. If this value is new to the list of polygon inputs, you will need to fill in the indices. Please use the FindIndices function to verify that the offset is new and that indices need to be provided. The offset of zero is reserved for per-vertex data sources. </td></tr>
352  </table>
353</dl>
354<dl compact><dt><b>Returns:</b></dt><dd>The new polygon set input. </dd></dl>
355    </td>
356  </tr>
357</table>
358<a class="anchor" name="32ce8da74e129b1013b0bac20e441a4e"></a><!-- doxytag: member="FCDGeometryPolygons::Clone" ref="32ce8da74e129b1013b0bac20e441a4e" args="(FCDGeometryMesh *cloneParent)" --><p>
359<table class="mdTable" cellpadding="2" cellspacing="0">
360  <tr>
361    <td class="mdRow">
362      <table cellpadding="0" cellspacing="0" border="0">
363        <tr>
364          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons.html">FCDGeometryPolygons</a>* FCDGeometryPolygons::Clone           </td>
365          <td class="md" valign="top">(&nbsp;</td>
366          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a> *&nbsp;</td>
367          <td class="mdname1" valign="top" nowrap> <em>cloneParent</em>          </td>
368          <td class="md" valign="top">&nbsp;)&nbsp;</td>
369          <td class="md" nowrap></td>
370        </tr>
371      </table>
372    </td>
373  </tr>
374</table>
375<table cellspacing="5" cellpadding="0" border="0">
376  <tr>
377    <td>
378      &nbsp;
379    </td>
380    <td>
381
382<p>
383[INTERNAL] Creates a copy of this mesh.
384<p>
385You should use the <a class="el" href="class_f_c_d_geometry.html#4e3a2616799ec7f94a81a358d2ec1eeb">FCDGeometry::Clone</a> function instead of this function. You will need to release the cloned entity. <dl compact><dt><b>Parameters:</b></dt><dd>
386  <table border="0" cellspacing="2" cellpadding="0">
387    <tr><td valign="top"></td><td valign="top"><em>cloneParent</em>&nbsp;</td><td>The geometric mesh which will contain the cloned polygon set. </td></tr>
388  </table>
389</dl>
390<dl compact><dt><b>Returns:</b></dt><dd>An identical copy of the polygon set. </dd></dl>
391    </td>
392  </tr>
393</table>
394<a class="anchor" name="7137576de2e3fc175eb088965f539e63"></a><!-- doxytag: member="FCDGeometryPolygons::FindIndices" ref="7137576de2e3fc175eb088965f539e63" args="(FCDGeometryPolygonsInput *input)" --><p>
395<table class="mdTable" cellpadding="2" cellspacing="0">
396  <tr>
397    <td class="mdRow">
398      <table cellpadding="0" cellspacing="0" border="0">
399        <tr>
400          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">UInt32List</a>* FCDGeometryPolygons::FindIndices           </td>
401          <td class="md" valign="top">(&nbsp;</td>
402          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td>
403          <td class="mdname1" valign="top" nowrap> <em>input</em>          </td>
404          <td class="md" valign="top">&nbsp;)&nbsp;</td>
405          <td class="md" nowrap></td>
406        </tr>
407      </table>
408    </td>
409  </tr>
410</table>
411<table cellspacing="5" cellpadding="0" border="0">
412  <tr>
413    <td>
414      &nbsp;
415    </td>
416    <td>
417
418<p>
419Retrieves the tessellation indices for a given polygon set input.
420<p>
421<dl compact><dt><b>Parameters:</b></dt><dd>
422  <table border="0" cellspacing="2" cellpadding="0">
423    <tr><td valign="top"></td><td valign="top"><em>input</em>&nbsp;</td><td>A given polygon set input. </td></tr>
424  </table>
425</dl>
426<dl compact><dt><b>Returns:</b></dt><dd>The tessellation indices corresponding to the polygon set input. This pointer will be NULL if the polygon set input is not used within this polygon set. </dd></dl>
427    </td>
428  </tr>
429</table>
430<a class="anchor" name="16c8a5e9286e098a0ccc4b9237114354"></a><!-- doxytag: member="FCDGeometryPolygons::FindIndices" ref="16c8a5e9286e098a0ccc4b9237114354" args="(FCDGeometrySource *source)" --><p>
431<table class="mdTable" cellpadding="2" cellspacing="0">
432  <tr>
433    <td class="mdRow">
434      <table cellpadding="0" cellspacing="0" border="0">
435        <tr>
436          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">UInt32List</a>* FCDGeometryPolygons::FindIndices           </td>
437          <td class="md" valign="top">(&nbsp;</td>
438          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *&nbsp;</td>
439          <td class="mdname1" valign="top" nowrap> <em>source</em>          </td>
440          <td class="md" valign="top">&nbsp;)&nbsp;</td>
441          <td class="md" nowrap></td>
442        </tr>
443      </table>
444    </td>
445  </tr>
446</table>
447<table cellspacing="5" cellpadding="0" border="0">
448  <tr>
449    <td>
450      &nbsp;
451    </td>
452    <td>
453
454<p>
455Retrieves the first tessellation index list for a given data source.
456<p>
457<dl compact><dt><b>Parameters:</b></dt><dd>
458  <table border="0" cellspacing="2" cellpadding="0">
459    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>A data source. </td></tr>
460  </table>
461</dl>
462<dl compact><dt><b>Returns:</b></dt><dd>The first tessellation index list corresponding to the data source. This pointer will be NULL if the data source is not used within this polygon set. </dd></dl>
463    </td>
464  </tr>
465</table>
466<a class="anchor" name="69a1525164cea2971228fab331a91e2e"></a><!-- doxytag: member="FCDGeometryPolygons::FindIndicesForIdx" ref="69a1525164cea2971228fab331a91e2e" args="(uint32 idx)" --><p>
467<table class="mdTable" cellpadding="2" cellspacing="0">
468  <tr>
469    <td class="mdRow">
470      <table cellpadding="0" cellspacing="0" border="0">
471        <tr>
472          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">UInt32List</a>* FCDGeometryPolygons::FindIndicesForIdx           </td>
473          <td class="md" valign="top">(&nbsp;</td>
474          <td class="md" nowrap valign="top">uint32&nbsp;</td>
475          <td class="mdname1" valign="top" nowrap> <em>idx</em>          </td>
476          <td class="md" valign="top">&nbsp;)&nbsp;</td>
477          <td class="md" nowrap></td>
478        </tr>
479      </table>
480    </td>
481  </tr>
482</table>
483<table cellspacing="5" cellpadding="0" border="0">
484  <tr>
485    <td>
486      &nbsp;
487    </td>
488    <td>
489
490<p>
491Retrieves the tessellation indices for a given polygon set input offset.
492<p>
493<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000013">Deprecated:</a></b></dt><dd>Instead, use the FindIndices function. </dd></dl>
494<dl compact><dt><b>Parameters:</b></dt><dd>
495  <table border="0" cellspacing="2" cellpadding="0">
496    <tr><td valign="top"></td><td valign="top"><em>idx</em>&nbsp;</td><td>A polygon set input offset. </td></tr>
497  </table>
498</dl>
499<dl compact><dt><b>Returns:</b></dt><dd>The tessellation indices corresponding to the offset. This pointer will be NULL if there are no polygon set input which uses the given offset. </dd></dl>
500    </td>
501  </tr>
502</table>
503<a class="anchor" name="74e904235b7ec29e928d271c7c91fa29"></a><!-- doxytag: member="FCDGeometryPolygons::FindInput" ref="74e904235b7ec29e928d271c7c91fa29" args="(const string &amp;sourceId)" --><p>
504<table class="mdTable" cellpadding="2" cellspacing="0">
505  <tr>
506    <td class="mdRow">
507      <table cellpadding="0" cellspacing="0" border="0">
508        <tr>
509          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a>* FCDGeometryPolygons::FindInput           </td>
510          <td class="md" valign="top">(&nbsp;</td>
511          <td class="md" nowrap valign="top">const string &amp;&nbsp;</td>
512          <td class="mdname1" valign="top" nowrap> <em>sourceId</em>          </td>
513          <td class="md" valign="top">&nbsp;)&nbsp;</td>
514          <td class="md" nowrap></td>
515        </tr>
516      </table>
517    </td>
518  </tr>
519</table>
520<table cellspacing="5" cellpadding="0" border="0">
521  <tr>
522    <td>
523      &nbsp;
524    </td>
525    <td>
526
527<p>
528[INTERNAL] Retrieves the polygon set input that points towards a given data source.
529<p>
530<dl compact><dt><b>Parameters:</b></dt><dd>
531  <table border="0" cellspacing="2" cellpadding="0">
532    <tr><td valign="top"></td><td valign="top"><em>sourceId</em>&nbsp;</td><td>The COLLADA id of a geometry data source. </td></tr>
533  </table>
534</dl>
535<dl compact><dt><b>Returns:</b></dt><dd>The polygon set input. This pointer will be NULL if no polygon set input matches the COLLADA id. </dd></dl>
536    </td>
537  </tr>
538</table>
539<a class="anchor" name="63c2fe6bc9ad6fcea24f704db7075236"></a><!-- doxytag: member="FCDGeometryPolygons::FindInput" ref="63c2fe6bc9ad6fcea24f704db7075236" args="(FCDGeometrySource *source)" --><p>
540<table class="mdTable" cellpadding="2" cellspacing="0">
541  <tr>
542    <td class="mdRow">
543      <table cellpadding="0" cellspacing="0" border="0">
544        <tr>
545          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a>* FCDGeometryPolygons::FindInput           </td>
546          <td class="md" valign="top">(&nbsp;</td>
547          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *&nbsp;</td>
548          <td class="mdname1" valign="top" nowrap> <em>source</em>          </td>
549          <td class="md" valign="top">&nbsp;)&nbsp;</td>
550          <td class="md" nowrap></td>
551        </tr>
552      </table>
553    </td>
554  </tr>
555</table>
556<table cellspacing="5" cellpadding="0" border="0">
557  <tr>
558    <td>
559      &nbsp;
560    </td>
561    <td>
562
563<p>
564Retrieves the polygon set input that points towards a given data source.
565<p>
566<dl compact><dt><b>Parameters:</b></dt><dd>
567  <table border="0" cellspacing="2" cellpadding="0">
568    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>A geometry data source. </td></tr>
569  </table>
570</dl>
571<dl compact><dt><b>Returns:</b></dt><dd>The polygon set input. This pointer will be NULL if no polygon set input matches the data source. </dd></dl>
572    </td>
573  </tr>
574</table>
575<a class="anchor" name="acd4feab6b8f68030a2a391bcdc3129c"></a><!-- doxytag: member="FCDGeometryPolygons::FindInput" ref="acd4feab6b8f68030a2a391bcdc3129c" args="(FUDaeGeometryInput::Semantic semantic)" --><p>
576<table class="mdTable" cellpadding="2" cellspacing="0">
577  <tr>
578    <td class="mdRow">
579      <table cellpadding="0" cellspacing="0" border="0">
580        <tr>
581          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a>* FCDGeometryPolygons::FindInput           </td>
582          <td class="md" valign="top">(&nbsp;</td>
583          <td class="md" nowrap valign="top">FUDaeGeometryInput::Semantic&nbsp;</td>
584          <td class="mdname1" valign="top" nowrap> <em>semantic</em>          </td>
585          <td class="md" valign="top">&nbsp;)&nbsp;</td>
586          <td class="md" nowrap></td>
587        </tr>
588      </table>
589    </td>
590  </tr>
591</table>
592<table cellspacing="5" cellpadding="0" border="0">
593  <tr>
594    <td>
595      &nbsp;
596    </td>
597    <td>
598
599<p>
600Retrieves the first polygon set input found that has the given data type.
601<p>
602<dl compact><dt><b>Parameters:</b></dt><dd>
603  <table border="0" cellspacing="2" cellpadding="0">
604    <tr><td valign="top"></td><td valign="top"><em>semantic</em>&nbsp;</td><td>A type of geometry data. </td></tr>
605  </table>
606</dl>
607<dl compact><dt><b>Returns:</b></dt><dd>The polygon set input. This pointer will be NULL if no polygon set input matches the data type. </dd></dl>
608    </td>
609  </tr>
610</table>
611<a class="anchor" name="5a10d70c6f4de95aeb1e2cc99971bfa4"></a><!-- doxytag: member="FCDGeometryPolygons::FindInputs" ref="5a10d70c6f4de95aeb1e2cc99971bfa4" args="(FUDaeGeometryInput::Semantic semantic, FCDGeometryPolygonsInputList &amp;inputs)" --><p>
612<table class="mdTable" cellpadding="2" cellspacing="0">
613  <tr>
614    <td class="mdRow">
615      <table cellpadding="0" cellspacing="0" border="0">
616        <tr>
617          <td class="md" nowrap valign="top">void FCDGeometryPolygons::FindInputs           </td>
618          <td class="md" valign="top">(&nbsp;</td>
619          <td class="md" nowrap valign="top">FUDaeGeometryInput::Semantic&nbsp;</td>
620          <td class="mdname" nowrap> <em>semantic</em>, </td>
621        </tr>
622        <tr>
623          <td class="md" nowrap align="right"></td>
624          <td class="md"></td>
625          <td class="md" nowrap><a class="el" href="classvector.html">FCDGeometryPolygonsInputList</a> &amp;&nbsp;</td>
626          <td class="mdname" nowrap> <em>inputs</em></td>
627        </tr>
628        <tr>
629          <td class="md"></td>
630          <td class="md">)&nbsp;</td>
631          <td class="md" colspan="2"></td>
632        </tr>
633      </table>
634    </td>
635  </tr>
636</table>
637<table cellspacing="5" cellpadding="0" border="0">
638  <tr>
639    <td>
640      &nbsp;
641    </td>
642    <td>
643
644<p>
645Retrieves all the polygon set inputs that have the given data type.
646<p>
647<dl compact><dt><b>Parameters:</b></dt><dd>
648  <table border="0" cellspacing="2" cellpadding="0">
649    <tr><td valign="top"></td><td valign="top"><em>semantic</em>&nbsp;</td><td>A type of geometry data. </td></tr>
650    <tr><td valign="top"></td><td valign="top"><em>inputs</em>&nbsp;</td><td>A list of polygon set inputs to fill in. This list is not emptied by the function and may remain untouched, if no polygon set input matches the given data type. </td></tr>
651  </table>
652</dl>
653    </td>
654  </tr>
655</table>
656<a class="anchor" name="8c3d81ca40de775180955f60136443be"></a><!-- doxytag: member="FCDGeometryPolygons::GetFaceCount" ref="8c3d81ca40de775180955f60136443be" args="() const " --><p>
657<table class="mdTable" cellpadding="2" cellspacing="0">
658  <tr>
659    <td class="mdRow">
660      <table cellpadding="0" cellspacing="0" border="0">
661        <tr>
662          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetFaceCount           </td>
663          <td class="md" valign="top">(&nbsp;</td>
664          <td class="mdname1" valign="top" nowrap>          </td>
665          <td class="md" valign="top">&nbsp;)&nbsp;</td>
666          <td class="md" nowrap> const<code> [inline]</code></td>
667        </tr>
668      </table>
669    </td>
670  </tr>
671</table>
672<table cellspacing="5" cellpadding="0" border="0">
673  <tr>
674    <td>
675      &nbsp;
676    </td>
677    <td>
678
679<p>
680Retrieves the number of faces within the polygon set.
681<p>
682<dl compact><dt><b>Returns:</b></dt><dd>The number of faces within the polygon set. </dd></dl>
683    </td>
684  </tr>
685</table>
686<a class="anchor" name="5030ae9c26ce1a0eb657b1e9c407d095"></a><!-- doxytag: member="FCDGeometryPolygons::GetFaceOffset" ref="5030ae9c26ce1a0eb657b1e9c407d095" args="() const " --><p>
687<table class="mdTable" cellpadding="2" cellspacing="0">
688  <tr>
689    <td class="mdRow">
690      <table cellpadding="0" cellspacing="0" border="0">
691        <tr>
692          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetFaceOffset           </td>
693          <td class="md" valign="top">(&nbsp;</td>
694          <td class="mdname1" valign="top" nowrap>          </td>
695          <td class="md" valign="top">&nbsp;)&nbsp;</td>
696          <td class="md" nowrap> const<code> [inline]</code></td>
697        </tr>
698      </table>
699    </td>
700  </tr>
701</table>
702<table cellspacing="5" cellpadding="0" border="0">
703  <tr>
704    <td>
705      &nbsp;
706    </td>
707    <td>
708
709<p>
710Retrieves the number of faces which appear before this polygon set within the geometric mesh.
711<p>
712This value is useful when traversing all the faces of a geometric mesh. <dl compact><dt><b>Returns:</b></dt><dd>The number of faces in previous polygon sets. </dd></dl>
713    </td>
714  </tr>
715</table>
716<a class="anchor" name="98f523078342d14909b6ff313fbc4a43"></a><!-- doxytag: member="FCDGeometryPolygons::GetFaceVertexCount" ref="98f523078342d14909b6ff313fbc4a43" args="(size_t index) const " --><p>
717<table class="mdTable" cellpadding="2" cellspacing="0">
718  <tr>
719    <td class="mdRow">
720      <table cellpadding="0" cellspacing="0" border="0">
721        <tr>
722          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetFaceVertexCount           </td>
723          <td class="md" valign="top">(&nbsp;</td>
724          <td class="md" nowrap valign="top">size_t&nbsp;</td>
725          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
726          <td class="md" valign="top">&nbsp;)&nbsp;</td>
727          <td class="md" nowrap> const</td>
728        </tr>
729      </table>
730    </td>
731  </tr>
732</table>
733<table cellspacing="5" cellpadding="0" border="0">
734  <tr>
735    <td>
736      &nbsp;
737    </td>
738    <td>
739
740<p>
741Retrieves the number of face-vertex pairs for a given face.
742<p>
743This value includes face-vertex pairs that create the polygon and its holes. <dl compact><dt><b>Parameters:</b></dt><dd>
744  <table border="0" cellspacing="2" cellpadding="0">
745    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>A face index. </td></tr>
746  </table>
747</dl>
748<dl compact><dt><b>Returns:</b></dt><dd>The number of face-vertex pairs for a given face. </dd></dl>
749    </td>
750  </tr>
751</table>
752<a class="anchor" name="d1d7724ee2ad523c046daf1578a02c41"></a><!-- doxytag: member="FCDGeometryPolygons::GetFaceVertexCount" ref="d1d7724ee2ad523c046daf1578a02c41" args="() const " --><p>
753<table class="mdTable" cellpadding="2" cellspacing="0">
754  <tr>
755    <td class="mdRow">
756      <table cellpadding="0" cellspacing="0" border="0">
757        <tr>
758          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetFaceVertexCount           </td>
759          <td class="md" valign="top">(&nbsp;</td>
760          <td class="mdname1" valign="top" nowrap>          </td>
761          <td class="md" valign="top">&nbsp;)&nbsp;</td>
762          <td class="md" nowrap> const<code> [inline]</code></td>
763        </tr>
764      </table>
765    </td>
766  </tr>
767</table>
768<table cellspacing="5" cellpadding="0" border="0">
769  <tr>
770    <td>
771      &nbsp;
772    </td>
773    <td>
774
775<p>
776Retrieves the total number of face-vertex pairs within the polygon set.
777<p>
778This value is the total of all the values within the face-vertex count list. Do remember that the list of face-vertex pairs includes holes. <dl compact><dt><b>Returns:</b></dt><dd>The total number of face-vertex pairs within the polygon set. </dd></dl>
779    </td>
780  </tr>
781</table>
782<a class="anchor" name="a843e54479020d271c15c5b7b6e28ac4"></a><!-- doxytag: member="FCDGeometryPolygons::GetFaceVertexCounts" ref="a843e54479020d271c15c5b7b6e28ac4" args="() const " --><p>
783<table class="mdTable" cellpadding="2" cellspacing="0">
784  <tr>
785    <td class="mdRow">
786      <table cellpadding="0" cellspacing="0" border="0">
787        <tr>
788          <td class="md" nowrap valign="top">const <a class="el" href="classvector.html">UInt32List</a>&amp; FCDGeometryPolygons::GetFaceVertexCounts           </td>
789          <td class="md" valign="top">(&nbsp;</td>
790          <td class="mdname1" valign="top" nowrap>          </td>
791          <td class="md" valign="top">&nbsp;)&nbsp;</td>
792          <td class="md" nowrap> const<code> [inline]</code></td>
793        </tr>
794      </table>
795    </td>
796  </tr>
797</table>
798<table cellspacing="5" cellpadding="0" border="0">
799  <tr>
800    <td>
801      &nbsp;
802    </td>
803    <td>
804
805<p>
806Retrieves the list of face-vertex counts.
807<p>
808Each face within the polygon set has one or more entry within this list, depending on the number of holes within that face. Each face-vertex count indicates the number of ordered indices within the polygon set inputs that are used to generate a face or its holes. To find out if a face-vertex count represents a face or its holes, check the hole-faces list retrieved using the GetHoleFaces function. Indirectly, the face-vertex count indicates the degree of the polygon. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_c_d_geometry_polygons.html#e15537a5535b82085550ef471d633aec">GetHoleFaces</a><p>
809<a class="el" href="class_f_c_d_geometry_polygons.html#3fae32cddb26fdda38ed0780742994f5">GetHoleCount</a> </dd></dl>
810<dl compact><dt><b>Returns:</b></dt><dd>The list of face-vertex counts. </dd></dl>
811    </td>
812  </tr>
813</table>
814<a class="anchor" name="83acf657c7b5fdc3757cdfb20a404318"></a><!-- doxytag: member="FCDGeometryPolygons::GetFaceVertexOffset" ref="83acf657c7b5fdc3757cdfb20a404318" args="(size_t index) const " --><p>
815<table class="mdTable" cellpadding="2" cellspacing="0">
816  <tr>
817    <td class="mdRow">
818      <table cellpadding="0" cellspacing="0" border="0">
819        <tr>
820          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetFaceVertexOffset           </td>
821          <td class="md" valign="top">(&nbsp;</td>
822          <td class="md" nowrap valign="top">size_t&nbsp;</td>
823          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
824          <td class="md" valign="top">&nbsp;)&nbsp;</td>
825          <td class="md" nowrap> const</td>
826        </tr>
827      </table>
828    </td>
829  </tr>
830</table>
831<table cellspacing="5" cellpadding="0" border="0">
832  <tr>
833    <td>
834      &nbsp;
835    </td>
836    <td>
837
838<p>
839Retrieves the number of face-vertex pairs which appear before a given face within the polygon set.
840<p>
841This value is useful when doing per-vertex mesh operations within the polygon set. <dl compact><dt><b>Parameters:</b></dt><dd>
842  <table border="0" cellspacing="2" cellpadding="0">
843    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the face. </td></tr>
844  </table>
845</dl>
846<dl compact><dt><b>Returns:</b></dt><dd>The number of face-vertex pairs before the given face, within the polygon set. </dd></dl>
847    </td>
848  </tr>
849</table>
850<a class="anchor" name="3ca276bbd62799974de70225f8394ec2"></a><!-- doxytag: member="FCDGeometryPolygons::GetFaceVertexOffset" ref="3ca276bbd62799974de70225f8394ec2" args="() const " --><p>
851<table class="mdTable" cellpadding="2" cellspacing="0">
852  <tr>
853    <td class="mdRow">
854      <table cellpadding="0" cellspacing="0" border="0">
855        <tr>
856          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetFaceVertexOffset           </td>
857          <td class="md" valign="top">(&nbsp;</td>
858          <td class="mdname1" valign="top" nowrap>          </td>
859          <td class="md" valign="top">&nbsp;)&nbsp;</td>
860          <td class="md" nowrap> const<code> [inline]</code></td>
861        </tr>
862      </table>
863    </td>
864  </tr>
865</table>
866<table cellspacing="5" cellpadding="0" border="0">
867  <tr>
868    <td>
869      &nbsp;
870    </td>
871    <td>
872
873<p>
874Retrieves the total number of face-vertex pairs which appear before this polygon set within the geometric mesh.
875<p>
876This value is useful when traversing all the face-vertex pairs of a geometric mesh. <dl compact><dt><b>Returns:</b></dt><dd>The number of face-vertex pairs in previous polygon sets. </dd></dl>
877    </td>
878  </tr>
879</table>
880<a class="anchor" name="58580909c79acac0342ac8b000b1d125"></a><!-- doxytag: member="FCDGeometryPolygons::GetHoleCount" ref="58580909c79acac0342ac8b000b1d125" args="(size_t index) const " --><p>
881<table class="mdTable" cellpadding="2" cellspacing="0">
882  <tr>
883    <td class="mdRow">
884      <table cellpadding="0" cellspacing="0" border="0">
885        <tr>
886          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetHoleCount           </td>
887          <td class="md" valign="top">(&nbsp;</td>
888          <td class="md" nowrap valign="top">size_t&nbsp;</td>
889          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
890          <td class="md" valign="top">&nbsp;)&nbsp;</td>
891          <td class="md" nowrap> const</td>
892        </tr>
893      </table>
894    </td>
895  </tr>
896</table>
897<table cellspacing="5" cellpadding="0" border="0">
898  <tr>
899    <td>
900      &nbsp;
901    </td>
902    <td>
903
904<p>
905Retrieves the number of holes within a given face.
906<p>
907<dl compact><dt><b>Parameters:</b></dt><dd>
908  <table border="0" cellspacing="2" cellpadding="0">
909    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>A face index. </td></tr>
910  </table>
911</dl>
912<dl compact><dt><b>Returns:</b></dt><dd>The number of holes within the given face. </dd></dl>
913    </td>
914  </tr>
915</table>
916<a class="anchor" name="3fae32cddb26fdda38ed0780742994f5"></a><!-- doxytag: member="FCDGeometryPolygons::GetHoleCount" ref="3fae32cddb26fdda38ed0780742994f5" args="() const " --><p>
917<table class="mdTable" cellpadding="2" cellspacing="0">
918  <tr>
919    <td class="mdRow">
920      <table cellpadding="0" cellspacing="0" border="0">
921        <tr>
922          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetHoleCount           </td>
923          <td class="md" valign="top">(&nbsp;</td>
924          <td class="mdname1" valign="top" nowrap>          </td>
925          <td class="md" valign="top">&nbsp;)&nbsp;</td>
926          <td class="md" nowrap> const<code> [inline]</code></td>
927        </tr>
928      </table>
929    </td>
930  </tr>
931</table>
932<table cellspacing="5" cellpadding="0" border="0">
933  <tr>
934    <td>
935      &nbsp;
936    </td>
937    <td>
938
939<p>
940Retrieves the number of holes within the faces of the polygon set.
941<p>
942<dl compact><dt><b>Returns:</b></dt><dd>The number of holes within the faces of the polygon set. </dd></dl>
943    </td>
944  </tr>
945</table>
946<a class="anchor" name="85b525e0279d57163aad34a55351c712"></a><!-- doxytag: member="FCDGeometryPolygons::GetHoleCountBefore" ref="85b525e0279d57163aad34a55351c712" args="(size_t index) const " --><p>
947<table class="mdTable" cellpadding="2" cellspacing="0">
948  <tr>
949    <td class="mdRow">
950      <table cellpadding="0" cellspacing="0" border="0">
951        <tr>
952          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetHoleCountBefore           </td>
953          <td class="md" valign="top">(&nbsp;</td>
954          <td class="md" nowrap valign="top">size_t&nbsp;</td>
955          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
956          <td class="md" valign="top">&nbsp;)&nbsp;</td>
957          <td class="md" nowrap> const</td>
958        </tr>
959      </table>
960    </td>
961  </tr>
962</table>
963<table cellspacing="5" cellpadding="0" border="0">
964  <tr>
965    <td>
966      &nbsp;
967    </td>
968    <td>
969
970<p>
971Retrieves the number of holes within faces of the polygon set that appear before the given face index.
972<p>
973This value is useful when trying to access a specific face of a mesh, as holes and faces appear together within the face-vertex degree list. <dl compact><dt><b>Parameters:</b></dt><dd>
974  <table border="0" cellspacing="2" cellpadding="0">
975    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>A face index. </td></tr>
976  </table>
977</dl>
978<dl compact><dt><b>Returns:</b></dt><dd>The number of holes within the polygon set that appear before the given face index. </dd></dl>
979    </td>
980  </tr>
981</table>
982<a class="anchor" name="e15537a5535b82085550ef471d633aec"></a><!-- doxytag: member="FCDGeometryPolygons::GetHoleFaces" ref="e15537a5535b82085550ef471d633aec" args="() const " --><p>
983<table class="mdTable" cellpadding="2" cellspacing="0">
984  <tr>
985    <td class="mdRow">
986      <table cellpadding="0" cellspacing="0" border="0">
987        <tr>
988          <td class="md" nowrap valign="top">const <a class="el" href="classvector.html">UInt32List</a>&amp; FCDGeometryPolygons::GetHoleFaces           </td>
989          <td class="md" valign="top">(&nbsp;</td>
990          <td class="mdname1" valign="top" nowrap>          </td>
991          <td class="md" valign="top">&nbsp;)&nbsp;</td>
992          <td class="md" nowrap> const<code> [inline]</code></td>
993        </tr>
994      </table>
995    </td>
996  </tr>
997</table>
998<table cellspacing="5" cellpadding="0" border="0">
999  <tr>
1000    <td>
1001      &nbsp;
1002    </td>
1003    <td>
1004
1005<p>
1006Retrieves the list of entries within the face-vertex count list that are considered holes.
1007<p>
1008COLLADA does not support holes within holes, so each entry within this list implies a hole within the previous face. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_c_d_geometry_polygons.html#a843e54479020d271c15c5b7b6e28ac4">GetFaceVertexCounts</a> </dd></dl>
1009<dl compact><dt><b>Returns:</b></dt><dd>The list of hole entries within the face-vertex counts. </dd></dl>
1010    </td>
1011  </tr>
1012</table>
1013<a class="anchor" name="0e095e2198011c34314770ecc0cdfe77"></a><!-- doxytag: member="FCDGeometryPolygons::GetHoleOffset" ref="0e095e2198011c34314770ecc0cdfe77" args="() const " --><p>
1014<table class="mdTable" cellpadding="2" cellspacing="0">
1015  <tr>
1016    <td class="mdRow">
1017      <table cellpadding="0" cellspacing="0" border="0">
1018        <tr>
1019          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetHoleOffset           </td>
1020          <td class="md" valign="top">(&nbsp;</td>
1021          <td class="mdname1" valign="top" nowrap>          </td>
1022          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1023          <td class="md" nowrap> const<code> [inline]</code></td>
1024        </tr>
1025      </table>
1026    </td>
1027  </tr>
1028</table>
1029<table cellspacing="5" cellpadding="0" border="0">
1030  <tr>
1031    <td>
1032      &nbsp;
1033    </td>
1034    <td>
1035
1036<p>
1037Retrieves the number of holes which appear before this polygon set.
1038<p>
1039This value is useful when traversing all the face-vertex pairs of a geometric mesh.     </td>
1040  </tr>
1041</table>
1042<a class="anchor" name="e94dd6808541c432efe36603a29829a1"></a><!-- doxytag: member="FCDGeometryPolygons::GetInput" ref="e94dd6808541c432efe36603a29829a1" args="(size_t index)" --><p>
1043<table class="mdTable" cellpadding="2" cellspacing="0">
1044  <tr>
1045    <td class="mdRow">
1046      <table cellpadding="0" cellspacing="0" border="0">
1047        <tr>
1048          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a>* FCDGeometryPolygons::GetInput           </td>
1049          <td class="md" valign="top">(&nbsp;</td>
1050          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1051          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
1052          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1053          <td class="md" nowrap><code> [inline]</code></td>
1054        </tr>
1055      </table>
1056    </td>
1057  </tr>
1058</table>
1059<table cellspacing="5" cellpadding="0" border="0">
1060  <tr>
1061    <td>
1062      &nbsp;
1063    </td>
1064    <td>
1065
1066<p>
1067Retrieves a specific polygon set input.
1068<p>
1069<dl compact><dt><b>Parameters:</b></dt><dd>
1070  <table border="0" cellspacing="2" cellpadding="0">
1071    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the polygon set input. This index should not be greater than or equal to the number of polygon set inputs. </td></tr>
1072  </table>
1073</dl>
1074<dl compact><dt><b>Returns:</b></dt><dd>The specific polygon set input. This pointer will be NULL if the index is out-of-bounds. </dd></dl>
1075    </td>
1076  </tr>
1077</table>
1078<a class="anchor" name="c74a72265b15e81bb947bf41228e722b"></a><!-- doxytag: member="FCDGeometryPolygons::GetInputCount" ref="c74a72265b15e81bb947bf41228e722b" args="() const " --><p>
1079<table class="mdTable" cellpadding="2" cellspacing="0">
1080  <tr>
1081    <td class="mdRow">
1082      <table cellpadding="0" cellspacing="0" border="0">
1083        <tr>
1084          <td class="md" nowrap valign="top">size_t FCDGeometryPolygons::GetInputCount           </td>
1085          <td class="md" valign="top">(&nbsp;</td>
1086          <td class="mdname1" valign="top" nowrap>          </td>
1087          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1088          <td class="md" nowrap> const<code> [inline]</code></td>
1089        </tr>
1090      </table>
1091    </td>
1092  </tr>
1093</table>
1094<table cellspacing="5" cellpadding="0" border="0">
1095  <tr>
1096    <td>
1097      &nbsp;
1098    </td>
1099    <td>
1100
1101<p>
1102Retrieves the number of polygon set inputs.
1103<p>
1104<dl compact><dt><b>Returns:</b></dt><dd>The number of polygon set inputs. </dd></dl>
1105    </td>
1106  </tr>
1107</table>
1108<a class="anchor" name="466da9e6c092ff6b04e6418792dc9921"></a><!-- doxytag: member="FCDGeometryPolygons::GetInputs" ref="466da9e6c092ff6b04e6418792dc9921" args="()" --><p>
1109<table class="mdTable" cellpadding="2" cellspacing="0">
1110  <tr>
1111    <td class="mdRow">
1112      <table cellpadding="0" cellspacing="0" border="0">
1113        <tr>
1114          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">FCDGeometryPolygonsInputList</a>&amp; FCDGeometryPolygons::GetInputs           </td>
1115          <td class="md" valign="top">(&nbsp;</td>
1116          <td class="mdname1" valign="top" nowrap>          </td>
1117          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1118          <td class="md" nowrap><code> [inline]</code></td>
1119        </tr>
1120      </table>
1121    </td>
1122  </tr>
1123</table>
1124<table cellspacing="5" cellpadding="0" border="0">
1125  <tr>
1126    <td>
1127      &nbsp;
1128    </td>
1129    <td>
1130
1131<p>
1132Retrieves the list of polygon set inputs.
1133<p>
1134<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> </dd></dl>
1135<dl compact><dt><b>Returns:</b></dt><dd>The list of polygon set inputs. </dd></dl>
1136    </td>
1137  </tr>
1138</table>
1139<a class="anchor" name="12d1469fd0d4cc0a0275c6290ed50afa"></a><!-- doxytag: member="FCDGeometryPolygons::GetMaterialSemantic" ref="12d1469fd0d4cc0a0275c6290ed50afa" args="() const " --><p>
1140<table class="mdTable" cellpadding="2" cellspacing="0">
1141  <tr>
1142    <td class="mdRow">
1143      <table cellpadding="0" cellspacing="0" border="0">
1144        <tr>
1145          <td class="md" nowrap valign="top">const fstring&amp; FCDGeometryPolygons::GetMaterialSemantic           </td>
1146          <td class="md" valign="top">(&nbsp;</td>
1147          <td class="mdname1" valign="top" nowrap>          </td>
1148          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1149          <td class="md" nowrap> const<code> [inline]</code></td>
1150        </tr>
1151      </table>
1152    </td>
1153  </tr>
1154</table>
1155<table cellspacing="5" cellpadding="0" border="0">
1156  <tr>
1157    <td>
1158      &nbsp;
1159    </td>
1160    <td>
1161
1162<p>
1163Retrieves the symbolic name for the material used on this polygon set.
1164<p>
1165Match this symbolic name within a <a class="el" href="class_f_c_d_geometry_instance.html">FCDGeometryInstance</a> to get the correct material instance. <dl compact><dt><b>Returns:</b></dt><dd>A symbolic material name. </dd></dl>
1166    </td>
1167  </tr>
1168</table>
1169<a class="anchor" name="734b90161e968c1e35e1349d60b399be"></a><!-- doxytag: member="FCDGeometryPolygons::GetParent" ref="734b90161e968c1e35e1349d60b399be" args="()" --><p>
1170<table class="mdTable" cellpadding="2" cellspacing="0">
1171  <tr>
1172    <td class="mdRow">
1173      <table cellpadding="0" cellspacing="0" border="0">
1174        <tr>
1175          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_mesh.html">FCDGeometryMesh</a>* FCDGeometryPolygons::GetParent           </td>
1176          <td class="md" valign="top">(&nbsp;</td>
1177          <td class="mdname1" valign="top" nowrap>          </td>
1178          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1179          <td class="md" nowrap><code> [inline]</code></td>
1180        </tr>
1181      </table>
1182    </td>
1183  </tr>
1184</table>
1185<table cellspacing="5" cellpadding="0" border="0">
1186  <tr>
1187    <td>
1188      &nbsp;
1189    </td>
1190    <td>
1191
1192<p>
1193Retrieves the geometry that contains this polygons.
1194<p>
1195<dl compact><dt><b>Returns:</b></dt><dd>The parent geometry. </dd></dl>
1196    </td>
1197  </tr>
1198</table>
1199<a class="anchor" name="832cac436a8d0d1d0ab45b690e32dcf8"></a><!-- doxytag: member="FCDGeometryPolygons::LoadFromXML" ref="832cac436a8d0d1d0ab45b690e32dcf8" args="(xmlNode *polygonNode)" --><p>
1200<table class="mdTable" cellpadding="2" cellspacing="0">
1201  <tr>
1202    <td class="mdRow">
1203      <table cellpadding="0" cellspacing="0" border="0">
1204        <tr>
1205          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_status.html">FUStatus</a> FCDGeometryPolygons::LoadFromXML           </td>
1206          <td class="md" valign="top">(&nbsp;</td>
1207          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
1208          <td class="mdname1" valign="top" nowrap> <em>polygonNode</em>          </td>
1209          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1210          <td class="md" nowrap></td>
1211        </tr>
1212      </table>
1213    </td>
1214  </tr>
1215</table>
1216<table cellspacing="5" cellpadding="0" border="0">
1217  <tr>
1218    <td>
1219      &nbsp;
1220    </td>
1221    <td>
1222
1223<p>
1224[INTERNAL] Reads in the polygon set element from a given COLLADA XML tree node.
1225<p>
1226COLLADA has multiple polygon set elements. The most common ones are &lt;triangles&gt; and &lt;polylist&gt;. <dl compact><dt><b>Parameters:</b></dt><dd>
1227  <table border="0" cellspacing="2" cellpadding="0">
1228    <tr><td valign="top"></td><td valign="top"><em>polygonNode</em>&nbsp;</td><td>The COLLADA XML tree node. </td></tr>
1229  </table>
1230</dl>
1231<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 polygon set. </dd></dl>
1232    </td>
1233  </tr>
1234</table>
1235<a class="anchor" name="316e85d64c61b438023941fe506b6b9d"></a><!-- doxytag: member="FCDGeometryPolygons::ReleaseInput" ref="316e85d64c61b438023941fe506b6b9d" args="(FCDGeometryPolygonsInput *input)" --><p>
1236<table class="mdTable" cellpadding="2" cellspacing="0">
1237  <tr>
1238    <td class="mdRow">
1239      <table cellpadding="0" cellspacing="0" border="0">
1240        <tr>
1241          <td class="md" nowrap valign="top">void FCDGeometryPolygons::ReleaseInput           </td>
1242          <td class="md" valign="top">(&nbsp;</td>
1243          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_polygons_input.html">FCDGeometryPolygonsInput</a> *&nbsp;</td>
1244          <td class="mdname1" valign="top" nowrap> <em>input</em>          </td>
1245          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1246          <td class="md" nowrap></td>
1247        </tr>
1248      </table>
1249    </td>
1250  </tr>
1251</table>
1252<table cellspacing="5" cellpadding="0" border="0">
1253  <tr>
1254    <td>
1255      &nbsp;
1256    </td>
1257    <td>
1258
1259<p>
1260Deletes a polygon set input.
1261<p>
1262This function releases the memory held by the polygon set input as well as moves the indices to another polygon set input with the same offset, if the offset is re-used. <dl compact><dt><b>Parameters:</b></dt><dd>
1263  <table border="0" cellspacing="2" cellpadding="0">
1264    <tr><td valign="top"></td><td valign="top"><em>input</em>&nbsp;</td><td>The polygon set input to delete. </td></tr>
1265  </table>
1266</dl>
1267    </td>
1268  </tr>
1269</table>
1270<a class="anchor" name="e8e0ee226f5f038151c0eb383ab4a9cd"></a><!-- doxytag: member="FCDGeometryPolygons::RemoveFace" ref="e8e0ee226f5f038151c0eb383ab4a9cd" args="(size_t index)" --><p>
1271<table class="mdTable" cellpadding="2" cellspacing="0">
1272  <tr>
1273    <td class="mdRow">
1274      <table cellpadding="0" cellspacing="0" border="0">
1275        <tr>
1276          <td class="md" nowrap valign="top">void FCDGeometryPolygons::RemoveFace           </td>
1277          <td class="md" valign="top">(&nbsp;</td>
1278          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1279          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
1280          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1281          <td class="md" nowrap></td>
1282        </tr>
1283      </table>
1284    </td>
1285  </tr>
1286</table>
1287<table cellspacing="5" cellpadding="0" border="0">
1288  <tr>
1289    <td>
1290      &nbsp;
1291    </td>
1292    <td>
1293
1294<p>
1295Removes a face.
1296<p>
1297<dl compact><dt><b>Parameters:</b></dt><dd>
1298  <table border="0" cellspacing="2" cellpadding="0">
1299    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the face to remove. All the indices associated with this face will also be removed. </td></tr>
1300  </table>
1301</dl>
1302    </td>
1303  </tr>
1304</table>
1305<a class="anchor" name="f074c0123e8361063135c9454404d006"></a><!-- doxytag: member="FCDGeometryPolygons::SetFaceOffset" ref="f074c0123e8361063135c9454404d006" args="(size_t offset)" --><p>
1306<table class="mdTable" cellpadding="2" cellspacing="0">
1307  <tr>
1308    <td class="mdRow">
1309      <table cellpadding="0" cellspacing="0" border="0">
1310        <tr>
1311          <td class="md" nowrap valign="top">void FCDGeometryPolygons::SetFaceOffset           </td>
1312          <td class="md" valign="top">(&nbsp;</td>
1313          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1314          <td class="mdname1" valign="top" nowrap> <em>offset</em>          </td>
1315          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1316          <td class="md" nowrap><code> [inline]</code></td>
1317        </tr>
1318      </table>
1319    </td>
1320  </tr>
1321</table>
1322<table cellspacing="5" cellpadding="0" border="0">
1323  <tr>
1324    <td>
1325      &nbsp;
1326    </td>
1327    <td>
1328
1329<p>
1330[INTERNAL] Sets the number of faces in previous polygon sets.
1331<p>
1332Used by the <a class="el" href="class_f_c_d_geometry_mesh.html#d5227d055e5a3d1f7f0623724fab2586">FCDGeometryMesh::Recalculate</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
1333  <table border="0" cellspacing="2" cellpadding="0">
1334    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>The number of faces in previous polygon sets. </td></tr>
1335  </table>
1336</dl>
1337    </td>
1338  </tr>
1339</table>
1340<a class="anchor" name="591b64e48b4fc166e14eb4489bc1814c"></a><!-- doxytag: member="FCDGeometryPolygons::SetFaceVertexOffset" ref="591b64e48b4fc166e14eb4489bc1814c" args="(size_t offset)" --><p>
1341<table class="mdTable" cellpadding="2" cellspacing="0">
1342  <tr>
1343    <td class="mdRow">
1344      <table cellpadding="0" cellspacing="0" border="0">
1345        <tr>
1346          <td class="md" nowrap valign="top">void FCDGeometryPolygons::SetFaceVertexOffset           </td>
1347          <td class="md" valign="top">(&nbsp;</td>
1348          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1349          <td class="mdname1" valign="top" nowrap> <em>offset</em>          </td>
1350          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1351          <td class="md" nowrap><code> [inline]</code></td>
1352        </tr>
1353      </table>
1354    </td>
1355  </tr>
1356</table>
1357<table cellspacing="5" cellpadding="0" border="0">
1358  <tr>
1359    <td>
1360      &nbsp;
1361    </td>
1362    <td>
1363
1364<p>
1365[INTERNAL] Sets the number of face-vertex pairs in previous polygon sets.
1366<p>
1367Used by the <a class="el" href="class_f_c_d_geometry_mesh.html#d5227d055e5a3d1f7f0623724fab2586">FCDGeometryMesh::Recalculate</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
1368  <table border="0" cellspacing="2" cellpadding="0">
1369    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>The number of face-vertex pairs in previous polygon sets. </td></tr>
1370  </table>
1371</dl>
1372    </td>
1373  </tr>
1374</table>
1375<a class="anchor" name="de33e2cbf8a9eddd93803dc142077821"></a><!-- doxytag: member="FCDGeometryPolygons::SetHoleOffset" ref="de33e2cbf8a9eddd93803dc142077821" args="(size_t offset)" --><p>
1376<table class="mdTable" cellpadding="2" cellspacing="0">
1377  <tr>
1378    <td class="mdRow">
1379      <table cellpadding="0" cellspacing="0" border="0">
1380        <tr>
1381          <td class="md" nowrap valign="top">void FCDGeometryPolygons::SetHoleOffset           </td>
1382          <td class="md" valign="top">(&nbsp;</td>
1383          <td class="md" nowrap valign="top">size_t&nbsp;</td>
1384          <td class="mdname1" valign="top" nowrap> <em>offset</em>          </td>
1385          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1386          <td class="md" nowrap><code> [inline]</code></td>
1387        </tr>
1388      </table>
1389    </td>
1390  </tr>
1391</table>
1392<table cellspacing="5" cellpadding="0" border="0">
1393  <tr>
1394    <td>
1395      &nbsp;
1396    </td>
1397    <td>
1398
1399<p>
1400[INTERNAL] Sets the number of holes in previous polygon sets.
1401<p>
1402Used by the <a class="el" href="class_f_c_d_geometry_mesh.html#d5227d055e5a3d1f7f0623724fab2586">FCDGeometryMesh::Recalculate</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
1403  <table border="0" cellspacing="2" cellpadding="0">
1404    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>The number of holes in previous polygon sets. </td></tr>
1405  </table>
1406</dl>
1407    </td>
1408  </tr>
1409</table>
1410<a class="anchor" name="72dfb0d4aa1cbbb5c488483b53eee1d2"></a><!-- doxytag: member="FCDGeometryPolygons::SetMaterialSemantic" ref="72dfb0d4aa1cbbb5c488483b53eee1d2" args="(const fchar *semantic)" --><p>
1411<table class="mdTable" cellpadding="2" cellspacing="0">
1412  <tr>
1413    <td class="mdRow">
1414      <table cellpadding="0" cellspacing="0" border="0">
1415        <tr>
1416          <td class="md" nowrap valign="top">void FCDGeometryPolygons::SetMaterialSemantic           </td>
1417          <td class="md" valign="top">(&nbsp;</td>
1418          <td class="md" nowrap valign="top">const fchar *&nbsp;</td>
1419          <td class="mdname1" valign="top" nowrap> <em>semantic</em>          </td>
1420          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1421          <td class="md" nowrap><code> [inline]</code></td>
1422        </tr>
1423      </table>
1424    </td>
1425  </tr>
1426</table>
1427<table cellspacing="5" cellpadding="0" border="0">
1428  <tr>
1429    <td>
1430      &nbsp;
1431    </td>
1432    <td>
1433
1434<p>
1435Sets a symbolic name for the material used on this polygon set.
1436<p>
1437This symbolic name will be matched within a <a class="el" href="class_f_c_d_geometry_instance.html">FCDGeometryInstance</a> to assign the correct material. <dl compact><dt><b>Parameters:</b></dt><dd>
1438  <table border="0" cellspacing="2" cellpadding="0">
1439    <tr><td valign="top"></td><td valign="top"><em>semantic</em>&nbsp;</td><td>The symbolic material name. </td></tr>
1440  </table>
1441</dl>
1442    </td>
1443  </tr>
1444</table>
1445<a class="anchor" name="0758c571a1c620d8e2a924448f805ac7"></a><!-- doxytag: member="FCDGeometryPolygons::Triangulate" ref="0758c571a1c620d8e2a924448f805ac7" args="()" --><p>
1446<table class="mdTable" cellpadding="2" cellspacing="0">
1447  <tr>
1448    <td class="mdRow">
1449      <table cellpadding="0" cellspacing="0" border="0">
1450        <tr>
1451          <td class="md" nowrap valign="top">void FCDGeometryPolygons::Triangulate           </td>
1452          <td class="md" valign="top">(&nbsp;</td>
1453          <td class="mdname1" valign="top" nowrap>          </td>
1454          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1455          <td class="md" nowrap></td>
1456        </tr>
1457      </table>
1458    </td>
1459  </tr>
1460</table>
1461<table cellspacing="5" cellpadding="0" border="0">
1462  <tr>
1463    <td>
1464      &nbsp;
1465    </td>
1466    <td>
1467
1468<p>
1469Triangulates the polygon set.
1470<p>
1471A simple fanning techique is currently used: holes will not be triangulated correctly.     </td>
1472  </tr>
1473</table>
1474<a class="anchor" name="05bef88033951f8b96f55cf8af71a338"></a><!-- doxytag: member="FCDGeometryPolygons::WriteToXML" ref="05bef88033951f8b96f55cf8af71a338" args="(xmlNode *parentNode) const " --><p>
1475<table class="mdTable" cellpadding="2" cellspacing="0">
1476  <tr>
1477    <td class="mdRow">
1478      <table cellpadding="0" cellspacing="0" border="0">
1479        <tr>
1480          <td class="md" nowrap valign="top">xmlNode* FCDGeometryPolygons::WriteToXML           </td>
1481          <td class="md" valign="top">(&nbsp;</td>
1482          <td class="md" nowrap valign="top">xmlNode *&nbsp;</td>
1483          <td class="mdname1" valign="top" nowrap> <em>parentNode</em>          </td>
1484          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1485          <td class="md" nowrap> const</td>
1486        </tr>
1487      </table>
1488    </td>
1489  </tr>
1490</table>
1491<table cellspacing="5" cellpadding="0" border="0">
1492  <tr>
1493    <td>
1494      &nbsp;
1495    </td>
1496    <td>
1497
1498<p>
1499[INTERNAL] Writes out the correct polygon set element to the given COLLADA XML tree node.
1500<p>
1501COLLADA has multiple polygon set elements. The most common ones are &lt;triangles&gt; and &lt;polylist&gt;. <dl compact><dt><b>Parameters:</b></dt><dd>
1502  <table border="0" cellspacing="2" cellpadding="0">
1503    <tr><td valign="top"></td><td valign="top"><em>parentNode</em>&nbsp;</td><td>The COLLADA XML parent node in which to insert the geometric mesh. </td></tr>
1504  </table>
1505</dl>
1506<dl compact><dt><b>Returns:</b></dt><dd>The created XML tree node. </dd></dl>
1507    </td>
1508  </tr>
1509</table>
1510<hr>The documentation for this class was generated from the following file:<ul>
1511<li>FCDocument/<a class="el" href="_f_c_d_geometry_polygons_8h-source.html">FCDGeometryPolygons.h</a></ul>
1512<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:43 2006 for FCollada by&nbsp;
1513<a href="http://www.doxygen.org/index.html">
1514<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
1515</body>
1516</html>
Note: See TracBrowser for help on using the repository browser.