SceneGroup Class Reference

#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::SceneObjectPtrgetAllObjects ()
 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
 

Detailed Description

Definition at line 33 of file SceneGroup.h.

Constructor & Destructor Documentation

◆ SceneGroup()

SceneGroup ( const std::string &  groupID)

Constructor Creates an instance of the class.

Parameters
groupIDID of the SceneGroup

Definition at line 72 of file SceneGroup.cpp.

Member Function Documentation

◆ addObject()

void addObject ( scene3D::SceneObjectPtr  object)

Adds an Object to the SceneGroup.

Parameters
objectObject to be added

Definition at line 45 of file SceneGroup.cpp.

+ Here is the call graph for this function:

◆ clearGroup()

void clearGroup ( )

Removes all Objects from the SceneGroup.

Definition at line 67 of file SceneGroup.cpp.

◆ contains()

bool contains ( scene3D::SceneObjectPtr  object)

Checks, if SceneGroup contains Object.

Parameters
objectObject to check Existence
Returns
bool SceneGroup contains Object

Definition at line 40 of file SceneGroup.cpp.

◆ getAllObjects()

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

Returns all Objects in SceneGroup.

Returns
vector<scene3D::SceneObjectPtr > All Objects in SceneGroup

Definition at line 35 of file SceneGroup.cpp.

◆ getGroupId()

std::string getGroupId ( )

Returns the ID of the SceneGroup.

Returns
string ID of SceneGroup

Definition at line 30 of file SceneGroup.cpp.

◆ removeObject()

void removeObject ( scene3D::SceneObjectPtr  object)

Removes an Object from the SceneGroup.

Parameters
objectObject to be removed

Definition at line 57 of file SceneGroup.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ SceneGroupManager

friend class SceneGroupManager
friend

Definition at line 35 of file SceneGroup.h.


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