Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkMaskStampWidget.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 QmitkMaskStampWidget_h
14 #define QmitkMaskStampWidget_h
15 
17 #include "mitkDataNode.h"
18 
19 #include <QWidget>
20 
21 #include "ui_QmitkMaskStampWidgetGUIControls.h"
22 
23 namespace mitk
24 {
25  class ToolManager;
26 }
27 
36 {
37  Q_OBJECT
38 
39 public:
40  QmitkMaskStampWidget(QWidget *parent = nullptr, const char *name = nullptr);
41  ~QmitkMaskStampWidget() override;
42 
43  void SetDataStorage(mitk::DataStorage *storage);
44 
45 protected slots:
46 
47  void OnShowInformation(bool);
48 
49  void OnStamp();
50 
51 private:
52  mitk::ToolManager *m_ToolManager;
53 
54  mitk::DataStorage *m_DataStorage;
55 
56  Ui::QmitkMaskStampWidgetGUIControls m_Controls;
57 };
58 
59 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ToolManager
Manages and coordinates instances of mitk::Tool.
Definition: mitkToolManager.h:78
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition: mitkDataStorage.h:43
QmitkMaskStampWidget
GUI for mask stamp functionality.
Definition: QmitkMaskStampWidget.h:35
mitkDataNode.h
MitkSegmentationUIExports.h