SceneObjectManager Class Reference

#include <MemoryX/gui-plugins/SceneEditor/scene3D/SceneObjectManager.h>

Public Member Functions

void addObject (scene3D::SceneObjectPtr object)
 Adds a SceneObject. More...
 
std::vector< scene3D::SceneObjectPtrgetAllObjects () const
 Returns all Existing Objects. More...
 
scene3D::SceneObjectPtr getObjectById (const std::string &objectId) const
 Returns a SceneObject specified by Id. More...
 
void removeObject (scene3D::SceneObjectPtr object)
 Removes a SceneObject. More...
 
 SceneObjectManager (ScenePtr scene)
 Constructor Creates an Instance of the Class. More...
 

Detailed Description

Definition at line 34 of file SceneObjectManager.h.

Constructor & Destructor Documentation

◆ SceneObjectManager()

Constructor Creates an Instance of the Class.

Parameters
sceneExisting Scene

Definition at line 28 of file SceneObjectManager.cpp.

Member Function Documentation

◆ addObject()

void addObject ( scene3D::SceneObjectPtr  object)

Adds a SceneObject.

Parameters
objectSceneObject

Definition at line 51 of file SceneObjectManager.cpp.

◆ getAllObjects()

std::vector< scene3D::SceneObjectPtr > getAllObjects ( ) const

Returns all Existing Objects.

Returns
vector<scene3D::SceneObjectPtr > All Objects as Vector

Definition at line 33 of file SceneObjectManager.cpp.

◆ getObjectById()

scene3D::SceneObjectPtr getObjectById ( const std::string &  objectId) const

Returns a SceneObject specified by Id.

Parameters
objectIdId specifying SceneObject
Returns
scene3D::SceneObject Specified SceneObject

Definition at line 38 of file SceneObjectManager.cpp.

◆ removeObject()

void removeObject ( scene3D::SceneObjectPtr  object)

Removes a SceneObject.

Parameters
objectSceneObject

Definition at line 72 of file SceneObjectManager.cpp.


The documentation for this class was generated from the following files: