39#ifndef H_OGF_SCENE_GRAPH_INTERFACES_SCENE_GRAPH_SELECTION_H
40#define H_OGF_SCENE_GRAPH_INTERFACES_SCENE_GRAPH_SELECTION_H
43#include <OGF/scene_graph/interfaces/scene_graph_interface.h>
80 void select_object(
const GrobName& grob);
All SceneGraph modifications go through a SceneGraphInterface.
All SceneGraph modifications related with selection go through this Interface.
void toggle_selection(const GrobName &grob)
Toggles the selection flag for an object.
void extend_selection(const GrobName &grob)
Extends selection.
void select_all()
Adds all objects to selection.
SceneGraph * scene_graph() const
Gets the wrapped MeshGrob.
~SceneGraphSelectionInterface() override
SceneGraphEditor destrutor.
index_t nb_selected() const
Gets the number of selected objects.
SceneGraphSelectionInterface()
SceneGraphSelectionInterface constructor.
void clear_selection()
Removes all objects from selection.
void unselect_object(const GrobName &grob)
Removes an object from the selection.
Represents the list of objects loaded in Graphite.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
Definitions common to all include files in the scene_graph library.