#include <mitkDataStorageSelection.h>
Definition at line 29 of file mitkDataStorageSelection.h.
◆ DataNodeEvent
◆ Nodes
◆ DataStorageSelection() [1/2]
mitk::DataStorageSelection::DataStorageSelection |
( |
mitk::DataStorage * |
_DataStorage, |
|
|
bool |
_AutoAddNodes |
|
) |
| |
|
protected |
◆ DataStorageSelection() [2/2]
◆ ~DataStorageSelection()
mitk::DataStorageSelection::~DataStorageSelection |
( |
| ) |
|
|
override |
◆ AddListener()
Adds listeners for modified/delete event, for the propertylists modified/delete and for the modified/delete event of each property and stores listener tags
◆ AddNode()
virtual void mitk::DataStorageSelection::AddNode |
( |
const mitk::DataNode * |
node | ) |
|
|
virtual |
Add a node (if not already there)
◆ DoesAutoAddNodes()
bool mitk::DataStorageSelection::DoesAutoAddNodes |
( |
| ) |
const |
◆ FindNode() [1/2]
Find a node in the list by the given prop
◆ FindNode() [2/2]
Find a node in the list by the given proplist
◆ GetDataStorage()
◆ GetNode() [1/2]
Returns the first node, same as calling GetNode(0)
◆ GetNode() [2/2]
Get node at a specific model index.
◆ GetNodes()
std::vector<mitk::DataNode *> mitk::DataStorageSelection::GetNodes |
( |
| ) |
const |
Returns a copy of the node-vector
◆ GetPredicate()
◆ GetSize()
unsigned int mitk::DataStorageSelection::GetSize |
( |
| ) |
const |
Returns the size of this selection
◆ mitkClassMacroItkParent()
◆ mitkNewMacro2Param()
◆ mitkNewMacro3Param()
◆ ObjectChanged()
virtual void mitk::DataStorageSelection::ObjectChanged |
( |
const itk::Object * |
caller, |
|
|
const itk::EventObject & |
event |
|
) |
| |
|
virtual |
Called whenever an itk Object this class holds gets deleted or modified
◆ operator=() [1/2]
Removes all nodes, sets node as new first element
◆ operator=() [2/2]
Removes all nodes, sets node as new first element
◆ RemoveAllNodes()
virtual void mitk::DataStorageSelection::RemoveAllNodes |
( |
| ) |
|
|
virtual |
◆ RemoveListener()
void mitk::DataStorageSelection::RemoveListener |
( |
mitk::DataNode * |
node | ) |
|
|
protected |
If a node is already in this list, all listeners will be removed
◆ RemoveNode()
virtual void mitk::DataStorageSelection::RemoveNode |
( |
const mitk::DataNode * |
node | ) |
|
|
virtual |
◆ Reset()
void mitk::DataStorageSelection::Reset |
( |
| ) |
|
|
protected |
Removes all nodes and fill the vector again
◆ SetDataStorage()
virtual void mitk::DataStorageSelection::SetDataStorage |
( |
mitk::DataStorage * |
_DataStorage | ) |
|
|
virtual |
◆ SetPredicate()
◆ m_AutoAddNodes
bool mitk::DataStorageSelection::m_AutoAddNodes |
|
protected |
◆ m_DataStorage
◆ m_DataStorageDeletedTag
unsigned int mitk::DataStorageSelection::m_DataStorageDeletedTag |
|
protected |
◆ m_NodeModifiedObserverTags
std::map<mitk::DataNode *, unsigned long> mitk::DataStorageSelection::m_NodeModifiedObserverTags |
|
protected |
◆ m_Nodes
◆ m_Predicate
Holds the predicate that defines this SubSet of Nodes. If m_Predicate is nullptr all Nodes will be selected.
Definition at line 152 of file mitkDataStorageSelection.h.
◆ m_PropertyDeletedObserverTags
std::map<mitk::BaseProperty *, unsigned long> mitk::DataStorageSelection::m_PropertyDeletedObserverTags |
|
protected |
◆ m_PropertyListDeletedObserverTags
std::map<mitk::PropertyList *, unsigned long> mitk::DataStorageSelection::m_PropertyListDeletedObserverTags |
|
protected |
◆ m_PropertyListModifiedObserverTags
std::map<mitk::PropertyList *, unsigned long> mitk::DataStorageSelection::m_PropertyListModifiedObserverTags |
|
protected |
◆ m_PropertyModifiedObserverTags
std::map<mitk::BaseProperty *, unsigned long> mitk::DataStorageSelection::m_PropertyModifiedObserverTags |
|
protected |
◆ m_SelfCall
bool mitk::DataStorageSelection::m_SelfCall |
|
protected |
◆ NodeAdded
◆ NodeChanged
◆ NodeRemoved
◆ PropertyChanged
The documentation for this class was generated from the following file: