Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
GUI for mitk::BinaryThresholdTool. More...
#include <QmitkBinaryThresholdToolGUI.h>
Public Member Functions | |
mitkClassMacro (QmitkBinaryThresholdToolGUI, QmitkBinaryThresholdToolGUIBase) | |
Pointer | Clone () const |
Public Member Functions inherited from QmitkBinaryThresholdToolGUIBase | |
mitkClassMacro (QmitkBinaryThresholdToolGUIBase, QmitkSegWithPreviewToolGUIBase) | |
void | OnThresholdingIntervalBordersChanged (double lower, double upper, bool isFloat) |
void | OnThresholdingValuesChanged (mitk::ScalarType lower, mitk::ScalarType upper) |
Public Member Functions inherited from QmitkSegWithPreviewToolGUIBase | |
mitkClassMacro (QmitkSegWithPreviewToolGUIBase, QmitkToolGUI) | |
Pointer | Clone () const |
virtual bool | GetMode2D () const |
Public Member Functions inherited from QmitkToolGUI | |
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 () |
Additional Inherited Members | |
Signals inherited from QmitkToolGUI | |
void | NewToolAssociated (mitk::Tool *) |
Protected Types inherited from QmitkSegWithPreviewToolGUIBase | |
using | EnableConfirmSegBtnFunctionType = std::function< bool(bool)> |
Protected Slots inherited from QmitkBinaryThresholdToolGUIBase | |
void | OnThresholdRangeChanged (double min, double max) |
void | OnThresholdSliderChanged (double value) |
Protected Slots inherited from QmitkSegWithPreviewToolGUIBase | |
void | OnNewToolAssociated (mitk::Tool *) |
void | OnAcceptPreview () |
Protected Attributes inherited from QmitkBinaryThresholdToolGUIBase | |
ctkRangeWidget * | m_ThresholdRange |
ctkSliderWidget * | m_ThresholdSlider |
bool | m_ULMode |
bool | m_InternalUpdate |
Protected Attributes inherited from QmitkSegWithPreviewToolGUIBase | |
EnableConfirmSegBtnFunctionType | m_EnableConfirmSegBtnFnc |
Protected Attributes inherited from QmitkToolGUI | |
mitk::Tool::Pointer | m_Tool |
GUI for mitk::BinaryThresholdTool.
This GUI shows a slider to change the tool's threshold and an OK button to accept a preview for actual thresholding.
There is only a slider for INT values in QT. So, if the working image has a float/double pixeltype, we need to convert the original float intensity into a respective int value for the slider. The slider range is then between 0 and 99.
If the pixeltype is INT, then we do not need any conversion.
Last contributor: $Author$
Definition at line 33 of file QmitkBinaryThresholdToolGUI.h.
|
protected |
|
overrideprotected |
Pointer QmitkBinaryThresholdToolGUI::Clone | ( | ) | const |
QmitkBinaryThresholdToolGUI::mitkClassMacro | ( | QmitkBinaryThresholdToolGUI | , |
QmitkBinaryThresholdToolGUIBase | |||
) |
|
static |