Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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_Included
14 #define QmitkMaskStampWidget_h_Included
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 
38 {
39  Q_OBJECT
40 
41 public:
42  QmitkMaskStampWidget(QWidget *parent = nullptr, const char *name = nullptr);
43  ~QmitkMaskStampWidget() override;
44 
45  void SetDataStorage(mitk::DataStorage *storage);
46 
47 protected slots:
48 
49  void OnShowInformation(bool);
50 
51  void OnStamp();
52 
53 private:
54  mitk::ToolManager *m_ToolManager;
55 
56  mitk::DataStorage *m_DataStorage;
57 
58  Ui::QmitkMaskStampWidgetGUIControls m_Controls;
59 };
60 
61 #endif
Data management class that handles &#39;was created by&#39; relations.
DataCollection - Class to facilitate loading/accessing structured data.
GUI for mask stamp functionality.
#define MITKSEGMENTATIONUI_EXPORT
Manages and coordinates instances of mitk::Tool.