cee::app::Selection
- 
class Selection : public RefCountedObject
 Class to manage a list of selected HitItems.
Selected items are per view.
Public Types
Public Functions
- 
Selection()
 Constructs an empty selection instance.
- 
size_t count()
 Returns number of selections.
- 
size_t addNode(size_t index)
 Adds a node by index to selection.
- 
size_t addElement(size_t index)
 Adds an element by index to selection.
- 
size_t addElementNode(size_t elementIndex, size_t localNodeIndex)
 Adds an element node by element index and local node index to selection.
- 
size_t addElementSurface(size_t elementIndex, size_t surfaceIndex)
 Adds an element surface by element index and surface index to selection.
- 
void remove(size_t index)
 Removes the selection at index.
- 
void removeAll()
 Removes all selections.
- 
bool isMultiSelectionEnabled() const
 Returns true of multi selection is enabled.
- 
void enableMultiSelection(bool enable)
 Enables multi selection.
- 
const int initialGeometryId(size_t index) const
 Returns the initial geometry id for the given index.
- 
Selection()