The purpose of this model is to do nothing in traverse*() but traverseSons() for Hrc and Clip. More...
#include <root_model.h>
Inherits NL3D::CTransform.
Public Member Functions | |
CTransform traverse specialisation | |
| virtual void | traverseHrc () |
| Each method is called in its associated traversal. | |
| virtual void | traverseClip () |
| The base traverseClip method. | |
| virtual void | traverseAnimDetail () |
| call updateWorldMatrixFromFather(), then traverseAnimDetailWithoutUpdateWorldMatrix() | |
| virtual void | traverseLoadBalancing () |
| no-op by default | |
| virtual void | traverseLight () |
| traverse the lightedModel per default: recompute LightContribution is isLightable() | |
| virtual void | traverseRender () |
| no-op by default | |
Static Public Member Functions | |
| static void | registerBasic () |
| Call at the begining of the program, to register the model. | |
Protected Member Functions | |
| CRootModel () | |
| Constructor. | |
| virtual | ~CRootModel () |
| Destructor. | |
Static Private Member Functions | |
| static CTransform * | creator () |
The purpose of this model is to do nothing in traverse*() but traverseSons() for Hrc and Clip.
Definition at line 46 of file root_model.h.
| NL3D::CRootModel::CRootModel | ( | ) | [inline, protected] |
Constructor.
Definition at line 66 of file root_model.h.
| virtual NL3D::CRootModel::~CRootModel | ( | ) | [inline, protected, virtual] |
Destructor.
Definition at line 68 of file root_model.h.
| static CTransform* NL3D::CRootModel::creator | ( | ) | [inline, static, private] |
Reimplemented from NL3D::CTransform.
Definition at line 71 of file root_model.h.
Referenced by registerBasic().
| void NL3D::CRootModel::registerBasic | ( | ) | [static] |
Call at the begining of the program, to register the model.
Reimplemented from NL3D::CTransform.
Definition at line 34 of file root_model.cpp.
References creator(), NL3D::CScene::registerModel(), and NL3D::RootModelId.
Referenced by NL3D::CScene::registerBasics().
| void NL3D::CRootModel::traverseAnimDetail | ( | ) | [virtual] |
call updateWorldMatrixFromFather(), then traverseAnimDetailWithoutUpdateWorldMatrix()
Reimplemented from NL3D::CTransform.
Definition at line 59 of file root_model.cpp.
| void NL3D::CRootModel::traverseClip | ( | ) | [virtual] |
The base traverseClip method.
The behavior is to:
_Visible=true (else false). andRenderTrav->addRenderModel(model);Reimplemented from NL3D::CTransform.
Definition at line 50 of file root_model.cpp.
References NL3D::CTransform::clipGetChild(), NL3D::CTransform::clipGetNumChildren(), and NL3D::CTransform::traverseClip().
Referenced by NL3D::CClipTrav::traverse().
| void NL3D::CRootModel::traverseHrc | ( | ) | [virtual] |
Each method is called in its associated traversal.
Reimplemented from NL3D::CTransform.
Definition at line 41 of file root_model.cpp.
References NL3D::CTransform::hrcGetChild(), NL3D::CTransform::hrcGetNumChildren(), and NL3D::CTransform::traverseHrc().
| void NL3D::CRootModel::traverseLight | ( | ) | [virtual] |
traverse the lightedModel per default: recompute LightContribution is isLightable()
Reimplemented from NL3D::CTransform.
Definition at line 71 of file root_model.cpp.
| void NL3D::CRootModel::traverseLoadBalancing | ( | ) | [virtual] |
| void NL3D::CRootModel::traverseRender | ( | ) | [virtual] |
1.6.1