|
#include <MemoryX/gui-plugins/SceneEditor/scene3D/SceneGroup.h>
Public Member Functions | |
void | addObject (scene3D::SceneObjectPtr object) |
Adds an Object to the SceneGroup. More... | |
void | clearGroup () |
Removes all Objects from the SceneGroup. More... | |
bool | contains (scene3D::SceneObjectPtr object) |
Checks, if SceneGroup contains Object. More... | |
std::vector< scene3D::SceneObjectPtr > | getAllObjects () |
Returns all Objects in SceneGroup. More... | |
std::string | getGroupId () |
Returns the ID of the SceneGroup. More... | |
void | removeObject (scene3D::SceneObjectPtr object) |
Removes an Object from the SceneGroup. More... | |
SceneGroup (const std::string &groupID) | |
Constructor Creates an instance of the class. More... | |
Friends | |
class | SceneGroupManager |
Definition at line 33 of file SceneGroup.h.
SceneGroup | ( | const std::string & | groupID | ) |
Constructor Creates an instance of the class.
groupID | ID of the SceneGroup |
Definition at line 72 of file SceneGroup.cpp.
void addObject | ( | scene3D::SceneObjectPtr | object | ) |
Adds an Object to the SceneGroup.
object | Object to be added |
Definition at line 45 of file SceneGroup.cpp.
void clearGroup | ( | ) |
Removes all Objects from the SceneGroup.
Definition at line 67 of file SceneGroup.cpp.
bool contains | ( | scene3D::SceneObjectPtr | object | ) |
Checks, if SceneGroup contains Object.
object | Object to check Existence |
Definition at line 40 of file SceneGroup.cpp.
std::vector< scene3D::SceneObjectPtr > getAllObjects | ( | ) |
Returns all Objects in SceneGroup.
Definition at line 35 of file SceneGroup.cpp.
std::string getGroupId | ( | ) |
Returns the ID of the SceneGroup.
Definition at line 30 of file SceneGroup.cpp.
void removeObject | ( | scene3D::SceneObjectPtr | object | ) |
Removes an Object from the SceneGroup.
object | Object to be removed |
Definition at line 57 of file SceneGroup.cpp.
|
friend |
Definition at line 35 of file SceneGroup.h.