Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Widget for defining a ROI inside the Interactive Segmentation Framwork. More...
#include <QmitkToolRoiDataSelectionBox.h>
Signals | |
void | RoiDataSelected (const mitk::DataNode *node) |
Public Member Functions | |
QmitkToolRoiDataSelectionBox (QWidget *parent=0, mitk::DataStorage *storage=0) | |
virtual | ~QmitkToolRoiDataSelectionBox () |
mitk::DataStorage * | GetDataStorage () |
void | SetDataStorage (mitk::DataStorage &storage) |
mitk::ToolManager * | GetToolManager () |
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 | |
QmitkBoundingObjectWidget * | m_boundingObjectWidget |
QComboBox * | m_segmentationComboBox |
mitk::ToolManager::Pointer | m_ToolManager |
bool | m_SelfCall |
mitk::DataNode::Pointer | m_lastSelection |
QString | m_lastSelectedName |
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.
QmitkToolRoiDataSelectionBox::QmitkToolRoiDataSelectionBox | ( | QWidget * | parent = 0 , |
mitk::DataStorage * | storage = 0 |
||
) |
Definition at line 22 of file QmitkToolRoiDataSelectionBox.cpp.
References mitk::ToolManagerProvider::GetInstance(), mitk::ToolManagerProvider::GetToolManager(), m_boundingObjectWidget, m_segmentationComboBox, m_ToolManager, OnRoiDataSelectionChanged(), and OnToolManagerRoiDataModified().
|
virtual |
Definition at line 50 of file QmitkToolRoiDataSelectionBox.cpp.
References DataStorageChanged(), m_boundingObjectWidget, m_segmentationComboBox, and m_ToolManager.
void QmitkToolRoiDataSelectionBox::DataStorageChanged | ( | const mitk::DataNode * | node | ) |
Definition at line 99 of file QmitkToolRoiDataSelectionBox.cpp.
References GetDataStorage(), m_boundingObjectWidget, m_SelfCall, and QmitkBoundingObjectWidget::RemoveAllItems().
Referenced by SetDataStorage(), and ~QmitkToolRoiDataSelectionBox().
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.
|
protectedslot |
Definition at line 115 of file QmitkToolRoiDataSelectionBox.cpp.
References QmitkBoundingObjectWidget::GetAllBoundingObjects(), m_boundingObjectWidget, m_lastSelectedName, m_lastSelection, m_segmentationComboBox, m_SelfCall, m_ToolManager, mitk::BoolProperty::New(), mitk::FloatProperty::New(), and QmitkBoundingObjectWidget::setEnabled().
|
protectedslot |
Definition at line 110 of file QmitkToolRoiDataSelectionBox.cpp.
Referenced by QmitkToolRoiDataSelectionBox(), setEnabled(), and UpdateComboBoxData().
void QmitkToolRoiDataSelectionBox::OnToolManagerRoiDataModified | ( | ) |
Definition at line 92 of file QmitkToolRoiDataSelectionBox.cpp.
References m_SelfCall, and UpdateComboBoxData().
Referenced by QmitkToolRoiDataSelectionBox(), and SetToolManager().
|
signal |
void QmitkToolRoiDataSelectionBox::SetDataStorage | ( | mitk::DataStorage & | storage | ) |
void QmitkToolRoiDataSelectionBox::setEnabled | ( | bool | flag | ) |
Definition at line 198 of file QmitkToolRoiDataSelectionBox.cpp.
References m_segmentationComboBox, and OnRoiDataSelectionChanged().
void QmitkToolRoiDataSelectionBox::SetToolManager | ( | mitk::ToolManager & | manager | ) |
Definition at line 75 of file QmitkToolRoiDataSelectionBox.cpp.
References m_ToolManager, and OnToolManagerRoiDataModified().
void QmitkToolRoiDataSelectionBox::UpdateComboBoxData | ( | ) |
Definition at line 155 of file QmitkToolRoiDataSelectionBox.cpp.
References m_lastSelectedName, m_segmentationComboBox, m_ToolManager, mitk::BoolProperty::New(), mitk::NodePredicateNot::New(), mitk::NodePredicateAnd::New(), mitk::NodePredicateDataType::New(), mitk::NodePredicateProperty::New(), and OnRoiDataSelectionChanged().
Referenced by OnToolManagerRoiDataModified(), and SetDataStorage().
|
protected |
Definition at line 69 of file QmitkToolRoiDataSelectionBox.h.
Referenced by DataStorageChanged(), OnRoiDataSelectionChanged(), QmitkToolRoiDataSelectionBox(), SetDataStorage(), and ~QmitkToolRoiDataSelectionBox().
|
protected |
Definition at line 76 of file QmitkToolRoiDataSelectionBox.h.
Referenced by OnRoiDataSelectionChanged(), and UpdateComboBoxData().
|
protected |
Definition at line 75 of file QmitkToolRoiDataSelectionBox.h.
Referenced by OnRoiDataSelectionChanged().
|
protected |
Definition at line 70 of file QmitkToolRoiDataSelectionBox.h.
Referenced by OnRoiDataSelectionChanged(), QmitkToolRoiDataSelectionBox(), setEnabled(), UpdateComboBoxData(), and ~QmitkToolRoiDataSelectionBox().
|
protected |
Definition at line 73 of file QmitkToolRoiDataSelectionBox.h.
Referenced by DataStorageChanged(), OnRoiDataSelectionChanged(), and OnToolManagerRoiDataModified().
|
protected |
Definition at line 72 of file QmitkToolRoiDataSelectionBox.h.
Referenced by GetDataStorage(), GetToolManager(), OnRoiDataSelectionChanged(), QmitkToolRoiDataSelectionBox(), SetDataStorage(), SetToolManager(), UpdateComboBoxData(), and ~QmitkToolRoiDataSelectionBox().