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: Cube 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 Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> |
---|
8 | <h1>Cube Class Reference</h1>A simple cube mesh. |
---|
9 | <a href="#_details">More...</a> |
---|
10 | <p> |
---|
11 | <code>#include <Cube.h></code> |
---|
12 | <p> |
---|
13 | <a href="class_cube-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#a0">Cube</a> (IDirect3DDevice9 *<a class="el" href="class_cube.html#r0">pd3dDevice</a>)</td></tr> |
---|
17 | |
---|
18 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#a1">Destroy</a> ()</td></tr> |
---|
19 | |
---|
20 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#a2">PrepareDrawing</a> ()</td></tr> |
---|
21 | |
---|
22 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#a3">Draw</a> ()</td></tr> |
---|
23 | |
---|
24 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#a4">DrawFace</a> (int index)</td></tr> |
---|
25 | |
---|
26 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
27 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DVertexBuffer9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#o0">pVertexBuffer</a></td></tr> |
---|
28 | |
---|
29 | <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
---|
30 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DDevice9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#r0">pd3dDevice</a></td></tr> |
---|
31 | |
---|
32 | <tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT </td><td class="memItemRight" valign="bottom"><a class="el" href="class_cube.html#r1">hr</a></td></tr> |
---|
33 | |
---|
34 | </table> |
---|
35 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
36 | A simple cube mesh. |
---|
37 | <p> |
---|
38 | Texture coordinates range from 0..1 for each face, thus no texture atlas is necessary when texturing all faces with the same texture. See <a class="el" href="class_env_map.html#a13">EnvMap::DrawEnvObjects()</a>. |
---|
39 | <p> |
---|
40 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
41 | <a class="anchor" name="a0" doxytag="Cube::Cube"></a><p> |
---|
42 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
43 | <tr> |
---|
44 | <td class="mdRow"> |
---|
45 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
46 | <tr> |
---|
47 | <td class="md" nowrap valign="top">Cube::Cube </td> |
---|
48 | <td class="md" valign="top">( </td> |
---|
49 | <td class="md" nowrap valign="top">IDirect3DDevice9 * </td> |
---|
50 | <td class="mdname1" valign="top" nowrap> <em>pd3dDevice</em> </td> |
---|
51 | <td class="md" valign="top"> ) </td> |
---|
52 | <td class="md" nowrap></td> |
---|
53 | </tr> |
---|
54 | </table> |
---|
55 | </td> |
---|
56 | </tr> |
---|
57 | </table> |
---|
58 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
59 | <tr> |
---|
60 | <td> |
---|
61 | |
---|
62 | </td> |
---|
63 | <td> |
---|
64 | |
---|
65 | <p> |
---|
66 | </td> |
---|
67 | </tr> |
---|
68 | </table> |
---|
69 | <hr><h2>Member Function Documentation</h2> |
---|
70 | <a class="anchor" name="a1" doxytag="Cube::Destroy"></a><p> |
---|
71 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
72 | <tr> |
---|
73 | <td class="mdRow"> |
---|
74 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
75 | <tr> |
---|
76 | <td class="md" nowrap valign="top">void Cube::Destroy </td> |
---|
77 | <td class="md" valign="top">( </td> |
---|
78 | <td class="mdname1" valign="top" nowrap> </td> |
---|
79 | <td class="md" valign="top"> ) </td> |
---|
80 | <td class="md" nowrap></td> |
---|
81 | </tr> |
---|
82 | </table> |
---|
83 | </td> |
---|
84 | </tr> |
---|
85 | </table> |
---|
86 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
87 | <tr> |
---|
88 | <td> |
---|
89 | |
---|
90 | </td> |
---|
91 | <td> |
---|
92 | |
---|
93 | <p> |
---|
94 | </td> |
---|
95 | </tr> |
---|
96 | </table> |
---|
97 | <a class="anchor" name="a3" doxytag="Cube::Draw"></a><p> |
---|
98 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
99 | <tr> |
---|
100 | <td class="mdRow"> |
---|
101 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
102 | <tr> |
---|
103 | <td class="md" nowrap valign="top">void Cube::Draw </td> |
---|
104 | <td class="md" valign="top">( </td> |
---|
105 | <td class="mdname1" valign="top" nowrap> </td> |
---|
106 | <td class="md" valign="top"> ) </td> |
---|
107 | <td class="md" nowrap></td> |
---|
108 | </tr> |
---|
109 | </table> |
---|
110 | </td> |
---|
111 | </tr> |
---|
112 | </table> |
---|
113 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
114 | <tr> |
---|
115 | <td> |
---|
116 | |
---|
117 | </td> |
---|
118 | <td> |
---|
119 | |
---|
120 | <p> |
---|
121 | </td> |
---|
122 | </tr> |
---|
123 | </table> |
---|
124 | <a class="anchor" name="a4" doxytag="Cube::DrawFace"></a><p> |
---|
125 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
126 | <tr> |
---|
127 | <td class="mdRow"> |
---|
128 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
129 | <tr> |
---|
130 | <td class="md" nowrap valign="top">void Cube::DrawFace </td> |
---|
131 | <td class="md" valign="top">( </td> |
---|
132 | <td class="md" nowrap valign="top">int </td> |
---|
133 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
134 | <td class="md" valign="top"> ) </td> |
---|
135 | <td class="md" nowrap></td> |
---|
136 | </tr> |
---|
137 | </table> |
---|
138 | </td> |
---|
139 | </tr> |
---|
140 | </table> |
---|
141 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
142 | <tr> |
---|
143 | <td> |
---|
144 | |
---|
145 | </td> |
---|
146 | <td> |
---|
147 | |
---|
148 | <p> |
---|
149 | </td> |
---|
150 | </tr> |
---|
151 | </table> |
---|
152 | <a class="anchor" name="a2" doxytag="Cube::PrepareDrawing"></a><p> |
---|
153 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
154 | <tr> |
---|
155 | <td class="mdRow"> |
---|
156 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
157 | <tr> |
---|
158 | <td class="md" nowrap valign="top">void Cube::PrepareDrawing </td> |
---|
159 | <td class="md" valign="top">( </td> |
---|
160 | <td class="mdname1" valign="top" nowrap> </td> |
---|
161 | <td class="md" valign="top"> ) </td> |
---|
162 | <td class="md" nowrap></td> |
---|
163 | </tr> |
---|
164 | </table> |
---|
165 | </td> |
---|
166 | </tr> |
---|
167 | </table> |
---|
168 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
169 | <tr> |
---|
170 | <td> |
---|
171 | |
---|
172 | </td> |
---|
173 | <td> |
---|
174 | |
---|
175 | <p> |
---|
176 | </td> |
---|
177 | </tr> |
---|
178 | </table> |
---|
179 | <hr><h2>Member Data Documentation</h2> |
---|
180 | <a class="anchor" name="r1" doxytag="Cube::hr"></a><p> |
---|
181 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
182 | <tr> |
---|
183 | <td class="mdRow"> |
---|
184 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
185 | <tr> |
---|
186 | <td class="md" nowrap valign="top">HRESULT <a class="el" href="class_cube.html#r1">Cube::hr</a><code> [private]</code> </td> |
---|
187 | </tr> |
---|
188 | </table> |
---|
189 | </td> |
---|
190 | </tr> |
---|
191 | </table> |
---|
192 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
193 | <tr> |
---|
194 | <td> |
---|
195 | |
---|
196 | </td> |
---|
197 | <td> |
---|
198 | |
---|
199 | <p> |
---|
200 | </td> |
---|
201 | </tr> |
---|
202 | </table> |
---|
203 | <a class="anchor" name="r0" doxytag="Cube::pd3dDevice"></a><p> |
---|
204 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
205 | <tr> |
---|
206 | <td class="mdRow"> |
---|
207 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
208 | <tr> |
---|
209 | <td class="md" nowrap valign="top">IDirect3DDevice9* <a class="el" href="class_cube.html#r0">Cube::pd3dDevice</a><code> [private]</code> </td> |
---|
210 | </tr> |
---|
211 | </table> |
---|
212 | </td> |
---|
213 | </tr> |
---|
214 | </table> |
---|
215 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
216 | <tr> |
---|
217 | <td> |
---|
218 | |
---|
219 | </td> |
---|
220 | <td> |
---|
221 | |
---|
222 | <p> |
---|
223 | </td> |
---|
224 | </tr> |
---|
225 | </table> |
---|
226 | <a class="anchor" name="o0" doxytag="Cube::pVertexBuffer"></a><p> |
---|
227 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
228 | <tr> |
---|
229 | <td class="mdRow"> |
---|
230 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
231 | <tr> |
---|
232 | <td class="md" nowrap valign="top">IDirect3DVertexBuffer9* <a class="el" href="class_cube.html#o0">Cube::pVertexBuffer</a> </td> |
---|
233 | </tr> |
---|
234 | </table> |
---|
235 | </td> |
---|
236 | </tr> |
---|
237 | </table> |
---|
238 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
239 | <tr> |
---|
240 | <td> |
---|
241 | |
---|
242 | </td> |
---|
243 | <td> |
---|
244 | |
---|
245 | <p> |
---|
246 | </td> |
---|
247 | </tr> |
---|
248 | </table> |
---|
249 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
250 | <li><a class="el" href="_cube_8h.html">Cube.h</a><li><a class="el" href="_cube_8cpp.html">Cube.cpp</a></ul> |
---|
251 | <hr size="1"><address style="align: right;"><small>Generated on Wed Aug 23 00:00:39 2006 for Indirect Environment Mapping by |
---|
252 | <a href="http://www.doxygen.org/index.html"> |
---|
253 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
---|
254 | </body> |
---|
255 | </html> |
---|