Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 
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 
55 
56  Ui::QmitkMaskStampWidgetGUIControls m_Controls;
57 };
58 
59 #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.
mitk::DataStorage::Pointer m_DataStorage
#define MITKSEGMENTATIONUI_EXPORT
Manages and coordinates instances of mitk::Tool.