Represents a selection object that encapsulates the selection of a single node. More...
#include <berrySingleNodeSelection.h>
Public Member Functions | |
berryObjectMacro (SingleNodeSelection) | |
Make typdefs for pointer types. | |
void | SetNode (mitk::DataNode *_SelectedNode) |
Node setter. | |
mitk::DataNode * | GetNode () const |
Node getter. | |
virtual bool | IsEmpty () const |
Checks if node is 0. | |
Protected Attributes | |
mitk::DataNode * | m_Node |
Holds the node that is currently selected. |
Represents a selection object that encapsulates the selection of a single node.
Definition at line 39 of file berrySingleNodeSelection.h.
berry::SingleNodeSelection::berryObjectMacro | ( | SingleNodeSelection | ) |
Make typdefs for pointer types.
mitk::DataNode * berry::SingleNodeSelection::GetNode | ( | ) | const |
Node getter.
Definition at line 26 of file berrySingleNodeSelection.cpp.
References m_Node.
{ m_Node = _SelectedNode; }
bool berry::SingleNodeSelection::IsEmpty | ( | ) | const [virtual] |
Checks if node is 0.
Implements berry::ISelection.
Definition at line 31 of file berrySingleNodeSelection.cpp.
References m_Node.
{ return m_Node; }
void berry::SingleNodeSelection::SetNode | ( | mitk::DataNode * | _SelectedNode ) |
mitk::DataNode* berry::SingleNodeSelection::m_Node [protected] |
Holds the node that is currently selected.
Definition at line 62 of file berrySingleNodeSelection.h.