Medical Imaging Interaction Toolkit  2016.11.0
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,
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 QmitkWatershedToolGUI_h_Included
18 #define QmitkWatershedToolGUI_h_Included
19 
20 #include "QmitkToolGUI.h"
21 #include "mitkWatershedTool.h"
23 
24 class QSlider;
25 class QLabel;
26 class QFrame;
27 
38 {
39  Q_OBJECT
40 
41 public:
43  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
44 
45  protected slots :
46 
47  void OnNewToolAssociated(mitk::Tool *);
48 
50  void OnSliderValueThresholdChanged(int value);
52  void OnSliderValueLevelChanged(int value);
54  void OnCreateSegmentation();
55 
56 protected:
58  virtual ~QmitkWatershedToolGUI();
59 
61  QSlider *m_SliderLevel;
62 
66  QLabel *m_LevelLabel;
69 
70  QFrame *m_Frame;
71 
73 };
74 
75 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:92
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:44
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:36
mitk::WatershedTool::Pointer m_WatershedTool
QLabel * m_InformationLabel
Label showing additional informations.
#define MITKSEGMENTATIONUI_EXPORT