Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkSurfaceToImageWidget.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 QmitkSurfaceToImageWidget_h
14 #define QmitkSurfaceToImageWidget_h
15 
17 
18 #include "itkSmartPointer.h"
19 
20 #include <QWidget>
21 
22 namespace Ui
23 {
24  class QmitkSurfaceToImageWidgetControls;
25 }
26 
27 namespace mitk
28 {
29  class DataNode;
30  class DataStorage;
31  class Surface;
32  class Image;
33  class LabelSetImage;
34 }
35 
45 {
46  Q_OBJECT
47 
48 public:
49 
51  explicit QmitkSurfaceToImageWidget(mitk::DataStorage* dataStorage, QWidget* parent = nullptr);
52 
54  ~QmitkSurfaceToImageWidget() override;
55 
56 private slots:
57 
59  void OnSelectionChanged(unsigned int index, const mitk::DataNode* selection);
60 
62  void OnSurface2ImagePressed();
63 
64 private:
65 
67  void EnableButtons(bool enable = true);
68 
71 
72  Ui::QmitkSurfaceToImageWidgetControls* m_Controls;
73 };
74 
75 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
itk::SmartPointer
Definition: mitkIFileReader.h:30
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
QmitkSurfaceToImageWidget
QmitkSurfaceToImageWidget.
Definition: QmitkSurfaceToImageWidget.h:44
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition: mitkDataStorage.h:43
MitkSegmentationUIExports.h
itk::Image
class ITK_EXPORT Image
Definition: mitkGeometryClipImageFilter.h:25
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63