Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
GUI for mitk::WatershedTool. More...
#include <QmitkWatershedToolGUI.h>
Public Member Functions | |
mitkClassMacro (QmitkWatershedToolGUI, QmitkToolGUI) | |
Pointer | Clone () const |
![]() | |
mitkClassMacroItkParent (QmitkToolGUI, itk::Object) | |
void | SetTool (mitk::Tool *tool) |
void | Register () const override |
void | UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE |
void | SetReferenceCount (int) override |
~QmitkToolGUI () override | |
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 () | |
~QmitkWatershedToolGUI () override | |
![]() | |
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 |
![]() | |
mitk::Tool::Pointer | m_Tool |
Additional Inherited Members | |
![]() | |
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 33 of file QmitkWatershedToolGUI.h.
|
protected |
Definition at line 27 of file QmitkWatershedToolGUI.cpp.
|
overrideprotected |
Definition at line 87 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 135 of file QmitkWatershedToolGUI.cpp.
References mitk::ProgressBar::GetInstance(), m_InformationLabel, m_WatershedTool, and mitk::ProgressBar::Progress().
|
protectedslot |
Definition at line 96 of file QmitkWatershedToolGUI.cpp.
References m_WatershedTool, OnSliderValueLevelChanged(), and OnSliderValueThresholdChanged().
|
protectedslot |
Passes the chosen level value directly to the watershed tool.
Definition at line 125 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 115 of file QmitkWatershedToolGUI.cpp.
References m_ThresholdLabel, m_WatershedTool, and Json::realValue.
Referenced by OnNewToolAssociated().
|
protected |
Definition at line 67 of file QmitkWatershedToolGUI.h.
|
protected |
Label showing additional informations.
Definition at line 65 of file QmitkWatershedToolGUI.h.
Referenced by OnCreateSegmentation().
|
protected |
Label showing the current level value.
Definition at line 63 of file QmitkWatershedToolGUI.h.
Referenced by OnSliderValueLevelChanged().
|
protected |
Definition at line 58 of file QmitkWatershedToolGUI.h.
|
protected |
Definition at line 57 of file QmitkWatershedToolGUI.h.
|
protected |
Label showing the current threshold value.
Definition at line 61 of file QmitkWatershedToolGUI.h.
Referenced by OnSliderValueThresholdChanged().
|
protected |
Definition at line 69 of file QmitkWatershedToolGUI.h.
Referenced by OnCreateSegmentation(), OnNewToolAssociated(), OnSliderValueLevelChanged(), OnSliderValueThresholdChanged(), and ~QmitkWatershedToolGUI().