Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkSurfaceStampWidget.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 QmitkSurfaceStampWidget_h
14 #define QmitkSurfaceStampWidget_h
15 
17 
18 #include <QWidget>
19 
20 namespace Ui
21 {
22  class QmitkSurfaceStampWidgetGUIControls;
23 }
24 
25 namespace mitk
26 {
27  class ToolManager;
28 }
29 
37 {
38  Q_OBJECT
39 
40 public:
42  QmitkSurfaceStampWidget(QWidget *parent = nullptr, const char *name = nullptr);
44 
47 
48 protected slots:
49 
50  void OnShowInformation(bool);
51 
52  void OnStamp();
53 
54 private:
55  mitk::ToolManager *m_ToolManager;
56 
57  mitk::DataStorage *m_DataStorage;
58 
59  std::unique_ptr<Ui::QmitkSurfaceStampWidgetGUIControls> m_Controls;
60 };
61 
62 #endif
#define MITKSEGMENTATIONUI_EXPORT
GUI for surface-based interpolation.
void SetDataStorage(mitk::DataStorage *storage)
Sets the data storage used for node selection.
QmitkSurfaceStampWidget(QWidget *parent=nullptr, const char *name=nullptr)
Constructs the surface stamp widget.
~QmitkSurfaceStampWidget() override
void OnShowInformation(bool)
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Manages and coordinates instances of mitk::Tool.
Find image slices visible on a given plane.