8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_SCENE_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_SCENE_H
18 namespace SceneDescription
47 inline const std::string& filename()
const;
This class is the base class for all scene description libraries.
Definition: scenedescription/Library.h:37
This class implements a node environment container.
Definition: SDXNode.h:62
This class implements the base class for all SDX scene description nodes.
Definition: SDXNode.h:50
const std::string & filename() const
Returns the name of the file defining this node.
Definition: SDXNode.h:310
const SDXEnvironment * environment_
Object specifying the environment of this node.
Definition: SDXNode.h:252
virtual const Rendering::ObjectRef & renderingObject() const
Returns the associated rendering object.
This class implements the base class for all sdx scene object providing access to all elements of a s...
Definition: SDXScene.h:39
virtual void initialize(const Timestamp timestamp)
Event function to inform the scene that it has been initialized and can apply all internal values to ...
virtual void registerGlobalLight(const Rendering::LightSourceRef &lightSource)
Registers a global light source to this scene.
const SDXEnvironment * environment() const
Returns the environment object of this scene.
Definition: SDXScene.h:129
virtual void unregisterGlobalLight(const Rendering::LightSourceRef &lightSource)
Unregisters a global light source from this scene.
virtual void onInitialize(const Timestamp timestamp)
Internal event function to inform the scene that it has been initialized and can apply all internal v...
Rendering::SceneRef renderingScene() const
Returns the associated scene rendering object.
Definition: SDXScene.h:124
void onInitialize(const Rendering::SceneRef &scene, const Timestamp timestamp) override
Internal event function to inform the node that it has been initialized and can apply all internal va...
void initialize(const Rendering::SceneRef &scene, const Timestamp timestamp, const bool reinitialize=false) override
Event function to inform the node that it has been initialized and can apply all internal values to c...
SDXScene(const std::string &filename, const Library &library, const Rendering::EngineRef &engine)
Creates a new scene object.
const std::string & filename() const
Returns the name of the file defining this node.
Definition: SDXScene.h:119
SDXEnvironment sceneEnvironment_
Scene environment object.
Definition: SDXScene.h:116
This class implements the base class for all scene objects providing access to all elements of a scen...
Definition: scenedescription/Scene.h:36
This class implements a timestamp.
Definition: Timestamp.h:36
SmartObjectRef< Scene > SceneRef
Definition of a smart object reference holding a scene node.
Definition: rendering/Scene.h:22
SmartObjectRef< SDXScene, Node > SDXSceneRef
Definition of a smart object reference for scene desciption X scenes.
Definition: SDXScene.h:22
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15