5 #include "VectorMath.h"
6 #include "SceneModelRenderable.h"
7 #include "SingleSphere.h"
8 #include "SceneModelNodeAnimation.h"
9 #include "SceneModelNodeVisitors.h"
30 const std::string& GetName()
const {
return m_name; }
31 void SetName(
const std::string& name);
33 const size_t GetChildCount()
const {
return m_childNodes.size(); }
38 void SetTransform(
const m44& transform);
39 const m44& GetLocalTransform()
const {
return m_localTransform; }
40 const m44& GetWorldTransform()
const {
return m_worldTransform; }
41 virtual void UpdateTransforms(
const dv3& ecefOrigin,
const m44& parentTransform,
bool dirtyParent);
43 virtual void SetLayer(Rendering::LayerIds::Values layer);
44 virtual void SetDepthTestingRecursive(
bool enabled);
45 virtual void SetDepthRangeRecursive(
float near,
float far);
52 void SetBounds(
const v3& center,
const float radius);
53 void UpdateSphereRecursive();
65 std::vector<SceneModelNode*> m_childNodes;
70 bool m_transformDirty;