Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkGrowCutToolGUI.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 QmitkGrowCutToolGUI_h
14 #define QmitkGrowCutToolGUI_h
15 
17 
18 #include "ui_QmitkGrowCutToolWidgetControls.h"
19 
21 
32 {
33  Q_OBJECT
34 
35 public:
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39 
40 protected slots:
41 
42  void OnPreviewBtnClicked();
43 
44 private slots:
45 
46  void OnAdvancedSettingsButtonToggled(bool toggled);
47 
48 protected:
50  ~QmitkGrowCutToolGUI() override;
51 
52  void ConnectNewTool(mitk::SegWithPreviewTool *newTool) override;
53 
54  void InitializeUI(QBoxLayout *mainLayout) override;
55 
56  void SetValueOfDistancePenaltySlider(double val);
57 
58  void SetValueOfDistancePenaltyDoubleSpinBox(int val);
59 
60  void EnableWidgets(bool enabled) override;
61 
62  Ui_QmitkGrowCutToolWidgetControls m_Controls;
63 
64  bool m_FirstPreviewComputation = false;
65 };
66 
67 #endif
mitk::SegWithPreviewTool
Base class for any auto segmentation tool that provides a preview of the new segmentation.
Definition: mitkSegWithPreviewTool.h:38
QmitkGrowCutToolGUI::m_Controls
Ui_QmitkGrowCutToolWidgetControls m_Controls
Definition: QmitkGrowCutToolGUI.h:62
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
QmitkMultiLabelSegWithPreviewToolGUIBase.h
QmitkMultiLabelSegWithPreviewToolGUIBase::InitializeUI
void InitializeUI(QBoxLayout *mainLayout) override
QmitkMultiLabelSegWithPreviewToolGUIBase::EnableWidgets
void EnableWidgets(bool enabled) override
QmitkMultiLabelSegWithPreviewToolGUIBase::mitkClassMacro
mitkClassMacro(QmitkMultiLabelSegWithPreviewToolGUIBase, QmitkSegWithPreviewToolGUIBase)
QmitkGrowCutToolGUI
GUI for mitk::GrowCutTool.
Definition: QmitkGrowCutToolGUI.h:31
MitkSegmentationUIExports.h
QmitkMultiLabelSegWithPreviewToolGUIBase
GUI for tools based on mitk::AutoMLSegmentationWithPreviewTool.
Definition: QmitkMultiLabelSegWithPreviewToolGUIBase.h:28
QmitkSegWithPreviewToolGUIBase::ConnectNewTool
virtual void ConnectNewTool(mitk::SegWithPreviewTool *newTool)