|
|
#include <MemoryX/gui-plugins/SceneEditor/scene3D/SceneSelectionManager.h>
Public Member Functions | |
| void | addToSelection (scene3D::SceneGroupPtr group) |
| Adds a SceneGroup to the Selection. | |
| void | addToSelection (scene3D::SceneObjectPtr object) |
| Adds a SceneObject to the Selection. | |
| void | deselectAll () |
| Deselects all SceneObjects. | |
| std::vector< scene3D::SceneObjectPtr > | getAllSelected () |
| Returns all selected SceneObjects. | |
| bool | getCreateOperations () |
| bool | isSelected (scene3D::SceneObjectPtr object) |
| Determines whether a SceneObject is selected. | |
| void | removeFromSelection (scene3D::SceneGroupPtr group) |
| Removes a SceneGroup from the Selection. | |
| void | removeFromSelection (scene3D::SceneObjectPtr object) |
| Removes a SceneObject from the Selection. | |
| SceneSelectionManager (ScenePtr scene) | |
| Constructor Creates an Instance of the Class. | |
| void | setCreateOperations (bool enable) |
Static Public Member Functions | |
| static void | deselectionCallback (void *userData, SoPath *selectionPath) |
| Executes all commands when an Item is deselected and the Callback is voked. | |
| static SoPath * | pickFilterCB (void *userData, const SoPickedPoint *pick) |
| Adjusts a path so that it always show to a valid Object. | |
| static void | selectionCallback (void *userData, SoPath *selectionPath) |
| Executes all commands when an Item is selected and the Callback is voked. | |
Friends | |
| class | Scene |
Definition at line 36 of file SceneSelectionManager.h.
| SceneSelectionManager | ( | ScenePtr | scene | ) |
Constructor Creates an Instance of the Class.
| scene | Existing Scene |
Definition at line 133 of file SceneSelectionManager.cpp.
Here is the call graph for this function:| void addToSelection | ( | scene3D::SceneGroupPtr | group | ) |
Adds a SceneGroup to the Selection.
| group | SceneGroup to be added |
Definition at line 228 of file SceneSelectionManager.cpp.
Here is the call graph for this function:| void addToSelection | ( | scene3D::SceneObjectPtr | object | ) |
Adds a SceneObject to the Selection.
| object | SceneObject to be added |
Definition at line 186 of file SceneSelectionManager.cpp.
Here is the caller graph for this function:| void deselectAll | ( | ) |
Deselects all SceneObjects.
Definition at line 261 of file SceneSelectionManager.cpp.
|
static |
Executes all commands when an Item is deselected and the Callback is voked.
| userData | UserData |
| selectionPath | Path of deselected Object |
Definition at line 64 of file SceneSelectionManager.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< scene3D::SceneObjectPtr > getAllSelected | ( | ) |
Returns all selected SceneObjects.
Definition at line 141 of file SceneSelectionManager.cpp.
| bool getCreateOperations | ( | ) |
Definition at line 297 of file SceneSelectionManager.cpp.
| bool isSelected | ( | scene3D::SceneObjectPtr | object | ) |
Determines whether a SceneObject is selected.
| object | SceneObject to check |
Definition at line 166 of file SceneSelectionManager.cpp.
|
static |
Adjusts a path so that it always show to a valid Object.
Definition at line 97 of file SceneSelectionManager.cpp.
Here is the caller graph for this function:| void removeFromSelection | ( | scene3D::SceneGroupPtr | group | ) |
Removes a SceneGroup from the Selection.
| group | SceneGroup to be removed |
Definition at line 237 of file SceneSelectionManager.cpp.
Here is the call graph for this function:| void removeFromSelection | ( | scene3D::SceneObjectPtr | object | ) |
Removes a SceneObject from the Selection.
| object | SceneObject to be removed |
Definition at line 207 of file SceneSelectionManager.cpp.
Here is the caller graph for this function:
|
static |
Executes all commands when an Item is selected and the Callback is voked.
| userData | UserData |
| selectionPath | Path of selected Object |
Definition at line 32 of file SceneSelectionManager.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setCreateOperations | ( | bool | enable | ) |
Definition at line 291 of file SceneSelectionManager.cpp.
|
friend |
Definition at line 39 of file SceneSelectionManager.h.