Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkLiveWireTool2DGUI.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 QmitkLiveWireTool2DGUI_h_Included
14 #define QmitkLiveWireTool2DGUI_h_Included
15 
16 #include "QmitkToolGUI.h"
17 #include "mitkLiveWireTool2D.h"
18 #include "ui_QmitkLiveWireTool2DGUIControls.h"
20 
21 class QSlider;
22 class QLabel;
23 class QFrame;
24 class QPushButton;
25 #include <QCheckBox>
26 
27 #include "QmitkStepperAdapter.h"
28 
29 class QmitkLiveWireTool2DGUIControls;
30 
37 {
38  Q_OBJECT
39 
40 public:
42  itkFactorylessNewMacro(Self);
43  itkCloneMacro(Self);
44 
45  protected slots :
46 
47  void OnNewToolAssociated(mitk::Tool *);
48 
49  void OnConfirmSegmentation();
50 
51  void OnClearSegmentation();
52 
53  void OnShowInformation(bool on);
54 
55 protected:
57  ~QmitkLiveWireTool2DGUI() override;
58 
59  Ui::QmitkLiveWireTool2DGUIControls m_Controls;
60 
62 };
63 
64 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:86
mitk::LiveWireTool2D::Pointer m_LiveWireTool
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
GUI for mitk::LiveWireTool.
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:32
Ui::QmitkLiveWireTool2DGUIControls m_Controls
#define MITKSEGMENTATIONUI_EXPORT