Public Member Functions | |
SceneModelNode (std::string name) | |
void | AddNode (SceneModelNode *pNode) |
void | RemoveNode (SceneModelNode *pNode) |
const std::string & | GetName () const |
void | SetName (const std::string &name) |
const size_t | GetChildCount () const |
SceneModelNode * | GetChild (uint index) const |
SceneModelNode * | GetNodeWithName (const std::string &name) const |
void | SetTransform (const m44 &transform) |
const m44 & | GetLocalTransform () const |
const m44 & | GetWorldTransform () const |
virtual void | UpdateTransforms (const dv3 &ecefOrigin, const m44 &parentTransform, bool dirtyParent) |
virtual void | SetLayer (Rendering::LayerIds::Values layer) |
virtual void | SetDepthTestingRecursive (bool enabled) |
virtual void | SetDepthRangeRecursive (float near, float far) |
void | SetAnimationData (ISceneModelNodeAnimation *pAnimationData) |
ISceneModelNodeAnimation * | GetAnimationData () const |
virtual void | VisitForRendering (ISceneModelNodeRenderVisitor &visitor, const Rendering::RenderContext &renderContext, Eegeo::Rendering::RenderQueue &renderQueue) |
void | SetBounds (const v3 ¢er, const float radius) |
void | UpdateSphereRecursive () |
const Geometry::SingleSphere & | GetBoundingSphere () const |
const Geometry::SingleSphere & | GetSubtreeBoundingSphere () const |
virtual SceneModelNode * | Clone (SceneModelNode *pNewParent) |
Protected Member Functions | |
void | SetParent (SceneModelNode *pParent) |
Protected Attributes | |
std::string | m_name |
SceneModelNode * | m_pParentNode |
std::vector< SceneModelNode * > | m_childNodes |
m44 | m_localTransform |
m44 | m_worldTransform |
bool | m_transformDirty |
dv3 | m_ecefPosition |
Geometry::SingleSphere | m_localBoundingSphere |
Geometry::SingleSphere | m_worldBoundingSphere |
Geometry::SingleSphere | m_subtreeBoundingSphere |
ISceneModelNodeAnimation * | m_pAnimationData |