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