Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkWatershedToolGUI.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 QmitkWatershedToolGUI_h_Included
14 #define QmitkWatershedToolGUI_h_Included
15 
16 #include "QmitkToolGUI.h"
17 #include "mitkWatershedTool.h"
19 
20 class QSlider;
21 class QLabel;
22 class QFrame;
23 
34 {
35  Q_OBJECT
36 
37 public:
39  itkFactorylessNewMacro(Self);
40  itkCloneMacro(Self);
41 
42  protected slots :
43 
44  void OnNewToolAssociated(mitk::Tool *);
45 
47  void OnSliderValueThresholdChanged(int value);
49  void OnSliderValueLevelChanged(int value);
51  void OnCreateSegmentation();
52 
53 protected:
55  ~QmitkWatershedToolGUI() override;
56 
58  QSlider *m_SliderLevel;
59 
63  QLabel *m_LevelLabel;
66 
67  QFrame *m_Frame;
68 
70 };
71 
72 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:86
GUI for mitk::WatershedTool.
QLabel * m_ThresholdLabel
Label showing the current threshold value.
QLabel * m_LevelLabel
Label showing the current level value.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:32
mitk::WatershedTool::Pointer m_WatershedTool
QLabel * m_InformationLabel
Label showing additional informations.
#define MITKSEGMENTATIONUI_EXPORT