18 #ifndef __H__OCULAR_CORE_SCENE__H__
19 #define __H__OCULAR_CORE_SCENE__H__
21 #include "SceneTreeType.hpp"
24 #include "Math/Geometry/Frustum.hpp"
93 void addObjects(std::vector<SceneObject*>
const& objects);
113 void removeObjects(std::vector<SceneObject*>
const& objects);
157 SceneTreeType
const& getStaticTreeType()
const;
167 SceneTreeType
const& getDynamicTreeType()
const;
172 void setRendererType(std::string
const&
string);
177 std::string
const& getRendererType()
const;
185 void updateRoutines();
220 void triggerObjectDirty(
UUID const& uuid,
bool staticObject);
224 bool verifySceneTrees()
const;
229 std::string m_RendererType;
234 SceneTreeType m_StaticTreeType;
235 SceneTreeType m_DynamicTreeType;
240 std::vector<ARoutine*> m_Routines;
241 bool m_RoutinesAreDirty;
void removeObjects(std::vector< SceneObject * > const &objects)
Definition: Scene.cpp:205
void addObjects(std::vector< SceneObject * > const &objects)
Definition: Scene.cpp:152
void objectParentChanged(SceneObject *object, SceneObject *oldParent)
Definition: Scene.cpp:407
void removeObject(SceneObject *object)
Definition: Scene.cpp:160
void objectTreeChanged(SceneObject *object)
Definition: Scene.cpp:388
void render()
Definition: Scene.cpp:230
Definition: SceneManager.hpp:64
Definition: Frustum.hpp:57
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
void routineRemoved(ARoutine *routine)
Definition: Scene.cpp:473
void addObject(SceneObject *object)
Definition: Scene.cpp:130
Definition: ARoutine.hpp:59
void setDynamicTreeType(SceneTreeType type)
Definition: Scene.cpp:317
void getVisibleSceneObjects(std::vector< SceneObject * > &objects, Math::Frustum const &frustum)
Definition: Scene.cpp:294
Definition: SceneObject.hpp:93
void update()
Definition: Scene.cpp:224
void setStaticTreeType(SceneTreeType type)
Definition: Scene.cpp:307
Definition: Renderer.hpp:49
void removeAllObjects()
Definition: Scene.cpp:213
Definition: ISceneTree.hpp:51
void routineAdded(ARoutine *routine)
Definition: Scene.cpp:464