Public Member Functions | Public Attributes

QmitkBaseFunctionalityComponent Class Reference

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>

Inheritance diagram for QmitkBaseFunctionalityComponent:
Inheritance graph
[legend]
Collaboration diagram for QmitkBaseFunctionalityComponent:
Collaboration graph
[legend]

List of all members.

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::Imagem_ParentMitkImage
 Image selected in MainSelector.
mitk::Imagem_MitkImage
 Image selected in MainSelector.
mitk::DataStorage::Pointer m_DataStorage

Detailed Description

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.

Overview

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.


Constructor & Destructor Documentation

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]

Destructor.

Definition at line 31 of file QmitkBaseFunctionalityComponent.cpp.

{
}

Member Function Documentation

void QmitkBaseFunctionalityComponent::DataStorageChanged ( mitk::DataStorage::Pointer  ds ) [virtual]
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().

{

}

Member Data Documentation

Image selected in MainSelector.

Definition at line 89 of file QmitkBaseFunctionalityComponent.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines