Go to the documentation of this file.
28 #include <Inventor/SoPickedPoint.h>
29 #include <Inventor/SoPath.h>
121 static SoPath*
pickFilterCB(
void* userData,
const SoPickedPoint* pick);
127 static bool createOperations;
128 std::vector<scene3D::SceneObjectPtr> historySelected;
132 void restoreHistory();
static void selectionCallback(void *userData, SoPath *selectionPath)
Executes all commands when an Item is selected and the Callback is voked.
bool getCreateOperations()
std::shared_ptr< Scene > ScenePtr
void deselectAll()
Deselects all SceneObjects.
std::vector< scene3D::SceneObjectPtr > getAllSelected()
Returns all selected SceneObjects.
void addToSelection(scene3D::SceneObjectPtr object)
Adds a SceneObject to the Selection.
static SoPath * pickFilterCB(void *userData, const SoPickedPoint *pick)
Adjusts a path so that it always show to a valid Object.
std::shared_ptr< SceneGroup > SceneGroupPtr
void setCreateOperations(bool enable)
std::weak_ptr< Scene > SceneWeakPtr
bool isSelected(scene3D::SceneObjectPtr object)
Determines whether a SceneObject is selected.
void removeFromSelection(scene3D::SceneObjectPtr object)
Removes a SceneObject from the Selection.
boost::intrusive_ptr< SceneObject > SceneObjectPtr
SceneSelectionManager(ScenePtr scene)
Constructor Creates an Instance of the Class.
static void deselectionCallback(void *userData, SoPath *selectionPath)
Executes all commands when an Item is deselected and the Callback is voked.