Medical Imaging Interaction Toolkit  2016.11.0
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,
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 QmitkLiveWireTool2DGUI_h_Included
18 #define QmitkLiveWireTool2DGUI_h_Included
19 
20 #include "QmitkToolGUI.h"
21 #include "mitkLiveWireTool2D.h"
22 #include "ui_QmitkLiveWireTool2DGUIControls.h"
24 
25 class QSlider;
26 class QLabel;
27 class QFrame;
28 class QPushButton;
29 #include <QCheckBox>
30 
31 #include "QmitkStepperAdapter.h"
32 
33 class QmitkLiveWireTool2DGUIControls;
34 
41 {
42  Q_OBJECT
43 
44 public:
46  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
47 
48  protected slots :
49 
50  void OnNewToolAssociated(mitk::Tool *);
51 
52  void OnConfirmSegmentation();
53 
54  void OnClearSegmentation();
55 
56  void OnShowInformation(bool on);
57 
58 protected:
60  virtual ~QmitkLiveWireTool2DGUI();
61 
62  Ui::QmitkLiveWireTool2DGUIControls m_Controls;
63 
65 };
66 
67 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:92
mitk::LiveWireTool2D::Pointer m_LiveWireTool
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
GUI for mitk::LiveWireTool.
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:36
Ui::QmitkLiveWireTool2DGUIControls m_Controls
#define MITKSEGMENTATIONUI_EXPORT