1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nw::gfx::SceneContext</title> 49 </head> 50 <body> 51 <h1><CODE>nw::gfx::SceneContext</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class SceneContext : public <a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a></pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Class for storing content during a scene analysis.</p> 59 </div> 60 <a name="class" id="class"> 61 <h2>Classes</h2> 62 <div class="section"> 63 <table class="members"> 64 <tr> 65 <th> 66 <a href="../../../nw/gfx/SceneContext/Builder/Overview.html"><CODE>nw::gfx::SceneContext::Builder</CODE></a> 67 </th> 68 <td>Class for building scene context classes.</td> 69 </tr> </table> 70 </div> 71 </a> <a name="function" id="function"> 72 <h2>Member Functions</h2> 73 <div class="section"> 74 <table class="members"> 75 <tr> 76 <th class="category" colspan="3">Update</th> 77 </tr> 78 <tr> 79 <td width="100"> </td> 80 <th> 81 <a href="../../../nw/gfx/SceneContext/Clear.html"><CODE>Clear</CODE></a> 82 </th> 83 <td>Clears the scene analysis results.</td> 84 </tr> 85 <tr> 86 <th class="category" colspan="3">Set/Get</th> 87 </tr> 88 <tr> 89 <td width="100"> </td> 90 <th> 91 <a href="../../../nw/gfx/SceneContext/PushSceneNode.html"><CODE>PushSceneNode</CODE></a> 92 </th> 93 <td>Adds a serialized scene node.</td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98 <a href="../../../nw/gfx/SceneContext/GetSceneNodesBegin.html"><CODE>GetSceneNodesBegin</CODE></a> 99 </th> 100 <td>Gets the interator pointing to the start of the serialized scene nodes.</td> 101 </tr> 102 <tr> 103 <td width="100"> </td> 104 <th> 105 <a href="../../../nw/gfx/SceneContext/GetSceneNodesEnd.html"><CODE>GetSceneNodesEnd</CODE></a> 106 </th> 107 <td>Gets the interator pointing to the end of the serialized scene nodes.</td> 108 </tr> 109 <tr> 110 <td width="100"> </td> 111 <th> 112 <a href="../../../nw/gfx/SceneContext/GetSceneNodes.html"><CODE>GetSceneNodes</CODE></a> 113 </th> 114 <td>Gets the interators pointing to the start and end of the serialized scene nodes.</td> 115 </tr> 116 <tr> 117 <th class="category" colspan="3">Model-related</th> 118 </tr> 119 <tr> 120 <td width="100"> </td> 121 <th> 122 <a href="../../../nw/gfx/SceneContext/PushModel.html">PushModel</a> 123 </th> 124 <td>Adds a model. Here, the term "model" includes the derived class (i.e., <CODE>SkeletalModel</CODE>, etc.)</td> 125 </tr> 126 <tr> 127 <td width="100"> </td> 128 <th> 129 <a href="../../../nw/gfx/SceneContext/GetModelsBegin.html">GetModelsBegin</a> 130 </th> 131 <td>Gets the iterator pointing to the start of the model.</td> 132 </tr> 133 <tr> 134 <td width="100"> </td> 135 <th> 136 <a href="../../../nw/gfx/SceneContext/GetModelsEnd.html">GetModelsEnd</a> 137 </th> 138 <td>Gets the iterator pointing to the end of the model.</td> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143 <a href="../../../nw/gfx/SceneContext/PushSkeletalModel.html">PushSkeletalModel</a> 144 </th> 145 <td>Adds a skeletal model.</td> 146 </tr> 147 <tr> 148 <td width="100"> </td> 149 <th> 150 <a href="../../../nw/gfx/SceneContext/GetSkeletalModelsBegin.html">GetSkeletalModelsBegin</a> 151 </th> 152 <td>Gets the iterator pointing to the start of the skeletal model.</td> 153 </tr> 154 <tr> 155 <td width="100"> </td> 156 <th> 157 <a href="../../../nw/gfx/SceneContext/GetSkeletalModelsEnd.html">GetSkeletalModelsEnd</a> 158 </th> 159 <td>Gets the iterator pointing to the end of the skeletal model.</td> 160 </tr> 161 <tr> 162 <th class="category" colspan="3">Light-Related</th> 163 </tr> 164 <tr> 165 <td width="100"> </td> 166 <th> 167 <a href="../../../nw/gfx/SceneContext/PushLight.html">PushLight</a> 168 </th> 169 <td>Adds a light. Here, the term "light" includes derived classes (i.e., FragmentLight, etc.)</td> 170 </tr> 171 <tr> 172 <td width="100"> </td> 173 <th> 174 <a href="../../../nw/gfx/SceneContext/GetLightsBegin.html">GetLightsBegin</a> 175 </th> 176 <td>Gets the iterator pointing to the start of the light.</td> 177 </tr> 178 <tr> 179 <td width="100"> </td> 180 <th> 181 <a href="../../../nw/gfx/SceneContext/GetLightsEnd.html">GetLightsEnd</a> 182 </th> 183 <td>Gets the iterator pointing to the end of the light.</td> 184 </tr> 185 <tr> 186 <td width="100"> </td> 187 <th> 188 <a href="../../../nw/gfx/SceneContext/PushFragmentLight.html"><CODE>PushFragmentLight</CODE></a> 189 </th> 190 <td>Adds a fragment light.</td> 191 </tr> 192 <tr> 193 <td width="100"> </td> 194 <th> 195 <a href="../../../nw/gfx/SceneContext/GetFragmentLightsBegin.html"><CODE>GetFragmentLightsBegin</CODE></a> 196 </th> 197 <td>Gets the iterator pointing to the start of the fragment light.</td> 198 </tr> 199 <tr> 200 <td width="100"> </td> 201 <th> 202 <a href="../../../nw/gfx/SceneContext/GetFragmentLightsEnd.html"><CODE>GetFragmentLightsEnd</CODE></a> 203 </th> 204 <td>Gets the iterator pointing to the end of the fragment light.</td> 205 </tr> 206 <tr> 207 <td width="100"> </td> 208 <th> 209 <a href="../../../nw/gfx/SceneContext/PushVertexLight.html"><CODE>PushVertexLight</CODE></a> 210 </th> 211 <td>Adds a vertex light.</td> 212 </tr> 213 <tr> 214 <td width="100"> </td> 215 <th> 216 <a href="../../../nw/gfx/SceneContext/GetVertexLightsBegin.html"><CODE>GetVertexLightsBegin</CODE></a> 217 </th> 218 <td>Gets the iterator pointing to the start of the vertex light.</td> 219 </tr> 220 <tr> 221 <td width="100"> </td> 222 <th> 223 <a href="../../../nw/gfx/SceneContext/GetVertexLightsEnd.html"><CODE>GetVertexLightsEnd</CODE></a> 224 </th> 225 <td>Gets the iterator pointing to the end of the vertex light.</td> 226 </tr> 227 <tr> 228 <td width="100"> </td> 229 <th> 230 <a href="../../../nw/gfx/SceneContext/PushHemiSphereLight.html"><CODE>PushHemiSphereLight</CODE></a> 231 </th> 232 <td>Adds a hemispherical light.</td> 233 </tr> 234 <tr> 235 <td width="100"> </td> 236 <th> 237 <a href="../../../nw/gfx/SceneContext/GetHemiSphereLightsBegin.html"><CODE>GetHemiSphereLightsBegin</CODE></a> 238 </th> 239 <td>Gets the iterator pointing to the start of the hemispherical light.</td> 240 </tr> 241 <tr> 242 <td width="100"> </td> 243 <th> 244 <a href="../../../nw/gfx/SceneContext/GetHemiSphereLightsEnd.html"><CODE>GetHemiSphereLightsEnd</CODE></a> 245 </th> 246 <td>Gets the iterator pointing to the end of the hemispherical light.</td> 247 </tr> 248 <tr> 249 <td width="100"> </td> 250 <th> 251 <a href="../../../nw/gfx/SceneContext/PushAmbientLight.html"><CODE>PushAmbientLight</CODE></a> 252 </th> 253 <td>Adds an ambient light.</td> 254 </tr> 255 <tr> 256 <td width="100"> </td> 257 <th> 258 <a href="../../../nw/gfx/SceneContext/GetAmbientLightsBegin.html"><CODE>GetAmbientLightsBegin</CODE></a> 259 </th> 260 <td>Gets the iterator pointing to the start of the ambient light.</td> 261 </tr> 262 <tr> 263 <td width="100"> </td> 264 <th> 265 <a href="../../../nw/gfx/SceneContext/GetAmbientLightsEnd.html"><CODE>GetAmbientLightsEnd</CODE></a> 266 </th> 267 <td>Gets the iterator pointing to the end of the ambient light.</td> 268 </tr> 269 <tr> 270 <th class="category" colspan="3">Camera-Related</th> 271 </tr> 272 <tr> 273 <td width="100"> </td> 274 <th> 275 <a href="../../../nw/gfx/SceneContext/PushCamera.html"><CODE>PushCamera</CODE></a> 276 </th> 277 <td>Adds a camera.</td> 278 </tr> 279 <tr> 280 <td width="100"> </td> 281 <th> 282 <a href="../../../nw/gfx/SceneContext/GetCameraBegin.html"><CODE>GetCameraBegin</CODE></a> 283 </th> 284 <td>Gets the iterator pointing to the start of the camera.</td> 285 </tr> 286 <tr> 287 <td width="100"> </td> 288 <th> 289 <a href="../../../nw/gfx/SceneContext/GetCameraEnd.html"><CODE>GetCameraEnd</CODE></a> 290 </th> 291 <td>Gets the iterator pointing to the end of the camera.</td> 292 </tr> 293 <tr> 294 <th class="category" colspan="3">Fog-Related</th> 295 </tr> 296 <tr> 297 <td width="100"> </td> 298 <th> 299 <a href="../../../nw/gfx/SceneContext/PushFog.html"><CODE>PushFog</CODE></a> 300 </th> 301 <td>Adds a fog object.</td> 302 </tr> 303 <tr> 304 <td width="100"> </td> 305 <th> 306 <a href="../../../nw/gfx/SceneContext/GetFogBegin.html"><CODE>GetFogBegin</CODE></a> 307 </th> 308 <td>Gets the iterator pointing to the start of the fog.</td> 309 </tr> 310 <tr> 311 <td width="100"> </td> 312 <th> 313 <a href="../../../nw/gfx/SceneContext/GetFogEnd.html"><CODE>GetFogEnd</CODE></a> 314 </th> 315 <td>Gets the iterator pointing to the end of the fog.</td> 316 </tr> 317 <tr> 318 <th class="category" colspan="3">Particle Set-Related</th> 319 </tr> 320 <tr> 321 <td width="100"> </td> 322 <th> 323 <a href="../../../nw/gfx/SceneContext/PushParticleSet.html"><CODE>PushParticleSet</CODE></a> 324 </th> 325 <td>Adds a particle set.</td> 326 </tr> 327 <tr> 328 <td width="100"> </td> 329 <th> 330 <a href="../../../nw/gfx/SceneContext/GetParticleSetBegin.html"><CODE>GetParticleSetBegin</CODE></a> 331 </th> 332 <td>Gets the iterator pointing to the start of the particle set.</td> 333 </tr> 334 <tr> 335 <td width="100"> </td> 336 <th> 337 <a href="../../../nw/gfx/SceneContext/GetParticleSetEnd.html"><CODE>GetParticleSetEnd</CODE></a> 338 </th> 339 <td>Gets the iterator pointing to the end of the particle set.</td> 340 </tr> 341 <tr> 342 <th class="category" colspan="3">Particle emitter-related</th> 343 </tr> 344 <tr> 345 <td width="100"> </td> 346 <th> 347 <a href="../../../nw/gfx/SceneContext/PushParticleEmitter.html">PushParticleEmitter</a> 348 </th> 349 <td>Adds a particle emitter.</td> 350 </tr> 351 <tr> 352 <td width="100"> </td> 353 <th> 354 <a href="../../../nw/gfx/SceneContext/GetParticleEmitterBegin.html">GetParticleEmitterBegin</a> 355 </th> 356 <td>Gets the iterator pointing to the start of the particle emitter.</td> 357 </tr> 358 <tr> 359 <td width="100"> </td> 360 <th> 361 <a href="../../../nw/gfx/SceneContext/GetParticleEmitterEnd.html">GetParticleEmitterEnd</a> 362 </th> 363 <td>Gets the iterator pointing to the end of the particle emitter.</td> 364 </tr> 365 <tr> 366 <th class="category" colspan="3">Particle model-related</th> 367 </tr> 368 <tr> 369 <td width="100"> </td> 370 <th> 371 <a href="../../../nw/gfx/SceneContext/PushParticleModel.html">PushParticleModel</a> 372 </th> 373 <td>Adds a particle model.</td> 374 </tr> 375 <tr> 376 <td width="100"> </td> 377 <th> 378 <a href="../../../nw/gfx/SceneContext/GetParticleModelBegin.html">GetParticleModelBegin</a> 379 </th> 380 <td>Gets the iterator pointing to the start of the particle model.</td> 381 </tr> 382 <tr> 383 <td width="100"> </td> 384 <th> 385 <a href="../../../nw/gfx/SceneContext/GetParticleModelEnd.html">GetParticleModelEnd</a> 386 </th> 387 <td>Gets the iterator pointing to the end of the particle emitter.</td> 388 </tr> 389 <tr> 390 <th class="category" colspan="3">Animation-related</th> 391 </tr> 392 <tr> 393 <td width="100"> </td> 394 <th> 395 <a href="../../../nw/gfx/SceneContext/PushAnimatableNode.html">PushAnimatableNode</a> 396 </th> 397 <td>Adds a node to be animated.</td> 398 </tr> 399 <tr> 400 <td width="100"> </td> 401 <th> 402 <a href="../../../nw/gfx/SceneContext/GetAnimatableNodesBegin.html">GetAnimatableNodesBegin</a> 403 </th> 404 <td>Gets an iterator pointing to the start of the node to be animated.</td> 405 </tr> 406 <tr> 407 <td width="100"> </td> 408 <th> 409 <a href="../../../nw/gfx/SceneContext/GetAnimatableNodesEnd.html">GetAnimatableNodesEnd</a> 410 </th> 411 <td>Gets an iterator pointing to the end of the node to be animated.</td> 412 </tr> 413 <tr> 414 <th class="category" colspan="3">Create/Destroy</th> 415 </tr> 416 <tr> 417 <td width="100"> </td> 418 <th> 419 <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a> 420 </th> 421 <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.</td> 422 </tr> </table> 423 </div> 424 </a> 425 <h2>Class Hierarchy</h2> 426 <div class="section"> 427 <p class="hierarchy"><a href="../../../nw/gfx/GfxObject/Overview.html">nw::gfx::GfxObject</a><br /> <b>nw::gfx::SceneContext</b> 428 </p> 429 </div> 430 <hr><p>CONFIDENTIAL</p></body> 431</html> 432