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

Revision 964, 11.0 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: FCDGeometryPolygonsInput 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>FCDGeometryPolygonsInput 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="FCDGeometryPolygonsInput" -->An input data source for one mesh polygons 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<a href="class_f_c_d_geometry_polygons_input-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
33<tr><td></td></tr>
34<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ad5758b226c485cdad8484fe03eca826"></a><!-- doxytag: member="FCDGeometryPolygonsInput::FCDGeometryPolygonsInput" ref="ad5758b226c485cdad8484fe03eca826" args="()" -->
36&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons_input.html#ad5758b226c485cdad8484fe03eca826">FCDGeometryPolygonsInput</a> ()</td></tr>
37
38<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
39<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
40<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e07f60584759031f5ae3963debddbe0c"></a><!-- doxytag: member="FCDGeometryPolygonsInput::semantic" ref="e07f60584759031f5ae3963debddbe0c" args="" -->
41FUDaeGeometryInput::Semantic&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons_input.html#e07f60584759031f5ae3963debddbe0c">semantic</a></td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines the type of data to input. <br></td></tr>
44<tr><td class="memItemLeft" nowrap align="right" valign="top">uint32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons_input.html#18b8efc95ad9a58642eb6a5fe2cafb55">idx</a></td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Offset within the COLLADA document for this input.  <a href="#18b8efc95ad9a58642eb6a5fe2cafb55"></a><br></td></tr>
47<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_polygons_input.html#2f6d74900a429c826474fa630a2e5df6">ownsIdx</a></td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Offset owner flags.  <a href="#2f6d74900a429c826474fa630a2e5df6"></a><br></td></tr>
50<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_input.html#4f81698542644aeec203d42dccda96a5">indices</a></td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">[INTERNAL] Tessellation indices.  <a href="#4f81698542644aeec203d42dccda96a5"></a><br></td></tr>
53<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons_input.html#0e280ef58b14ed145c881cb7b2952082">source</a></td></tr>
54
55<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Data source.  <a href="#0e280ef58b14ed145c881cb7b2952082"></a><br></td></tr>
56<tr><td class="memItemLeft" nowrap align="right" valign="top">int32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_c_d_geometry_polygons_input.html#2d84d8888405c0f8f33aa1ca727c5e89">set</a></td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Input set.  <a href="#2d84d8888405c0f8f33aa1ca727c5e89"></a><br></td></tr>
59</table>
60<hr><a name="_details"></a><h2>Detailed Description</h2>
61An input data source for one mesh polygons set.
62<p>
63This structure knows the type of input data in the data source as well as the set and offset for the data. It also contains a pointer to the mesh data source.<p>
64Many polygon set inputs may have the same offset (or 'idx') when multiple data sources are compressed together within the COLLADA document. In this case, one and only one of the polygon set input will have the 'ownsIdx' flag set. A polygon set input with this flag set will contain valid indices. To find the indices of any polygon set input, it is recommended that you use the <a class="el" href="class_f_c_d_geometry_polygons.html#69a1525164cea2971228fab331a91e2e">FCDGeometryPolygons::FindIndicesForIdx</a> function.
65<p>
66<hr><h2>Member Data Documentation</h2>
67<a class="anchor" name="18b8efc95ad9a58642eb6a5fe2cafb55"></a><!-- doxytag: member="FCDGeometryPolygonsInput::idx" ref="18b8efc95ad9a58642eb6a5fe2cafb55" args="" --><p>
68<table class="mdTable" cellpadding="2" cellspacing="0">
69  <tr>
70    <td class="mdRow">
71      <table cellpadding="0" cellspacing="0" border="0">
72        <tr>
73          <td class="md" nowrap valign="top">uint32 <a class="el" href="class_f_c_d_geometry_polygons_input.html#18b8efc95ad9a58642eb6a5fe2cafb55">FCDGeometryPolygonsInput::idx</a>          </td>
74        </tr>
75      </table>
76    </td>
77  </tr>
78</table>
79<table cellspacing="5" cellpadding="0" border="0">
80  <tr>
81    <td>
82      &nbsp;
83    </td>
84    <td>
85
86<p>
87Offset within the COLLADA document for this input.
88<p>
89All the inputs with the same offset value use the same indices within the COLLADA document.     </td>
90  </tr>
91</table>
92<a class="anchor" name="4f81698542644aeec203d42dccda96a5"></a><!-- doxytag: member="FCDGeometryPolygonsInput::indices" ref="4f81698542644aeec203d42dccda96a5" args="" --><p>
93<table class="mdTable" cellpadding="2" cellspacing="0">
94  <tr>
95    <td class="mdRow">
96      <table cellpadding="0" cellspacing="0" border="0">
97        <tr>
98          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">UInt32List</a> <a class="el" href="class_f_c_d_geometry_polygons_input.html#4f81698542644aeec203d42dccda96a5">FCDGeometryPolygonsInput::indices</a>          </td>
99        </tr>
100      </table>
101    </td>
102  </tr>
103</table>
104<table cellspacing="5" cellpadding="0" border="0">
105  <tr>
106    <td>
107      &nbsp;
108    </td>
109    <td>
110
111<p>
112[INTERNAL] Tessellation indices.
113<p>
114Use these indices to generate a list of unique vertices and generate your vertex buffers. You should not set or access the indices directly. Instead, use the <a class="el" href="class_f_c_d_geometry_polygons.html#69a1525164cea2971228fab331a91e2e">FCDGeometryPolygons::FindIndicesForIdx</a> function.     </td>
115  </tr>
116</table>
117<a class="anchor" name="2f6d74900a429c826474fa630a2e5df6"></a><!-- doxytag: member="FCDGeometryPolygonsInput::ownsIdx" ref="2f6d74900a429c826474fa630a2e5df6" args="" --><p>
118<table class="mdTable" cellpadding="2" cellspacing="0">
119  <tr>
120    <td class="mdRow">
121      <table cellpadding="0" cellspacing="0" border="0">
122        <tr>
123          <td class="md" nowrap valign="top">bool <a class="el" href="class_f_c_d_geometry_polygons_input.html#2f6d74900a429c826474fa630a2e5df6">FCDGeometryPolygonsInput::ownsIdx</a>          </td>
124        </tr>
125      </table>
126    </td>
127  </tr>
128</table>
129<table cellspacing="5" cellpadding="0" border="0">
130  <tr>
131    <td>
132      &nbsp;
133    </td>
134    <td>
135
136<p>
137[INTERNAL] Offset owner flags.
138<p>
139One and only one polygon set input will have this flag set for each offset value. A polygon set input with this flag set will contain valid indices within the 'indices' member variable. You should not set or access this flag directly. Instead, use the <a class="el" href="class_f_c_d_geometry_polygons.html#69a1525164cea2971228fab331a91e2e">FCDGeometryPolygons::FindIndicesForIdx</a> function.     </td>
140  </tr>
141</table>
142<a class="anchor" name="2d84d8888405c0f8f33aa1ca727c5e89"></a><!-- doxytag: member="FCDGeometryPolygonsInput::set" ref="2d84d8888405c0f8f33aa1ca727c5e89" args="" --><p>
143<table class="mdTable" cellpadding="2" cellspacing="0">
144  <tr>
145    <td class="mdRow">
146      <table cellpadding="0" cellspacing="0" border="0">
147        <tr>
148          <td class="md" nowrap valign="top">int32 <a class="el" href="class_f_c_d_geometry_polygons_input.html#2d84d8888405c0f8f33aa1ca727c5e89">FCDGeometryPolygonsInput::set</a>          </td>
149        </tr>
150      </table>
151    </td>
152  </tr>
153</table>
154<table cellspacing="5" cellpadding="0" border="0">
155  <tr>
156    <td>
157      &nbsp;
158    </td>
159    <td>
160
161<p>
162Input set.
163<p>
164Used to group together the texture coordinates with the texture tangents and binormals. ColladaMax: this value should also represent the map channel index or texture coordinates and vertex color channels.     </td>
165  </tr>
166</table>
167<a class="anchor" name="0e280ef58b14ed145c881cb7b2952082"></a><!-- doxytag: member="FCDGeometryPolygonsInput::source" ref="0e280ef58b14ed145c881cb7b2952082" args="" --><p>
168<table class="mdTable" cellpadding="2" cellspacing="0">
169  <tr>
170    <td class="mdRow">
171      <table cellpadding="0" cellspacing="0" border="0">
172        <tr>
173          <td class="md" nowrap valign="top"><a class="el" href="class_f_c_d_geometry_source.html">FCDGeometrySource</a>* <a class="el" href="class_f_c_d_geometry_polygons_input.html#0e280ef58b14ed145c881cb7b2952082">FCDGeometryPolygonsInput::source</a>          </td>
174        </tr>
175      </table>
176    </td>
177  </tr>
178</table>
179<table cellspacing="5" cellpadding="0" border="0">
180  <tr>
181    <td>
182      &nbsp;
183    </td>
184    <td>
185
186<p>
187Data source.
188<p>
189This is the data source into which the indices are indexing. You need to take the data source stride into consideration when unindexing the data.     </td>
190  </tr>
191</table>
192<hr>The documentation for this class was generated from the following file:<ul>
193<li>FCDocument/<a class="el" href="_f_c_d_geometry_polygons_8h-source.html">FCDGeometryPolygons.h</a></ul>
194<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:43 2006 for FCollada by&nbsp;
195<a href="http://www.doxygen.org/index.html">
196<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
197</body>
198</html>
Note: See TracBrowser for help on using the repository browser.