Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkBinaryThresholdULToolGUI_h_Included
18 #define QmitkBinaryThresholdULToolGUI_h_Included
19 
20 #include "QmitkToolGUI.h"
21 #include "ctkRangeWidget.h"
24 
34 {
35  Q_OBJECT
36 
37 public:
39  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
40 
41  void OnThresholdingIntervalBordersChanged(double lower, double upper, bool isFloat);
42  void OnThresholdingValuesChanged(mitk::ScalarType lower, mitk::ScalarType upper);
43 
44 signals:
45 
46 public slots:
47 
48 protected slots:
49 
50  void OnNewToolAssociated(mitk::Tool *);
51 
52  void OnAcceptThresholdPreview();
53 
54  void OnThresholdsChanged(double min, double max);
55 
56 protected:
59 
60  ctkRangeWidget *m_DoubleThresholdSlider;
61 
63 };
64 
65 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:92
double ScalarType
GUI for mitk::BinaryThresholdTool.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
mitk::BinaryThresholdULTool::Pointer m_BinaryThresholdULTool
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:36
static T max(T x, T y)
Definition: svm.cpp:70
static T min(T x, T y)
Definition: svm.cpp:67
#define MITKSEGMENTATIONUI_EXPORT