source: GTP/trunk/App/Demos/Illum/EnvMap/doxygen/class_mesh.html @ 1488

Revision 1488, 25.5 KB checked in by szirmay, 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>Indirect Environment Mapping: Mesh Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.4.2 -->
7<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8<h1>Mesh Class Reference</h1>Encapsulates a mesh of .X format. Adds helper functions for easier scaling, moving, texturing. 
9<a href="#_details">More...</a>
10<p>
11<code>#include &lt;Mesh.h&gt;</code>
12<p>
13<a href="class_mesh-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
14<tr><td></td></tr>
15<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
16<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a0">Mesh</a> (LPCWSTR fileName, LPCWSTR texFileName, float <a class="el" href="class_mesh.html#r5">preferredDiameter</a>, D3DXVECTOR3 <a class="el" href="class_mesh.html#r8">position</a>)</td></tr>
17
18<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a1">~Mesh</a> ()</td></tr>
19
20<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. Deletes dynamically created resources.  <a href="#a1"></a><br></td></tr>
21<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a2">Load</a> (LPCWSTR fileName)</td></tr>
22
23<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">LOADS THE SPECIFIED .X FILE Eliminates mesh offset (centers the mesh to the origin) and determines mesh size (<a class="el" href="class_mesh.html#r3">originalSize</a>, <a class="el" href="class_mesh.html#r4">originalDiameter</a>).  <a href="#a2"></a><br></td></tr>
24<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a3">Move</a> (D3DXVECTOR3 offset, bool bContainerOnly=false)</td></tr>
25
26<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a4">Draw</a> ()</td></tr>
27
28<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draws the mesh. Before drawing, use <a class="el" href="class_mesh.html#a6">GetMeshScale()</a> to get the appropriate scaling factor.  <a href="#a4"></a><br></td></tr>
29<tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a5">GetMeshSize</a> ()</td></tr>
30
31<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">current mesh size  <a href="#a5"></a><br></td></tr>
32<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a6">GetMeshScale</a> ()</td></tr>
33
34<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">current mesh scale  <a href="#a6"></a><br></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a7">GetMeshPosition</a> ()</td></tr>
36
37<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">current mesh position  <a href="#a7"></a><br></td></tr>
38<tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DTexture9 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a8">GetTexture</a> ()</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">mesh texture  <a href="#a8"></a><br></td></tr>
41<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a9">SetContainerSize</a> (D3DXVECTOR3 size)</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the size of the encapsulating room.  <a href="#a9"></a><br></td></tr>
44<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a10">SetMeshPosition</a> (D3DXVECTOR3 pos)</td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets mesh position.  <a href="#a10"></a><br></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a11">SetPreferredDiameter</a> (float d)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets preferred mesh size (diameter).  <a href="#a11"></a><br></td></tr>
50<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
51<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#b0">CalculateMeshSize</a> ()</td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculates mesh size and updates <a class="el" href="class_mesh.html#r3">originalSize</a> and <a class="el" href="class_mesh.html#r4">originalDiameter</a>.  <a href="#b0"></a><br></td></tr>
54<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
55<tr><td class="memItemLeft" nowrap align="right" valign="top">ID3DXMesh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r0">pMesh</a></td></tr>
56
57<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">THE .X MESH OBJECT.  <a href="#r0"></a><br></td></tr>
58<tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DTexture9 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r1">pMeshTexture</a></td></tr>
59
60<tr><td class="memItemLeft" nowrap align="right" valign="top">DWORD&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r2">numMaterials</a></td></tr>
61
62<tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r3">originalSize</a></td></tr>
63
64<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r4">originalDiameter</a></td></tr>
65
66<tr><td class="memItemLeft" nowrap align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r5">preferredDiameter</a></td></tr>
67
68<tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r6">containerSize</a></td></tr>
69
70<tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r7">hr</a></td></tr>
71
72<tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#r8">position</a></td></tr>
73
74</table>
75<hr><a name="_details"></a><h2>Detailed Description</h2>
76Encapsulates a mesh of .X format. Adds helper functions for easier scaling, moving, texturing.
77<p>
78<dl compact><dt><b>See also:</b></dt><dd>OptimizedMesh DirectX SDK Sample </dd></dl>
79
80<p>
81<hr><h2>Constructor &amp; Destructor Documentation</h2>
82<a class="anchor" name="a0" doxytag="Mesh::Mesh"></a><p>
83<table class="mdTable" cellpadding="2" cellspacing="0">
84  <tr>
85    <td class="mdRow">
86      <table cellpadding="0" cellspacing="0" border="0">
87        <tr>
88          <td class="md" nowrap valign="top">Mesh::Mesh           </td>
89          <td class="md" valign="top">(&nbsp;</td>
90          <td class="md" nowrap valign="top">LPCWSTR&nbsp;</td>
91          <td class="mdname" nowrap> <em>fileName</em>, </td>
92        </tr>
93        <tr>
94          <td class="md" nowrap align="right"></td>
95          <td class="md"></td>
96          <td class="md" nowrap>LPCWSTR&nbsp;</td>
97          <td class="mdname" nowrap> <em>texFileName</em>, </td>
98        </tr>
99        <tr>
100          <td class="md" nowrap align="right"></td>
101          <td class="md"></td>
102          <td class="md" nowrap>float&nbsp;</td>
103          <td class="mdname" nowrap> <em>preferredDiameter</em>, </td>
104        </tr>
105        <tr>
106          <td class="md" nowrap align="right"></td>
107          <td class="md"></td>
108          <td class="md" nowrap>D3DXVECTOR3&nbsp;</td>
109          <td class="mdname" nowrap> <em>position</em></td>
110        </tr>
111        <tr>
112          <td class="md"></td>
113          <td class="md">)&nbsp;</td>
114          <td class="md" colspan="2"></td>
115        </tr>
116      </table>
117    </td>
118  </tr>
119</table>
120<table cellspacing="5" cellpadding="0" border="0">
121  <tr>
122    <td>
123      &nbsp;
124    </td>
125    <td>
126
127<p>
128Loads the specified .X file <dl compact><dt><b>Parameters:</b></dt><dd>
129  <table border="0" cellspacing="2" cellpadding="0">
130    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>name of the mesh file </td></tr>
131    <tr><td valign="top"></td><td valign="top"><em>texFileName</em>&nbsp;</td><td>name of the texture file </td></tr>
132    <tr><td valign="top"></td><td valign="top"><em>preferredDiameter</em>&nbsp;</td><td>final size of the mesh </td></tr>
133    <tr><td valign="top"></td><td valign="top"><em>position</em>&nbsp;</td><td>initial position of the mesh. During rendering, use <a class="el" href="class_mesh.html#a6">GetMeshScale()</a> to get the appropriate scaling factor to achieve the preferred mesh size. </td></tr>
134  </table>
135</dl>
136    </td>
137  </tr>
138</table>
139<a class="anchor" name="a1" doxytag="Mesh::~Mesh"></a><p>
140<table class="mdTable" cellpadding="2" cellspacing="0">
141  <tr>
142    <td class="mdRow">
143      <table cellpadding="0" cellspacing="0" border="0">
144        <tr>
145          <td class="md" nowrap valign="top">Mesh::~Mesh           </td>
146          <td class="md" valign="top">(&nbsp;</td>
147          <td class="mdname1" valign="top" nowrap>          </td>
148          <td class="md" valign="top">&nbsp;)&nbsp;</td>
149          <td class="md" nowrap></td>
150        </tr>
151      </table>
152    </td>
153  </tr>
154</table>
155<table cellspacing="5" cellpadding="0" border="0">
156  <tr>
157    <td>
158      &nbsp;
159    </td>
160    <td>
161
162<p>
163Destructor. Deletes dynamically created resources.
164<p>
165    </td>
166  </tr>
167</table>
168<hr><h2>Member Function Documentation</h2>
169<a class="anchor" name="b0" doxytag="Mesh::CalculateMeshSize"></a><p>
170<table class="mdTable" cellpadding="2" cellspacing="0">
171  <tr>
172    <td class="mdRow">
173      <table cellpadding="0" cellspacing="0" border="0">
174        <tr>
175          <td class="md" nowrap valign="top">HRESULT Mesh::CalculateMeshSize           </td>
176          <td class="md" valign="top">(&nbsp;</td>
177          <td class="mdname1" valign="top" nowrap>          </td>
178          <td class="md" valign="top">&nbsp;)&nbsp;</td>
179          <td class="md" nowrap><code> [protected]</code></td>
180        </tr>
181      </table>
182    </td>
183  </tr>
184</table>
185<table cellspacing="5" cellpadding="0" border="0">
186  <tr>
187    <td>
188      &nbsp;
189    </td>
190    <td>
191
192<p>
193Calculates mesh size and updates <a class="el" href="class_mesh.html#r3">originalSize</a> and <a class="el" href="class_mesh.html#r4">originalDiameter</a>.
194<p>
195    </td>
196  </tr>
197</table>
198<a class="anchor" name="a4" doxytag="Mesh::Draw"></a><p>
199<table class="mdTable" cellpadding="2" cellspacing="0">
200  <tr>
201    <td class="mdRow">
202      <table cellpadding="0" cellspacing="0" border="0">
203        <tr>
204          <td class="md" nowrap valign="top">HRESULT Mesh::Draw           </td>
205          <td class="md" valign="top">(&nbsp;</td>
206          <td class="mdname1" valign="top" nowrap>          </td>
207          <td class="md" valign="top">&nbsp;)&nbsp;</td>
208          <td class="md" nowrap></td>
209        </tr>
210      </table>
211    </td>
212  </tr>
213</table>
214<table cellspacing="5" cellpadding="0" border="0">
215  <tr>
216    <td>
217      &nbsp;
218    </td>
219    <td>
220
221<p>
222Draws the mesh. Before drawing, use <a class="el" href="class_mesh.html#a6">GetMeshScale()</a> to get the appropriate scaling factor.
223<p>
224    </td>
225  </tr>
226</table>
227<a class="anchor" name="a7" doxytag="Mesh::GetMeshPosition"></a><p>
228<table class="mdTable" cellpadding="2" cellspacing="0">
229  <tr>
230    <td class="mdRow">
231      <table cellpadding="0" cellspacing="0" border="0">
232        <tr>
233          <td class="md" nowrap valign="top">D3DXVECTOR3 Mesh::GetMeshPosition           </td>
234          <td class="md" valign="top">(&nbsp;</td>
235          <td class="mdname1" valign="top" nowrap>          </td>
236          <td class="md" valign="top">&nbsp;)&nbsp;</td>
237          <td class="md" nowrap><code> [inline]</code></td>
238        </tr>
239      </table>
240    </td>
241  </tr>
242</table>
243<table cellspacing="5" cellpadding="0" border="0">
244  <tr>
245    <td>
246      &nbsp;
247    </td>
248    <td>
249
250<p>
251current mesh position
252<p>
253    </td>
254  </tr>
255</table>
256<a class="anchor" name="a6" doxytag="Mesh::GetMeshScale"></a><p>
257<table class="mdTable" cellpadding="2" cellspacing="0">
258  <tr>
259    <td class="mdRow">
260      <table cellpadding="0" cellspacing="0" border="0">
261        <tr>
262          <td class="md" nowrap valign="top">float Mesh::GetMeshScale           </td>
263          <td class="md" valign="top">(&nbsp;</td>
264          <td class="mdname1" valign="top" nowrap>          </td>
265          <td class="md" valign="top">&nbsp;)&nbsp;</td>
266          <td class="md" nowrap><code> [inline]</code></td>
267        </tr>
268      </table>
269    </td>
270  </tr>
271</table>
272<table cellspacing="5" cellpadding="0" border="0">
273  <tr>
274    <td>
275      &nbsp;
276    </td>
277    <td>
278
279<p>
280current mesh scale
281<p>
282    </td>
283  </tr>
284</table>
285<a class="anchor" name="a5" doxytag="Mesh::GetMeshSize"></a><p>
286<table class="mdTable" cellpadding="2" cellspacing="0">
287  <tr>
288    <td class="mdRow">
289      <table cellpadding="0" cellspacing="0" border="0">
290        <tr>
291          <td class="md" nowrap valign="top">D3DXVECTOR3 Mesh::GetMeshSize           </td>
292          <td class="md" valign="top">(&nbsp;</td>
293          <td class="mdname1" valign="top" nowrap>          </td>
294          <td class="md" valign="top">&nbsp;)&nbsp;</td>
295          <td class="md" nowrap><code> [inline]</code></td>
296        </tr>
297      </table>
298    </td>
299  </tr>
300</table>
301<table cellspacing="5" cellpadding="0" border="0">
302  <tr>
303    <td>
304      &nbsp;
305    </td>
306    <td>
307
308<p>
309current mesh size
310<p>
311    </td>
312  </tr>
313</table>
314<a class="anchor" name="a8" doxytag="Mesh::GetTexture"></a><p>
315<table class="mdTable" cellpadding="2" cellspacing="0">
316  <tr>
317    <td class="mdRow">
318      <table cellpadding="0" cellspacing="0" border="0">
319        <tr>
320          <td class="md" nowrap valign="top">IDirect3DTexture9* Mesh::GetTexture           </td>
321          <td class="md" valign="top">(&nbsp;</td>
322          <td class="mdname1" valign="top" nowrap>          </td>
323          <td class="md" valign="top">&nbsp;)&nbsp;</td>
324          <td class="md" nowrap><code> [inline]</code></td>
325        </tr>
326      </table>
327    </td>
328  </tr>
329</table>
330<table cellspacing="5" cellpadding="0" border="0">
331  <tr>
332    <td>
333      &nbsp;
334    </td>
335    <td>
336
337<p>
338mesh texture
339<p>
340    </td>
341  </tr>
342</table>
343<a class="anchor" name="a2" doxytag="Mesh::Load"></a><p>
344<table class="mdTable" cellpadding="2" cellspacing="0">
345  <tr>
346    <td class="mdRow">
347      <table cellpadding="0" cellspacing="0" border="0">
348        <tr>
349          <td class="md" nowrap valign="top">void Mesh::Load           </td>
350          <td class="md" valign="top">(&nbsp;</td>
351          <td class="md" nowrap valign="top">LPCWSTR&nbsp;</td>
352          <td class="mdname1" valign="top" nowrap> <em>fileName</em>          </td>
353          <td class="md" valign="top">&nbsp;)&nbsp;</td>
354          <td class="md" nowrap></td>
355        </tr>
356      </table>
357    </td>
358  </tr>
359</table>
360<table cellspacing="5" cellpadding="0" border="0">
361  <tr>
362    <td>
363      &nbsp;
364    </td>
365    <td>
366
367<p>
368LOADS THE SPECIFIED .X FILE Eliminates mesh offset (centers the mesh to the origin) and determines mesh size (<a class="el" href="class_mesh.html#r3">originalSize</a>, <a class="el" href="class_mesh.html#r4">originalDiameter</a>).
369<p>
370    </td>
371  </tr>
372</table>
373<a class="anchor" name="a3" doxytag="Mesh::Move"></a><p>
374<table class="mdTable" cellpadding="2" cellspacing="0">
375  <tr>
376    <td class="mdRow">
377      <table cellpadding="0" cellspacing="0" border="0">
378        <tr>
379          <td class="md" nowrap valign="top">void Mesh::Move           </td>
380          <td class="md" valign="top">(&nbsp;</td>
381          <td class="md" nowrap valign="top">D3DXVECTOR3&nbsp;</td>
382          <td class="mdname" nowrap> <em>offset</em>, </td>
383        </tr>
384        <tr>
385          <td class="md" nowrap align="right"></td>
386          <td class="md"></td>
387          <td class="md" nowrap>bool&nbsp;</td>
388          <td class="mdname" nowrap> <em>bContainerOnly</em> = <code>false</code></td>
389        </tr>
390        <tr>
391          <td class="md"></td>
392          <td class="md">)&nbsp;</td>
393          <td class="md" colspan="2"></td>
394        </tr>
395      </table>
396    </td>
397  </tr>
398</table>
399<table cellspacing="5" cellpadding="0" border="0">
400  <tr>
401    <td>
402      &nbsp;
403    </td>
404    <td>
405
406<p>
407Adds the specified offset to the mesh position. <dl compact><dt><b>Parameters:</b></dt><dd>
408  <table border="0" cellspacing="2" cellpadding="0">
409    <tr><td valign="top"></td><td valign="top"><em>bContainerOnly</em>&nbsp;</td><td>indicates whether the object can leave the room </td></tr>
410  </table>
411</dl>
412    </td>
413  </tr>
414</table>
415<a class="anchor" name="a9" doxytag="Mesh::SetContainerSize"></a><p>
416<table class="mdTable" cellpadding="2" cellspacing="0">
417  <tr>
418    <td class="mdRow">
419      <table cellpadding="0" cellspacing="0" border="0">
420        <tr>
421          <td class="md" nowrap valign="top">void Mesh::SetContainerSize           </td>
422          <td class="md" valign="top">(&nbsp;</td>
423          <td class="md" nowrap valign="top">D3DXVECTOR3&nbsp;</td>
424          <td class="mdname1" valign="top" nowrap> <em>size</em>          </td>
425          <td class="md" valign="top">&nbsp;)&nbsp;</td>
426          <td class="md" nowrap><code> [inline]</code></td>
427        </tr>
428      </table>
429    </td>
430  </tr>
431</table>
432<table cellspacing="5" cellpadding="0" border="0">
433  <tr>
434    <td>
435      &nbsp;
436    </td>
437    <td>
438
439<p>
440Sets the size of the encapsulating room.
441<p>
442    </td>
443  </tr>
444</table>
445<a class="anchor" name="a10" doxytag="Mesh::SetMeshPosition"></a><p>
446<table class="mdTable" cellpadding="2" cellspacing="0">
447  <tr>
448    <td class="mdRow">
449      <table cellpadding="0" cellspacing="0" border="0">
450        <tr>
451          <td class="md" nowrap valign="top">void Mesh::SetMeshPosition           </td>
452          <td class="md" valign="top">(&nbsp;</td>
453          <td class="md" nowrap valign="top">D3DXVECTOR3&nbsp;</td>
454          <td class="mdname1" valign="top" nowrap> <em>pos</em>          </td>
455          <td class="md" valign="top">&nbsp;)&nbsp;</td>
456          <td class="md" nowrap><code> [inline]</code></td>
457        </tr>
458      </table>
459    </td>
460  </tr>
461</table>
462<table cellspacing="5" cellpadding="0" border="0">
463  <tr>
464    <td>
465      &nbsp;
466    </td>
467    <td>
468
469<p>
470Sets mesh position.
471<p>
472    </td>
473  </tr>
474</table>
475<a class="anchor" name="a11" doxytag="Mesh::SetPreferredDiameter"></a><p>
476<table class="mdTable" cellpadding="2" cellspacing="0">
477  <tr>
478    <td class="mdRow">
479      <table cellpadding="0" cellspacing="0" border="0">
480        <tr>
481          <td class="md" nowrap valign="top">void Mesh::SetPreferredDiameter           </td>
482          <td class="md" valign="top">(&nbsp;</td>
483          <td class="md" nowrap valign="top">float&nbsp;</td>
484          <td class="mdname1" valign="top" nowrap> <em>d</em>          </td>
485          <td class="md" valign="top">&nbsp;)&nbsp;</td>
486          <td class="md" nowrap><code> [inline]</code></td>
487        </tr>
488      </table>
489    </td>
490  </tr>
491</table>
492<table cellspacing="5" cellpadding="0" border="0">
493  <tr>
494    <td>
495      &nbsp;
496    </td>
497    <td>
498
499<p>
500Sets preferred mesh size (diameter).
501<p>
502    </td>
503  </tr>
504</table>
505<hr><h2>Member Data Documentation</h2>
506<a class="anchor" name="r6" doxytag="Mesh::containerSize"></a><p>
507<table class="mdTable" cellpadding="2" cellspacing="0">
508  <tr>
509    <td class="mdRow">
510      <table cellpadding="0" cellspacing="0" border="0">
511        <tr>
512          <td class="md" nowrap valign="top">D3DXVECTOR3 <a class="el" href="class_mesh.html#r6">Mesh::containerSize</a><code> [private]</code>          </td>
513        </tr>
514      </table>
515    </td>
516  </tr>
517</table>
518<table cellspacing="5" cellpadding="0" border="0">
519  <tr>
520    <td>
521      &nbsp;
522    </td>
523    <td>
524
525<p>
526    </td>
527  </tr>
528</table>
529<a class="anchor" name="r7" doxytag="Mesh::hr"></a><p>
530<table class="mdTable" cellpadding="2" cellspacing="0">
531  <tr>
532    <td class="mdRow">
533      <table cellpadding="0" cellspacing="0" border="0">
534        <tr>
535          <td class="md" nowrap valign="top">HRESULT <a class="el" href="class_mesh.html#r7">Mesh::hr</a><code> [private]</code>          </td>
536        </tr>
537      </table>
538    </td>
539  </tr>
540</table>
541<table cellspacing="5" cellpadding="0" border="0">
542  <tr>
543    <td>
544      &nbsp;
545    </td>
546    <td>
547
548<p>
549    </td>
550  </tr>
551</table>
552<a class="anchor" name="r2" doxytag="Mesh::numMaterials"></a><p>
553<table class="mdTable" cellpadding="2" cellspacing="0">
554  <tr>
555    <td class="mdRow">
556      <table cellpadding="0" cellspacing="0" border="0">
557        <tr>
558          <td class="md" nowrap valign="top">DWORD <a class="el" href="class_mesh.html#r2">Mesh::numMaterials</a><code> [private]</code>          </td>
559        </tr>
560      </table>
561    </td>
562  </tr>
563</table>
564<table cellspacing="5" cellpadding="0" border="0">
565  <tr>
566    <td>
567      &nbsp;
568    </td>
569    <td>
570
571<p>
572    </td>
573  </tr>
574</table>
575<a class="anchor" name="r4" doxytag="Mesh::originalDiameter"></a><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">float <a class="el" href="class_mesh.html#r4">Mesh::originalDiameter</a><code> [private]</code>          </td>
582        </tr>
583      </table>
584    </td>
585  </tr>
586</table>
587<table cellspacing="5" cellpadding="0" border="0">
588  <tr>
589    <td>
590      &nbsp;
591    </td>
592    <td>
593
594<p>
595    </td>
596  </tr>
597</table>
598<a class="anchor" name="r3" doxytag="Mesh::originalSize"></a><p>
599<table class="mdTable" cellpadding="2" cellspacing="0">
600  <tr>
601    <td class="mdRow">
602      <table cellpadding="0" cellspacing="0" border="0">
603        <tr>
604          <td class="md" nowrap valign="top">D3DXVECTOR3 <a class="el" href="class_mesh.html#r3">Mesh::originalSize</a><code> [private]</code>          </td>
605        </tr>
606      </table>
607    </td>
608  </tr>
609</table>
610<table cellspacing="5" cellpadding="0" border="0">
611  <tr>
612    <td>
613      &nbsp;
614    </td>
615    <td>
616
617<p>
618    </td>
619  </tr>
620</table>
621<a class="anchor" name="r0" doxytag="Mesh::pMesh"></a><p>
622<table class="mdTable" cellpadding="2" cellspacing="0">
623  <tr>
624    <td class="mdRow">
625      <table cellpadding="0" cellspacing="0" border="0">
626        <tr>
627          <td class="md" nowrap valign="top">ID3DXMesh* <a class="el" href="class_mesh.html#r0">Mesh::pMesh</a><code> [private]</code>          </td>
628        </tr>
629      </table>
630    </td>
631  </tr>
632</table>
633<table cellspacing="5" cellpadding="0" border="0">
634  <tr>
635    <td>
636      &nbsp;
637    </td>
638    <td>
639
640<p>
641THE .X MESH OBJECT.
642<p>
643    </td>
644  </tr>
645</table>
646<a class="anchor" name="r1" doxytag="Mesh::pMeshTexture"></a><p>
647<table class="mdTable" cellpadding="2" cellspacing="0">
648  <tr>
649    <td class="mdRow">
650      <table cellpadding="0" cellspacing="0" border="0">
651        <tr>
652          <td class="md" nowrap valign="top">IDirect3DTexture9* <a class="el" href="class_mesh.html#r1">Mesh::pMeshTexture</a><code> [private]</code>          </td>
653        </tr>
654      </table>
655    </td>
656  </tr>
657</table>
658<table cellspacing="5" cellpadding="0" border="0">
659  <tr>
660    <td>
661      &nbsp;
662    </td>
663    <td>
664
665<p>
666    </td>
667  </tr>
668</table>
669<a class="anchor" name="r8" doxytag="Mesh::position"></a><p>
670<table class="mdTable" cellpadding="2" cellspacing="0">
671  <tr>
672    <td class="mdRow">
673      <table cellpadding="0" cellspacing="0" border="0">
674        <tr>
675          <td class="md" nowrap valign="top">D3DXVECTOR3 <a class="el" href="class_mesh.html#r8">Mesh::position</a><code> [private]</code>          </td>
676        </tr>
677      </table>
678    </td>
679  </tr>
680</table>
681<table cellspacing="5" cellpadding="0" border="0">
682  <tr>
683    <td>
684      &nbsp;
685    </td>
686    <td>
687
688<p>
689    </td>
690  </tr>
691</table>
692<a class="anchor" name="r5" doxytag="Mesh::preferredDiameter"></a><p>
693<table class="mdTable" cellpadding="2" cellspacing="0">
694  <tr>
695    <td class="mdRow">
696      <table cellpadding="0" cellspacing="0" border="0">
697        <tr>
698          <td class="md" nowrap valign="top">float <a class="el" href="class_mesh.html#r5">Mesh::preferredDiameter</a><code> [private]</code>          </td>
699        </tr>
700      </table>
701    </td>
702  </tr>
703</table>
704<table cellspacing="5" cellpadding="0" border="0">
705  <tr>
706    <td>
707      &nbsp;
708    </td>
709    <td>
710
711<p>
712    </td>
713  </tr>
714</table>
715<hr>The documentation for this class was generated from the following files:<ul>
716<li><a class="el" href="_mesh_8h.html">Mesh.h</a><li><a class="el" href="_mesh_8cpp.html">Mesh.cpp</a></ul>
717<hr size="1"><address style="align: right;"><small>Generated on Wed Aug 23 00:00:39 2006 for Indirect Environment Mapping by&nbsp;
718<a href="http://www.doxygen.org/index.html">
719<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address>
720</body>
721</html>
Note: See TracBrowser for help on using the repository browser.