Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
QmitkMorphologicalOperationsWidget.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 QmitkMorphologicalOperationsWidget_h
14 #define QmitkMorphologicalOperationsWidget_h
15 
17 
19 #include <mitkRenderingManager.h>
20 
21 #include <QWidget>
22 
23 namespace Ui
24 {
25  class QmitkMorphologicalOperationsWidgetControls;
26 }
27 
28 namespace mitk
29 {
30  class DataNode;
31  class DataStorage;
32 }
33 
37 {
38  Q_OBJECT
39 
40 public:
41  explicit QmitkMorphologicalOperationsWidget(mitk::DataStorage* dataStorage, QWidget* parent = nullptr);
43 
44 public slots:
45  void OnClosingButtonClicked();
46  void OnOpeningButtonClicked();
47  void OnDilatationButtonClicked();
48  void OnErosionButtonClicked();
49  void OnFillHolesButtonClicked();
50  void OnSelectionChanged(unsigned int index, const mitk::DataNode* selection);
51  void OnRadioButtonsClicked();
52 
53 protected:
54  void EnableButtons(bool enable);
55 
56 private:
57  Ui::QmitkMorphologicalOperationsWidgetControls* m_Controls;
59 };
60 
61 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
mitk::MorphologicalOperations::StructuralElementType
StructuralElementType
Definition: mitkMorphologicalOperations.h:26
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitkMorphologicalOperations.h
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition: mitkDataStorage.h:43
MitkSegmentationUIExports.h
QmitkMorphologicalOperationsWidget
GUI class for morphological segmentation tools.
Definition: QmitkMorphologicalOperationsWidget.h:36
mitkRenderingManager.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63