Base class for hierarchical functionality components. This class contains the DataTreeIterator, access by the usual set-and get-methods, and the name-attribut of a component. More...
#include <QmitkBaseFunctionalityComponent.h>
Public Member Functions | |
QmitkBaseFunctionalityComponent (QObject *parent=0, const char *name=0) | |
Constructor. | |
virtual | ~QmitkBaseFunctionalityComponent () |
Destructor. | |
mitk::DataStorage::Pointer | GetDefaultDataStorage () |
Return an object of mitkDataStorage. | |
virtual void | DataStorageChanged (mitk::DataStorage::Pointer ds) |
virtual void | ImageSelected (const mitk::DataNode *item) |
Slot method that will be called if TreeNodeSelector widget was activated to select the current image. | |
Public Attributes | |
mitk::Image * | m_ParentMitkImage |
Image selected in MainSelector. | |
mitk::Image * | m_MitkImage |
Image selected in MainSelector. | |
mitk::DataStorage::Pointer | m_DataStorage |
Base class for hierarchical functionality components. This class contains the DataTreeIterator, access by the usual set-and get-methods, and the name-attribut of a component.
The BaseFunctionalityComponent is the root-class for all component-based functionalities. As common ground for all inherit classes it contains the DataTreeIterator, i.e an iterator on the current node of the data tree, and the name-attribute of the component. Inherit classes are:
Definition at line 50 of file QmitkBaseFunctionalityComponent.h.
QmitkBaseFunctionalityComponent::QmitkBaseFunctionalityComponent | ( | QObject * | parent = 0 , |
const char * | name = 0 |
||
) |
Constructor.
Definition at line 24 of file QmitkBaseFunctionalityComponent.cpp.
: QmitkBaseComponent(parent, name), m_ParentMitkImage(NULL) { }
QmitkBaseFunctionalityComponent::~QmitkBaseFunctionalityComponent | ( | ) | [virtual] |
void QmitkBaseFunctionalityComponent::DataStorageChanged | ( | mitk::DataStorage::Pointer | ds ) | [virtual] |
Reimplemented in QmitkFunctionalityComponentContainer, and QmitkThresholdComponent.
Definition at line 40 of file QmitkBaseFunctionalityComponent.cpp.
Referenced by QmitkThresholdComponent::DataStorageChanged(), and QmitkFunctionalityComponentContainer::DataStorageChanged().
{ }
mitk::DataStorage::Pointer QmitkBaseFunctionalityComponent::GetDefaultDataStorage | ( | ) |
Return an object of mitkDataStorage.
Definition at line 45 of file QmitkBaseFunctionalityComponent.cpp.
References m_DataStorage.
{ return m_DataStorage; }
void QmitkBaseFunctionalityComponent::ImageSelected | ( | const mitk::DataNode * | item ) | [virtual] |
Slot method that will be called if TreeNodeSelector widget was activated to select the current image.
Reimplemented in QmitkFunctionalityComponentContainer, and QmitkThresholdComponent.
Definition at line 35 of file QmitkBaseFunctionalityComponent.cpp.
Referenced by QmitkThresholdComponent::ImageSelected(), and QmitkFunctionalityComponentContainer::ImageSelected().
{ }
Reimplemented in QmitkFunctionalityComponentContainer, and QmitkThresholdComponent.
Definition at line 91 of file QmitkBaseFunctionalityComponent.h.
Referenced by GetDefaultDataStorage().
Image selected in MainSelector.
Definition at line 89 of file QmitkBaseFunctionalityComponent.h.
Image selected in MainSelector.
Definition at line 84 of file QmitkBaseFunctionalityComponent.h.
Referenced by QmitkFunctionalityComponentContainer::DataStorageChanged(), QmitkFunctionalityComponentContainer::GetParentMitkImage(), and QmitkFunctionalityComponentContainer::ImageSelected().