Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
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 
20 
21 namespace Ui
22 {
23  class QmitkMorphologicalOperationsWidgetControls;
24 }
25 
26 namespace mitk
27 {
28  class DataNode;
29  class DataStorage;
30 }
31 
35 {
36  Q_OBJECT
37 
38 public:
40  mitk::SliceNavigationController* timeNavigationController,
41  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::SliceNavigationController
Controls the selection of the slice the associated BaseRenderer will display.
Definition: mitkSliceNavigationController.h:132
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkMorphologicalOperations.h
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
QmitkSegmentationUtilityWidget
Base class for segmentation utility widgets that need access to the time navigation controller.
Definition: QmitkSegmentationUtilityWidget.h:30
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:34
QmitkSegmentationUtilityWidget.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63