SceneGroupManager Class Reference

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

Public Member Functions

void addGroup (SceneGroupPtr group)
 Adds a SceneGroup. More...
 
std::vector< scene3D::SceneGroupPtrgetAllGroups ()
 Returns all SceneGroups. More...
 
scene3D::SceneGroupPtr getGroupById (std::string groupId)
 Returns a SceneGroup specified by an ID. More...
 
void removeGroup (scene3D::SceneGroupPtr group)
 Removes a SceneGroup. More...
 
void renameGroup (scene3D::SceneGroupPtr group, std::string newGroupId)
 Renames a SceneGroup. More...
 

Detailed Description

Definition at line 34 of file SceneGroupManager.h.

Member Function Documentation

◆ addGroup()

void addGroup ( SceneGroupPtr  group)

Adds a SceneGroup.

Parameters
groupSceneGroup to be added.

Definition at line 46 of file SceneGroupManager.cpp.

◆ getAllGroups()

std::vector< scene3D::SceneGroupPtr > getAllGroups ( )

Returns all SceneGroups.

Returns
vector<scene3D::SceneGroupPtr> All Groups

Definition at line 28 of file SceneGroupManager.cpp.

◆ getGroupById()

scene3D::SceneGroupPtr getGroupById ( std::string  groupId)

Returns a SceneGroup specified by an ID.

Parameters
groupIdID specifying the SceneGroup
Returns
scene3D::SceneGroup SceneGroup found

Definition at line 33 of file SceneGroupManager.cpp.

◆ removeGroup()

void removeGroup ( scene3D::SceneGroupPtr  group)

Removes a SceneGroup.

Parameters
groupSceneGroup to be removed

Definition at line 58 of file SceneGroupManager.cpp.

◆ renameGroup()

void renameGroup ( scene3D::SceneGroupPtr  group,
std::string  newGroupId 
)

Renames a SceneGroup.

Parameters
groupSceneGroup to be renamed
newGroupIdNew ID

Definition at line 78 of file SceneGroupManager.cpp.


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