Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkOtsuTool3DGUI.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 QmitkOtsuTool3DGUI_h_Included
18 #define QmitkOtsuTool3DGUI_h_Included
19 
20 #include "QmitkToolGUI.h"
21 #include "mitkOtsuTool3D.h"
22 #include "ui_QmitkOtsuToolWidgetControls.h"
24 #include <QListWidget>
25 #include <QPushButton>
26 
27 class QSpinBox;
28 class QLabel;
29 
40 {
41  Q_OBJECT
42 
43 public:
45  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
46 
47  signals :
48 
49  public slots :
50 
51  protected slots :
52 
53  void OnNewToolAssociated(mitk::Tool *);
54 
55  void OnSpinboxValueAccept();
56 
57  void OnSegmentationRegionAccept();
58 
59  void OnRegionSelectionChanged();
60 
61  void OnRegionSpinboxChanged(int);
62 
63  void OnVolumePreviewChecked(int);
64 
65 private slots:
66 
67  void OnAdvancedSettingsButtonToggled(bool toggled);
68 
69 protected:
71  virtual ~QmitkOtsuTool3DGUI();
72 
74 
75  Ui_QmitkOtsuToolWidgetControls m_Controls;
76 
78 
80 
82 
83  QList<QListWidgetItem *> m_SelectedItems;
84 };
85 
86 #endif
GUI for mitk::.
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:92
QList< QListWidgetItem * > m_SelectedItems
Ui_QmitkOtsuToolWidgetControls m_Controls
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:36
mitk::OtsuTool3D::Pointer m_OtsuTool3DTool
#define MITKSEGMENTATIONUI_EXPORT