Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkMaskStampWidget_h_Included
18 #define QmitkMaskStampWidget_h_Included
19 
21 #include "mitkDataNode.h"
22 
23 #include <QWidget>
24 
25 #include "ui_QmitkMaskStampWidgetGUIControls.h"
26 
27 namespace mitk
28 {
29  class ToolManager;
30 }
31 
40 {
41  Q_OBJECT
42 
43 public:
44  QmitkMaskStampWidget(QWidget *parent = 0, const char *name = 0);
45  virtual ~QmitkMaskStampWidget();
46 
47  void SetDataStorage(mitk::DataStorage *storage);
48 
49 protected slots:
50 
51  void OnShowInformation(bool);
52 
53  void OnStamp();
54 
55 private:
56  mitk::ToolManager *m_ToolManager;
57 
59 
60  Ui::QmitkMaskStampWidgetGUIControls m_Controls;
61 };
62 
63 #endif
Data management class that handles 'was created by' 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.