Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
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. More... | |
void | SetNode (mitk::DataNode *_SelectedNode) |
Node setter. More... | |
mitk::DataNode * | GetNode () const |
Node getter. More... | |
bool | IsEmpty () const override |
Checks if node is 0. More... | |
Public Member Functions inherited from berry::ISelection | |
berryObjectMacro (berry::ISelection) | |
~ISelection () override | |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
virtual bool | operator== (const Object *) const |
Protected Attributes | |
mitk::DataNode * | m_Node |
Holds the node that is currently selected. More... | |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Member Functions inherited from berry::Object | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Represents a selection object that encapsulates the selection of a single node.
Definition at line 34 of file berrySingleNodeSelection.h.
berry::SingleNodeSelection::berryObjectMacro | ( | SingleNodeSelection | ) |
Make typdefs for pointer types.
mitk::DataNode* berry::SingleNodeSelection::GetNode | ( | ) | const |
Node getter.
|
overridevirtual |
Checks if node is 0.
Implements berry::ISelection.
void berry::SingleNodeSelection::SetNode | ( | mitk::DataNode * | _SelectedNode | ) |
Node setter.
|
protected |
Holds the node that is currently selected.
Definition at line 57 of file berrySingleNodeSelection.h.