Medical Imaging Interaction Toolkit  2025.12.02
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 
43 
44 private slots:
45 
46  void OnAdvancedSettingsButtonToggled(bool toggled);
47 
48 protected:
51 
52  void ConnectNewTool(mitk::SegWithPreviewTool *newTool) override;
53 
54  void InitializeUI(QBoxLayout *mainLayout) override;
55 
57 
59 
60  void EnableWidgets(bool enabled) override;
61 
62  Ui_QmitkGrowCutToolWidgetControls m_Controls;
63 
64  bool m_FirstPreviewComputation = false;
65 };
66 
67 #endif
#define MITKSEGMENTATIONUI_EXPORT
GUI for mitk::GrowCutTool.
void SetValueOfDistancePenaltyDoubleSpinBox(int val)
void SetValueOfDistancePenaltySlider(double val)
~QmitkGrowCutToolGUI() override
mitkClassMacro(QmitkGrowCutToolGUI, QmitkMultiLabelSegWithPreviewToolGUIBase)
Ui_QmitkGrowCutToolWidgetControls m_Controls
void ConnectNewTool(mitk::SegWithPreviewTool *newTool) override
void InitializeUI(QBoxLayout *mainLayout) override
void EnableWidgets(bool enabled) override
GUI for tools based on mitk::AutoMLSegmentationWithPreviewTool.
Base class for any auto segmentation tool that provides a preview of the new segmentation.