Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkToolRoiDataSelectionBox Class Reference

Widget for defining a ROI inside the Interactive Segmentation Framwork. More...

#include <QmitkToolRoiDataSelectionBox.h>

Inheritance diagram for QmitkToolRoiDataSelectionBox:
Collaboration diagram for QmitkToolRoiDataSelectionBox:

Signals

void RoiDataSelected (const mitk::DataNode *node)
 

Public Member Functions

 QmitkToolRoiDataSelectionBox (QWidget *parent=0, mitk::DataStorage *storage=0)
 
virtual ~QmitkToolRoiDataSelectionBox ()
 
mitk::DataStorageGetDataStorage ()
 
void SetDataStorage (mitk::DataStorage &storage)
 
mitk::ToolManagerGetToolManager ()
 
void SetToolManager (mitk::ToolManager &manager)
 
void OnToolManagerRoiDataModified ()
 
void DataStorageChanged (const mitk::DataNode *node)
 
mitk::ToolManager::DataVectorType GetSelection ()
 
void UpdateComboBoxData ()
 
void setEnabled (bool)
 

Protected Slots

void OnRoiDataSelectionChanged (const QString &name)
 
void OnRoiDataSelectionChanged ()
 

Protected Attributes

QmitkBoundingObjectWidgetm_boundingObjectWidget
 
QComboBox * m_segmentationComboBox
 
mitk::ToolManager::Pointer m_ToolManager
 
bool m_SelfCall
 
mitk::DataNode::Pointer m_lastSelection
 
QString m_lastSelectedName
 

Detailed Description

Widget for defining a ROI inside the Interactive Segmentation Framwork.

Allows to define a Region of interest (ROI) either by existing segmentations or by bounding objects. Selection is possible via a combobox, listing all available segmentations. Item "bounding objects" activates the QmitkBoundingObjectWidget.

Definition at line 35 of file QmitkToolRoiDataSelectionBox.h.

Constructor & Destructor Documentation

QmitkToolRoiDataSelectionBox::QmitkToolRoiDataSelectionBox ( QWidget *  parent = 0,
mitk::DataStorage storage = 0 
)
QmitkToolRoiDataSelectionBox::~QmitkToolRoiDataSelectionBox ( )
virtual

Member Function Documentation

void QmitkToolRoiDataSelectionBox::DataStorageChanged ( const mitk::DataNode node)
mitk::DataStorage * QmitkToolRoiDataSelectionBox::GetDataStorage ( )

Definition at line 70 of file QmitkToolRoiDataSelectionBox.cpp.

References m_ToolManager.

Referenced by DataStorageChanged().

mitk::ToolManager::DataVectorType QmitkToolRoiDataSelectionBox::GetSelection ( )
mitk::ToolManager * QmitkToolRoiDataSelectionBox::GetToolManager ( )

Definition at line 87 of file QmitkToolRoiDataSelectionBox.cpp.

References m_ToolManager.

void QmitkToolRoiDataSelectionBox::OnRoiDataSelectionChanged ( )
protectedslot
void QmitkToolRoiDataSelectionBox::OnToolManagerRoiDataModified ( )
void QmitkToolRoiDataSelectionBox::RoiDataSelected ( const mitk::DataNode node)
signal
void QmitkToolRoiDataSelectionBox::setEnabled ( bool  flag)
void QmitkToolRoiDataSelectionBox::SetToolManager ( mitk::ToolManager manager)

Member Data Documentation

QmitkBoundingObjectWidget* QmitkToolRoiDataSelectionBox::m_boundingObjectWidget
protected
QString QmitkToolRoiDataSelectionBox::m_lastSelectedName
protected

Definition at line 76 of file QmitkToolRoiDataSelectionBox.h.

Referenced by OnRoiDataSelectionChanged(), and UpdateComboBoxData().

mitk::DataNode::Pointer QmitkToolRoiDataSelectionBox::m_lastSelection
protected

Definition at line 75 of file QmitkToolRoiDataSelectionBox.h.

Referenced by OnRoiDataSelectionChanged().

QComboBox* QmitkToolRoiDataSelectionBox::m_segmentationComboBox
protected
bool QmitkToolRoiDataSelectionBox::m_SelfCall
protected
mitk::ToolManager::Pointer QmitkToolRoiDataSelectionBox::m_ToolManager
protected

The documentation for this class was generated from the following files: