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 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::gfx::Model</title> 51 </head> 52 <body> 53 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::Model</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class Model : public <a href="../../../nw/gfx/TransformNode/Overview.html">nw::gfx::TransformNode</a></pre> 57 </div> 58 <h2>Description</h2> 59 <div class="section"> 60 <p>Class for representing objects that are displayed in a scene.</p> 61 </div> 62 <a name="struct" id="struct"> 63 <h2>Structures</h2> 64 <div class="section"> 65 <table class="members"> 66 <tr> 67 <th> 68 <a href="../../../nw/gfx/Model/Description/Overview.html"><CODE>nw::gfx::Model::Description</CODE></a> 69 </th> 70 <td>Content to configure.</td> 71 </tr> 72 <tr> 73 <th> 74 <a href="../../../nw/gfx/Model/IsVisibleModelDefaultFunctor/Overview.html"><CODE>nw::gfx::Model::IsVisibleModelDefaultFunctor</CODE></a> 75 </th> 76 <td>Default function object for checking the model display flag.</td> 77 </tr> </table> 78 </div> 79 </a> <a name="enum" id="enum"> 80 <h2>Enumerated Types</h2> 81 <div class="section"> 82 <table class="members"> 83 <tr> 84 <td width="100"> </td> 85 <th> 86 <a href="../../../nw/gfx/Model/BufferOption.html"><CODE>BufferOption</CODE></a> 87 </th> 88 <td>Definitions of bit formats for buffer options.</td> 89 </tr> 90 <tr> 91 <td width="100"> </td> 92 <th> 93 <a href="../../../nw/gfx/SceneNode/TraversalResults.html"><CODE>TraversalResults</CODE></a> 94 </th> 95 <td>Definition of the bit flag indicating the traversal results.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 96 </tr> </table> 97 </div> 98 </a> <a name="typedef" id="typedef"> 99 <h2><CODE>typedef</CODE> Definitions</h2> 100 <div class="section"> 101 <table class="members"> 102 <tr> 103 <th class="category" colspan="3">Material</th> 104 </tr> 105 <tr> 106 <td width="100" /> 107 <th> 108 <a href="../../../nw/gfx/Model/MaterialRange.html"><CODE>MaterialRange</CODE></a> 109 </th> 110 <td>Definition of a type that represents the range of a material list.</td> 111 </tr> 112 <tr> 113 <th class="category" colspan="3">Other</th> 114 </tr> 115 <tr> 116 <td width="100" /> 117 <th> 118 <a href="../../../nw/gfx/Model/RenderSignal.html"><CODE>RenderSignal</CODE></a> 119 </th> 120 <td>Definition of a callback slot that is called during rendering.</td> 121 </tr> 122 <tr> 123 <td width="100" /> 124 <th> 125 <a href="../../../nw/gfx/Model/RenderSlot.html"><CODE>RenderSlot</CODE></a> 126 </th> 127 <td>Definition of a callback slot that is called during rendering.</td> 128 </tr> 129 <tr> 130 <td width="100" /> 131 <th> 132 <a href="../../../nw/gfx/TransformNode/CalculateMatrixSignal.html"><CODE>CalculateMatrixSignal</CODE></a> 133 </th> 134 <td>Definition of a callback signal that is called during matrix calculation.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 135 </tr> 136 <tr> 137 <td width="100" /> 138 <th> 139 <a href="../../../nw/gfx/TransformNode/CalculateMatrixSlot.html"><CODE>CalculateMatrixSlot</CODE></a> 140 </th> 141 <td>Definition of a callback slot that is called during matrix calculation.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 142 </tr> 143 <tr> 144 <td width="100" /> 145 <th> 146 <a href="../../../nw/gfx/SceneNode/UpdateSignal.html"><CODE>UpdateSignal</CODE></a> 147 </th> 148 <td>Definition of a callback signal that is called during updates.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 149 </tr> 150 <tr> 151 <td width="100" /> 152 <th> 153 <a href="../../../nw/gfx/SceneNode/UpdateSlot.html"><CODE>UpdateSlot</CODE></a> 154 </th> 155 <td>Definition of a callback slot that is called during updates.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 156 </tr> </table> 157 </div> 158 </a> <a name="constant" id="constant"> 159 <h2>Member Constants</h2> 160 <div class="section"> 161 <table class="members"> 162 <tr> 163 <td width="100"> 164 <span class="static_style" title="static">S</span> 165 </td> 166 <th> 167 <span class="argument"><a href="../../../nw/gfx/SceneObject/DEFAULT_MAX_CHILDREN.html"><CODE>DEFAULT_MAX_CHILDREN</CODE></a></span> 168 </th> 169 <td width="100">const int</td> 170 <td>Maximum number of children when a fixed amount of memory is used.(Derived from <a href="../../../nw/gfx/SceneObject/Overview.html"><CODE>SceneObject</CODE></a>.)</td> 171 </tr> 172 <tr> 173 <td width="100"> 174 <span class="static_style" title="static">S</span> 175 </td> 176 <th> 177 <span class="argument"><a href="../../../nw/gfx/SceneObject/DEFAULT_MAX_CALLBACKS.html"><CODE>DEFAULT_MAX_CALLBACKS</CODE></a></span> 178 </th> 179 <td width="100">const int</td> 180 <td>Maximum number of callbacks when a fixed amount of memory is used.(Derived from <a href="../../../nw/gfx/SceneObject/Overview.html"><CODE>SceneObject</CODE></a>.)</td> 181 </tr> 182 <tr> 183 <td width="100"> 184 <span class="static_style" title="static">S</span> 185 </td> 186 <th> 187 <span class="argument"><a href="../../../nw/gfx/SceneObject/MAX_NAME_LENGTH.html"><CODE>MAX_NAME_LENGTH</CODE></a></span> 188 </th> 189 <td width="100">const int</td> 190 <td>Limit on names of scene objects.(Derived from <a href="../../../nw/gfx/SceneObject/Overview.html"><CODE>SceneObject</CODE></a>.)</td> 191 </tr> </table> 192 </div> 193 </a> <a name="variable" id="variable"> 194 <h2>Member Variables</h2> 195 <div class="section"> 196 <table class="members"> 197 <tr> 198 <td width="100"> </td> 199 <th> 200 <span class="argument"><CODE>NW_UT_RUNTIME_TYPEINFO</CODE></span> 201 </th> 202 <td width="100" /> 203 <td> 204 </td> 205 </tr> 206 <tr> 207 <td width="100"> 208 <span class="protected_style" title="protected">protected</span> </td> 209 <th> 210 <span class="argument">m_Children</span> 211 </th> 212 <td width="100"><a href="../../../nw/ut/Children/Overview.html"><CODE>SceneNodeChildren</CODE></a></td> 213 <td>Child nodes.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 214 </tr> 215 <tr> 216 <td width="100"> 217 <span class="protected_style" title="protected">protected</span> </td> 218 <th> 219 <span class="argument">m_AnimBinding</span> 220 </th> 221 <td width="100"><CODE><a href="../../../nw/gfx/GfxPtr/Overview.html">GfxPtr</a>< <a href="../../../nw/gfx/AnimBinding/Overview.html">AnimBinding</a> ></CODE></td> 222 <td>Animation binding.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 223 </tr> 224 <tr> 225 <td width="100"> 226 <span class="protected_style" title="protected">protected</span> </td> 227 <th> 228 <span class="argument">m_BranchVisible</span> 229 </th> 230 <td width="100">bool</td> 231 <td>Visibility of a branch and descendants.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 232 </tr> </table> 233 </div> 234 </a> <a name="function" id="function"> 235 <h2>Member Functions</h2> 236 <div class="section"> 237 <table class="members"> 238 <tr> 239 <th class="category" colspan="3">Callbacks</th> 240 </tr> 241 <tr> 242 <td width="100"> </td> 243 <th> 244 <a href="../../../nw/gfx/Model/PreRenderSignal.html"><CODE>PreRenderSignal</CODE></a> 245 </th> 246 <td>Gets the signal that is called before a model is rendered.</td> 247 </tr> 248 <tr> 249 <td width="100"> </td> 250 <th> 251 <a href="../../../nw/gfx/Model/PostRenderSignal.html"><CODE>PostRenderSignal</CODE></a> 252 </th> 253 <td>Gets the signal that is called after a model is rendered.</td> 254 </tr> 255 <tr> 256 <td width="100"> </td> 257 <th> 258 <a href="../../../nw/gfx/TransformNode/PostCalculateWorldMatrixSignal.html"><CODE>PostCalculateWorldMatrixSignal</CODE></a> 259 </th> 260 <td>Gets the signal after world matrix calculation.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 261 </tr> 262 <tr> 263 <td width="100"> </td> 264 <th> 265 <a href="../../../nw/gfx/SceneNode/PreUpdateSignal.html"><CODE>PreUpdateSignal</CODE></a> 266 </th> 267 <td>Gets the signal before the scene node is updated.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 268 </tr> 269 <tr> 270 <th class="category" colspan="3">Materials</th> 271 </tr> 272 <tr> 273 <td width="100"> </td> 274 <th> 275 <a href="../../../nw/gfx/Model/GetMaterials.html"><CODE>GetMaterials</CODE></a> 276 </th> 277 <td>Gets the start and end of a material list.</td> 278 </tr> 279 <tr> 280 <td width="100"> </td> 281 <th> 282 <a href="../../../nw/gfx/Model/GetMaterialCount.html"><CODE>GetMaterialCount</CODE></a> 283 </th> 284 <td>Gets the number of materials.</td> 285 </tr> 286 <tr> 287 <td width="100"> </td> 288 <th> 289 <a href="../../../nw/gfx/Model/GetMaterial.html"><CODE>GetMaterial</CODE></a> 290 </th> 291 <td>Gets the material with the specified index number.</td> 292 </tr> 293 <tr> 294 <td width="100"> </td> 295 <th> 296 <a href="../../../nw/gfx/Model/GetMaterialActivator.html"><CODE>GetMaterialActivator</CODE></a> 297 </th> 298 <td>Gets the material activator.</td> 299 </tr> 300 <tr> 301 <td width="100"> </td> 302 <th> 303 <a href="../../../nw/gfx/Model/SetMaterialActivator.html"><CODE>SetMaterialActivator</CODE></a> 304 </th> 305 <td>Transfers ownership and sets the material activator. The material activator is also destroyed if the model class is destroyed.</td> 306 </tr> 307 <tr> 308 <td width="100"> </td> 309 <th> 310 <a href="../../../nw/gfx/Model/SetSharedMaterialActivator.html"><CODE>SetSharedMaterialActivator</CODE></a> 311 </th> 312 <td>Sets the material activator without transferring ownership. Set here if the material activator is managed on the user side.</td> 313 </tr> 314 <tr> 315 <th class="category" colspan="3">Creation/Destruction</th> 316 </tr> 317 <tr> 318 <td width="100"> 319 <span class="static_style" title="static">S</span> </td> 320 <th> 321 <a href="../../../nw/gfx/Model/Create.html"><CODE>Create</CODE></a> 322 </th> 323 <td>Creates a model.</td> 324 </tr> 325 <tr> 326 <td width="100"> 327 <span class="static_style" title="static">S</span> </td> 328 <th> 329 <a href="../../../nw/gfx/Model/GetMemorySize.html"><CODE>GetMemorySize</CODE></a> 330 </th> 331 <td>Gets the memory size required at time of creation.</td> 332 </tr> 333 <tr> 334 <td width="100"> </td> 335 <th> 336 <a href="../../../nw/gfx/SceneNode/DestroyBranch.html"><CODE>DestroyBranch</CODE></a> 337 </th> 338 <td>Destroys all nodes on the current branch, including the current node.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 339 </tr> 340 <tr> 341 <td width="100"> </td> 342 <th> 343 <a href="../../../nw/gfx/GfxObject/Destroy.html"><CODE>Destroy</CODE></a> 344 </th> 345 <td>Destroys an object.(Derived from <a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>GfxObject</CODE></a>.)</td> 346 </tr> 347 <tr> 348 <th class="category" colspan="3">Scene Trees</th> 349 </tr> 350 <tr> 351 <td width="100"> <span class="virtual_style" title="virtual">V</span> 352 </td> 353 <th> 354 <a href="../../../nw/gfx/Model/Accept.html"><CODE>Accept</CODE></a> 355 </th> 356 <td>Accepts visitors.</td> 357 </tr> 358 <tr> 359 <td width="100"> <span class="virtual_style" title="virtual">V</span> 360 </td> 361 <th> 362 <a href="../../../nw/gfx/Model/TrackbackWorldMatrix.html"><CODE>TrackbackWorldMatrix</CODE></a> 363 </th> 364 <td>Tracks back to the parent node and gets the world matrix.</td> 365 </tr> 366 <tr> 367 <td width="100"> <span class="virtual_style" title="virtual">V</span> 368 </td> 369 <th> 370 <a href="../../../nw/gfx/Model/TrackbackWorldTransform.html"><CODE>TrackbackWorldTransform</CODE></a> 371 </th> 372 <td>Tracks back to the parent node and gets the world transform.</td> 373 </tr> 374 <tr> 375 <td width="100"> <span class="virtual_style" title="virtual">V</span> 376 </td> 377 <th> 378 <a href="../../../nw/gfx/Model/TrackbackLocalTransform.html"><CODE>TrackbackLocalTransform</CODE></a> 379 </th> 380 <td>Tracks back to the parent node and gets the local transform.</td> 381 </tr> 382 <tr> 383 <td width="100"> <span class="virtual_style" title="virtual">V</span> 384 </td> 385 <th> 386 <a href="../../../nw/gfx/Model/InheritTraversalResults.html"><CODE>InheritTraversalResults</CODE></a> 387 </th> 388 <td>Inherits transform information from the parent node.</td> 389 </tr> 390 <tr> 391 <td width="100"> </td> 392 <th> 393 <a href="../../../nw/gfx/SceneNode/AttachChild.html"><CODE>AttachChild</CODE></a> 394 </th> 395 <td>Attaches a child.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 396 </tr> 397 <tr> 398 <td width="100"> </td> 399 <th> 400 <a href="../../../nw/gfx/SceneNode/DetachChild.html"><CODE>DetachChild</CODE></a> 401 </th> 402 <td>Removes a child.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 403 </tr> 404 <tr> 405 <td width="100"> </td> 406 <th> 407 <a href="../../../nw/gfx/SceneNode/GetChildBegin.html"><CODE>GetChildBegin</CODE></a> 408 </th> 409 <td>Gets the beginning of a child.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 410 </tr> 411 <tr> 412 <td width="100"> </td> 413 <th> 414 <a href="../../../nw/gfx/SceneNode/GetChildEnd.html"><CODE>GetChildEnd</CODE></a> 415 </th> 416 <td>Gets the end of a child.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 417 </tr> 418 <tr> 419 <td width="100"> </td> 420 <th> 421 <a href="../../../nw/gfx/SceneNode/DetachAllChildren.html"><CODE>DetachAllChildren</CODE></a> 422 </th> 423 <td>Removes all children.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 424 </tr> 425 <tr> 426 <th class="category" colspan="3">Resources</th> 427 </tr> 428 <tr> 429 <td width="100"> </td> 430 <th> 431 <a href="../../../nw/gfx/Model/GetResModel.html"><CODE>GetResModel</CODE></a> 432 </th> 433 <td>Gets the model resource.</td> 434 </tr> 435 <tr> 436 <td width="100"> </td> 437 <th> 438 <a href="../../../nw/gfx/Model/GetResMeshes.html"><CODE>GetResMeshes</CODE></a> 439 </th> 440 <td>Gets an array of mesh resources.</td> 441 </tr> 442 <tr> 443 <td width="100"> </td> 444 <th> 445 <a href="../../../nw/gfx/Model/GetResMeshNodeVisibilities.html"><CODE>GetResMeshNodeVisibilities</CODE></a> 446 </th> 447 <td>Gets the <CODE>MeshNodeVisibility</CODE> resource at the specified index.</td> 448 </tr> 449 <tr> 450 <td width="100"> </td> 451 <th> 452 <a href="../../../nw/gfx/TransformNode/GetResTransformNode.html"><CODE>GetResTransformNode</CODE></a> 453 </th> 454 <td>Gets the transform node resource.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 455 </tr> 456 <tr> 457 <td width="100"> </td> 458 <th> 459 <a href="../../../nw/gfx/SceneNode/GetResSceneNode.html"><CODE>GetResSceneNode</CODE></a> 460 </th> 461 <td>Gets the scene node resource.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 462 </tr> 463 <tr> 464 <td width="100"> </td> 465 <th> 466 <a href="../../../nw/gfx/SceneObject/GetResSceneObject.html"><CODE>GetResSceneObject</CODE></a> 467 </th> 468 <td>Gets the scene object resource.(Derived from <a href="../../../nw/gfx/SceneObject/Overview.html"><CODE>SceneObject</CODE></a>.)</td> 469 </tr> 470 <tr> 471 <td width="100"> </td> 472 <th> 473 <a href="../../../nw/gfx/SceneObject/GetName.html"><CODE>GetName</CODE></a> 474 </th> 475 <td>Gets the name from the resource.(Derived from <a href="../../../nw/gfx/SceneObject/Overview.html"><CODE>SceneObject</CODE></a>.)</td> 476 </tr> 477 <tr> 478 <th class="category" colspan="3">Animation</th> 479 </tr> 480 <tr> 481 <td width="100"> </td> 482 <th> 483 <a href="../../../nw/gfx/Model/GetMaterialAnimGroup.html"><CODE>GetMaterialAnimGroup</CODE></a> 484 </th> 485 <td>Gets a material animation group.</td> 486 </tr> 487 <tr> 488 <td width="100"> </td> 489 <th> 490 <a href="../../../nw/gfx/Model/GetMaterialAnimBindingIndex.html"><CODE>GetMaterialAnimBindingIndex</CODE></a> 491 </th> 492 <td>Gets the index among the animation bindings of a material animation group.</td> 493 </tr> 494 <tr> 495 <td width="100"> </td> 496 <th> 497 <a href="../../../nw/gfx/Model/GetMaterialAnimObject.html"><CODE>GetMaterialAnimObject</CODE></a> 498 </th> 499 <td>Gets a material animation object.</td> 500 </tr> 501 <tr> 502 <td width="100"> </td> 503 <th> 504 <a href="../../../nw/gfx/Model/SetMaterialAnimObject.html"><CODE>SetMaterialAnimObject</CODE></a> 505 </th> 506 <td>Configures a material animation object.</td> 507 </tr> 508 <tr> 509 <td width="100"> </td> 510 <th> 511 <a href="../../../nw/gfx/Model/GetVisibilityAnimGroup.html"><CODE>GetVisibilityAnimGroup</CODE></a> 512 </th> 513 <td>Gets a visibility animation group.</td> 514 </tr> 515 <tr> 516 <td width="100"> </td> 517 <th> 518 <a href="../../../nw/gfx/Model/GetVisibilityAnimBindingIndex.html"><CODE>GetVisibilityAnimBindingIndex</CODE></a> 519 </th> 520 <td>Gets the animation binding index of a visibility animation group.</td> 521 </tr> 522 <tr> 523 <td width="100"> </td> 524 <th> 525 <a href="../../../nw/gfx/Model/GetVisibilityAnimObject.html"><CODE>GetVisibilityAnimObject</CODE></a> 526 </th> 527 <td>Gets a visibility animation object.</td> 528 </tr> 529 <tr> 530 <td width="100"> </td> 531 <th> 532 <a href="../../../nw/gfx/Model/SetVisibilityAnimObject.html"><CODE>SetVisibilityAnimObject</CODE></a> 533 </th> 534 <td>Sets a visibility animation object.</td> 535 </tr> 536 <tr> 537 <td width="100"> </td> 538 <th> 539 <a href="../../../nw/gfx/SceneNode/GetAnimBinding.html"><CODE>GetAnimBinding</CODE></a> 540 </th> 541 <td>Gets the animation binding.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 542 </tr> 543 <tr> 544 <td width="100"> </td> 545 <th> 546 <a href="../../../nw/gfx/SceneNode/SetAnimBinding.html"><CODE>SetAnimBinding</CODE></a> 547 </th> 548 <td>Sets the animation binding.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 549 </tr> 550 <tr> 551 <td width="100"> </td> 552 <th> 553 <a href="../../../nw/gfx/SceneNode/UpdateFrame.html"><CODE>UpdateFrame</CODE></a> 554 </th> 555 <td>Updates the frames for all configured animation objects.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 556 </tr> 557 <tr> 558 <th class="category" colspan="3">Buffer Options</th> 559 </tr> 560 <tr> 561 <td width="100"> </td> 562 <th> 563 <a href="../../../nw/gfx/Model/CheckBufferOption.html"><CODE>CheckBufferOption</CODE></a> 564 </th> 565 <td>Checks the buffer option.</td> 566 </tr> 567 <tr> 568 <td width="100"> </td> 569 <th> 570 <a href="../../../nw/gfx/Model/GetBufferOption.html"><CODE>GetBufferOption</CODE></a> 571 </th> 572 <td>Gets the buffer option.</td> 573 </tr> 574 <tr> 575 <th class="category" colspan="3">Matrices</th> 576 </tr> 577 <tr> 578 <td width="100"> </td> 579 <th> 580 <a href="../../../nw/gfx/Model/ModelViewMatrix.html"><CODE>ModelViewMatrix</CODE></a> 581 </th> 582 <td>Gets the modelview matrix.</td> 583 </tr> 584 <tr> 585 <td width="100"> </td> 586 <th> 587 <a href="../../../nw/gfx/Model/NormalMatrix.html"><CODE>NormalMatrix</CODE></a> 588 </th> 589 <td>Gets the normal matrix.</td> 590 </tr> 591 <tr> 592 <td width="100"> </td> 593 <th> 594 <a href="../../../nw/gfx/Model/UpdateModelViewMatrixAndNormalMatrix.html"><CODE>UpdateModelViewMatrixAndNormalMatrix</CODE></a> 595 </th> 596 <td>Updates the modelview matrix and the normal matrix.</td> 597 </tr> 598 <tr> 599 <th class="category" colspan="3">Layers</th> 600 </tr> 601 <tr> 602 <td width="100"> </td> 603 <th> 604 <a href="../../../nw/gfx/Model/GetLayerId.html"><CODE>GetLayerId</CODE></a> 605 </th> 606 <td>Gets the layer ID.</td> 607 </tr> 608 <tr> 609 <td width="100"> </td> 610 <th> 611 <a href="../../../nw/gfx/Model/SetLayerId.html"><CODE>SetLayerId</CODE></a> 612 </th> 613 <td>Sets the layer ID.</td> 614 </tr> 615 <tr> 616 <td width="100"> </td> 617 <th> 618 <a href="../../../nw/gfx/Model/GetRenderLayerId.html"><CODE>GetRenderLayerId</CODE></a> 619 </th> 620 <td>Gets the render layer value of the mesh.</td> 621 </tr> 622 <tr> 623 <th class="category" colspan="3">Rendering</th> 624 </tr> 625 <tr> 626 <td width="100"> </td> 627 <th> 628 <a href="../../../nw/gfx/Model/IsVisible.html"><CODE>IsVisible</CODE></a> 629 </th> 630 <td>Gets a flag indicating whether to render the model.</td> 631 </tr> 632 <tr> 633 <td width="100"> </td> 634 <th> 635 <a href="../../../nw/gfx/Model/SetVisible.html"><CODE>SetVisible</CODE></a> 636 </th> 637 <td>Sets a flag indicating whether to render the model.</td> 638 </tr> 639 <tr> 640 <td width="100"> </td> 641 <th> 642 <a href="../../../nw/gfx/Model/IsMeshVisible.html"><CODE>IsMeshVisible</CODE></a> 643 </th> 644 <td>Gets a flag indicating whether to render the mesh.</td> 645 </tr> 646 <tr> 647 <td width="100"> </td> 648 <th> 649 <a href="../../../nw/gfx/Model/InvalidateRenderKeyCache.html"><CODE>InvalidateRenderKeyCache</CODE></a> 650 </th> 651 <td>Disables the key cache used for render sorting.</td> 652 </tr> 653 <tr> 654 <th class="category" colspan="3">User Parameters</th> 655 </tr> 656 <tr> 657 <td width="100"> </td> 658 <th> 659 <a href="../../../nw/gfx/Model/GetUserParameter.html"><CODE>GetUserParameter</CODE></a> 660 </th> 661 <td>Gets user parameters.</td> 662 </tr> 663 <tr> 664 <td width="100"> </td> 665 <th> 666 <a href="../../../nw/gfx/Model/SetUserParameter.html"><CODE>SetUserParameter</CODE></a> 667 </th> 668 <td>Sets user parameters.</td> 669 </tr> 670 <tr> 671 <th class="category" colspan="3">Transforms</th> 672 </tr> 673 <tr> 674 <td width="100"> </td> 675 <th> 676 <a href="../../../nw/gfx/TransformNode/Transform.html"><CODE>Transform</CODE></a> 677 </th> 678 <td>Gets the transformation info.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 679 </tr> 680 <tr> 681 <td width="100"> </td> 682 <th> 683 <a href="../../../nw/gfx/TransformNode/WorldMatrix.html"><CODE>WorldMatrix</CODE></a> 684 </th> 685 <td>Gets the world matrix.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 686 </tr> 687 <tr> 688 <td width="100"> </td> 689 <th> 690 <a href="../../../nw/gfx/TransformNode/WorldTransform.html"><CODE>WorldTransform</CODE></a> 691 </th> 692 <td>Gets the detailed transformation info after <CODE>WorldMatrix</CODE> calculation.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 693 </tr> 694 <tr> 695 <td width="100"> </td> 696 <th> 697 <a href="../../../nw/gfx/TransformNode/InverseWorldMatrix.html"><CODE>InverseWorldMatrix</CODE></a> 698 </th> 699 <td>Gets the inverse matrix of the world matrix. Uses a cache the second time it is called and thereafter.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 700 </tr> 701 <tr> 702 <td width="100"> </td> 703 <th> 704 <a href="../../../nw/gfx/TransformNode/InvalidateInverseWorldMatrix.html"><CODE>InvalidateInverseWorldMatrix</CODE></a> 705 </th> 706 <td>Invalidates the cache used for the inverse matrix of the world matrix. (Call this when updating the world matrix.)(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 707 </tr> 708 <tr> 709 <td width="100"> <span class="virtual_style" title="virtual">V</span> 710 </td> 711 <th> 712 <a href="../../../nw/gfx/Model/UpdateDirection.html"><CODE>UpdateDirection</CODE></a> 713 </th> 714 <td>Updates direction information.</td> 715 </tr> 716 <tr> 717 <td width="100"> <span class="virtual_style" title="virtual">V</span> 718 </td> 719 <th> 720 <a href="../../../nw/gfx/Model/UpdateTransform.html"><CODE>UpdateTransform</CODE></a> 721 </th> 722 <td>Updates transform information.</td> 723 </tr> 724 <tr> 725 <td width="100"> </td> 726 <th> 727 <a href="../../../nw/gfx/TransformNode/SetResourceBasedTransform.html"><CODE>SetResourceBasedTransform</CODE></a> 728 </th> 729 <td>Sets a transform based on a resource's transform information.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 730 </tr> 731 <tr> 732 <td width="100"> </td> 733 <th> 734 <a href="../../../nw/gfx/TransformNode/SetResourceScaledTransform.html"><CODE>SetResourceScaledTransform</CODE></a> 735 </th> 736 <td>Sets a transform based on a resource's transform information.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 737 </tr> 738 <tr> 739 <th class="category" colspan="3">Traverses</th> 740 </tr> 741 <tr> 742 <td width="100"> </td> 743 <th> 744 <a href="../../../nw/gfx/SceneNode/GetTraversalResults.html"><CODE>GetTraversalResults</CODE></a> 745 </th> 746 <td>Gets the results of a traversal.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 747 </tr> 748 <tr> 749 <td width="100"> </td> 750 <th> 751 <a href="../../../nw/gfx/SceneNode/SetTraversalResults.html"><CODE>SetTraversalResults</CODE></a> 752 </th> 753 <td>Sets the results of a traversal.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 754 </tr> 755 <tr> 756 <td width="100"> </td> 757 <th> 758 <a href="../../../nw/gfx/SceneNode/IsEnabledResults.html"><CODE>IsEnabledResults</CODE></a> 759 </th> 760 <td>Gets a value indicating whether a given traversal result is enabled.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 761 </tr> 762 <tr> 763 <td width="100"> </td> 764 <th> 765 <a href="../../../nw/gfx/SceneNode/EnableTraversalResults.html"><CODE>EnableTraversalResults</CODE></a> 766 </th> 767 <td>Enables the results of a traversal.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 768 </tr> 769 <tr> 770 <td width="100"> </td> 771 <th> 772 <a href="../../../nw/gfx/SceneNode/DisableTraversalResults.html"><CODE>DisableTraversalResults</CODE></a> 773 </th> 774 <td>Disables the results of a traversal.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 775 </tr> 776 <tr> 777 <td width="100"> </td> 778 <th> 779 <a href="../../../nw/gfx/SceneNode/ResetTraversalResults.html"><CODE>ResetTraversalResults</CODE></a> 780 </th> 781 <td>Copies the result of traversal from a node.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 782 </tr> 783 <tr> 784 <td width="100"> </td> 785 <th> 786 <a href="../../../nw/gfx/SceneNode/CopyTraversalResults.html"><CODE>CopyTraversalResults</CODE></a> 787 </th> 788 <td>Copies the result of traversal from a node.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 789 </tr> 790 <tr> 791 <td width="100"> </td> 792 <th> 793 <a href="../../../nw/gfx/SceneNode/SetBranchVisible.html"><CODE>SetBranchVisible</CODE></a> 794 </th> 795 <td>Sets the flag used to render the node and descendants.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 796 </tr> 797 <tr> 798 <td width="100"> </td> 799 <th> 800 <a href="../../../nw/gfx/SceneNode/IsBranchVisible.html"><CODE>IsBranchVisible</CODE></a> 801 </th> 802 <td>Gets the flag used to render the node and descendants.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 803 </tr> 804 <tr> 805 <th class="category" colspan="3">Constructors and Destructors</th> 806 </tr> 807 <tr> 808 <td width="100"> 809 <span class="protected_style" title="protected">protected</span> </td> 810 <th> 811 <a href="../../../nw/gfx/Model/Model.html"><CODE>Model</CODE></a> 812 </th> 813 <td>Constructor.</td> 814 </tr> 815 <tr> 816 <td width="100"> 817 <span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span> 818 </td> 819 <th> 820 <a href="../../../nw/gfx/Model/~Model.html"><CODE>~Model</CODE></a> 821 </th> 822 <td>Destructor.</td> 823 </tr> 824 <tr> 825 <th class="category" colspan="3">Other</th> 826 </tr> 827 <tr> 828 <td width="100"> 829 <span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span> 830 </td> 831 <th> 832 <a href="../../../nw/gfx/Model/Initialize.html"><CODE>Initialize</CODE></a> 833 </th> 834 <td>Allocates memory for and initialized members.</td> 835 </tr> 836 <tr> 837 <td width="100"> 838 <span class="protected_style" title="protected">protected</span> </td> 839 <th> 840 <a href="../../../nw/gfx/TransformNode/CalcInheritingDiretion.html"><CODE>CalcInheritingDiretion</CODE></a> 841 </th> 842 <td>Calculates direction inherited from parent node conversion information.(Derived from <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>TransformNode</CODE></a>.)</td> 843 </tr> 844 <tr> 845 <td width="100"> 846 <span class="protected_style" title="protected">protected</span> </td> 847 <th> 848 <a href="../../../nw/gfx/SceneNode/IsCircularReference.html"><CODE>IsCircularReference</CODE></a> 849 </th> 850 <td>Returns <CODE>true</CODE> if there is a circular reference.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 851 </tr> 852 <tr> 853 <td width="100"> 854 <span class="protected_style" title="protected">protected</span> </td> 855 <th> 856 <a href="../../../nw/gfx/SceneNode/AcceptChildren.html"><CODE>AcceptChildren</CODE></a> 857 </th> 858 <td>Makes all nodes accept visitors.(Derived from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>SceneNode</CODE></a>.)</td> 859 </tr> </table> 860 </div> 861 </a> 862 <h2>Class Hierarchy</h2> 863 <div class="section"> 864 <p class="hierarchy"><a href="../../../nw/gfx/GfxObject/Overview.html"><CODE>nw::gfx::GfxObject</CODE></a><br /> <a href="../../../nw/gfx/SceneObject/Overview.html"><CODE>nw::gfx::SceneObject</CODE></a><br /> <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>nw::gfx::SceneNode</CODE></a><br /> <a href="../../../nw/gfx/TransformNode/Overview.html"><CODE>nw::gfx::TransformNode</CODE></a><br /> <b><CODE>nw::gfx::Model</CODE></b> 865 </p> 866 </div> 867 <hr><p>CONFIDENTIAL</p></body> 868</html>