Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkBinaryThresholdULToolGUI.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkBinaryThresholdULToolGUI_h_Included
14 #define QmitkBinaryThresholdULToolGUI_h_Included
15 
16 #include "QmitkToolGUI.h"
17 #include "ctkRangeWidget.h"
20 
30 {
31  Q_OBJECT
32 
33 public:
35  itkFactorylessNewMacro(Self);
36  itkCloneMacro(Self);
37 
38  void OnThresholdingIntervalBordersChanged(double lower, double upper, bool isFloat);
39  void OnThresholdingValuesChanged(mitk::ScalarType lower, mitk::ScalarType upper);
40 
41 signals:
42 
43 public slots:
44 
45 protected slots:
46 
47  void OnNewToolAssociated(mitk::Tool *);
48 
49  void OnAcceptThresholdPreview();
50 
51  void OnThresholdsChanged(double min, double max);
52 
53 protected:
56 
57  ctkRangeWidget *m_DoubleThresholdSlider;
58 
60 };
61 
62 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:86
double ScalarType
GUI for mitk::BinaryThresholdTool.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
mitk::BinaryThresholdULTool::Pointer m_BinaryThresholdULTool
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:32
static T max(T x, T y)
Definition: svm.cpp:56
static T min(T x, T y)
Definition: svm.cpp:53
#define MITKSEGMENTATIONUI_EXPORT