Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
GUI for mitk::WatershedTool. More...
#include <QmitkWatershedToolGUI.h>
Public Member Functions | |
mitkClassMacro (QmitkWatershedToolGUI, QmitkToolGUI) | |
Pointer | Clone () const |
Public Member Functions inherited from QmitkToolGUI | |
mitkClassMacroItkParent (QmitkToolGUI, itk::Object) | |
void | SetTool (mitk::Tool *tool) |
virtual void | Register () const override |
virtual void | UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE |
virtual void | SetReferenceCount (int) override |
virtual | ~QmitkToolGUI () |
Static Public Member Functions | |
static Pointer | New () |
Protected Slots | |
void | OnNewToolAssociated (mitk::Tool *) |
void | OnSliderValueThresholdChanged (int value) |
Passes the chosen threshold value directly to the watershed tool. More... | |
void | OnSliderValueLevelChanged (int value) |
Passes the chosen level value directly to the watershed tool. More... | |
void | OnCreateSegmentation () |
Starts segmentation algorithm in the watershed tool. More... | |
Protected Member Functions | |
QmitkWatershedToolGUI () | |
virtual | ~QmitkWatershedToolGUI () |
Protected Member Functions inherited from QmitkToolGUI | |
virtual void | BusyStateChanged (bool) |
Protected Attributes | |
QSlider * | m_SliderThreshold |
QSlider * | m_SliderLevel |
QLabel * | m_ThresholdLabel |
Label showing the current threshold value. More... | |
QLabel * | m_LevelLabel |
Label showing the current level value. More... | |
QLabel * | m_InformationLabel |
Label showing additional informations. More... | |
QFrame * | m_Frame |
mitk::WatershedTool::Pointer | m_WatershedTool |
Protected Attributes inherited from QmitkToolGUI | |
mitk::Tool::Pointer | m_Tool |
Additional Inherited Members | |
Signals inherited from QmitkToolGUI | |
void | NewToolAssociated (mitk::Tool *) |
GUI for mitk::WatershedTool.
This GUI shows two sliders to change the watershed parameters. It executes the watershed algorithm by clicking on the button.
Definition at line 37 of file QmitkWatershedToolGUI.h.
|
protected |
Definition at line 31 of file QmitkWatershedToolGUI.cpp.
|
protectedvirtual |
Definition at line 91 of file QmitkWatershedToolGUI.cpp.
References m_WatershedTool.
Pointer QmitkWatershedToolGUI::Clone | ( | ) | const |
QmitkWatershedToolGUI::mitkClassMacro | ( | QmitkWatershedToolGUI | , |
QmitkToolGUI | |||
) |
|
static |
|
protectedslot |
Starts segmentation algorithm in the watershed tool.
Definition at line 139 of file QmitkWatershedToolGUI.cpp.
References mitk::ProgressBar::GetInstance(), m_InformationLabel, m_WatershedTool, and mitk::ProgressBar::Progress().
|
protectedslot |
Definition at line 100 of file QmitkWatershedToolGUI.cpp.
References m_WatershedTool, OnSliderValueLevelChanged(), and OnSliderValueThresholdChanged().
|
protectedslot |
Passes the chosen level value directly to the watershed tool.
Definition at line 129 of file QmitkWatershedToolGUI.cpp.
References m_LevelLabel, m_WatershedTool, and Json::realValue.
Referenced by OnNewToolAssociated().
|
protectedslot |
Passes the chosen threshold value directly to the watershed tool.
Definition at line 119 of file QmitkWatershedToolGUI.cpp.
References m_ThresholdLabel, m_WatershedTool, and Json::realValue.
Referenced by OnNewToolAssociated().
|
protected |
Definition at line 70 of file QmitkWatershedToolGUI.h.
|
protected |
Label showing additional informations.
Definition at line 68 of file QmitkWatershedToolGUI.h.
Referenced by OnCreateSegmentation().
|
protected |
Label showing the current level value.
Definition at line 66 of file QmitkWatershedToolGUI.h.
Referenced by OnSliderValueLevelChanged().
|
protected |
Definition at line 61 of file QmitkWatershedToolGUI.h.
|
protected |
Definition at line 60 of file QmitkWatershedToolGUI.h.
|
protected |
Label showing the current threshold value.
Definition at line 64 of file QmitkWatershedToolGUI.h.
Referenced by OnSliderValueThresholdChanged().
|
protected |
Definition at line 72 of file QmitkWatershedToolGUI.h.
Referenced by OnCreateSegmentation(), OnNewToolAssociated(), OnSliderValueLevelChanged(), OnSliderValueThresholdChanged(), and ~QmitkWatershedToolGUI().