Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
19 
20 #include "itkSmartPointer.h"
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,
52  mitk::SliceNavigationController* timeNavigationController,
53  QWidget* parent = nullptr);
54 
56  ~QmitkSurfaceToImageWidget() override;
57 
58 private slots:
59 
61  void OnSelectionChanged(unsigned int index, const mitk::DataNode* selection);
62 
64  void OnSurface2ImagePressed();
65 
66 private:
67 
69  void EnableButtons(bool enable = true);
70 
73 
74  Ui::QmitkSurfaceToImageWidgetControls* m_Controls;
75 };
76 
77 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
itk::SmartPointer
Definition: mitkIFileReader.h:30
mitk::SliceNavigationController
Controls the selection of the slice the associated BaseRenderer will display.
Definition: mitkSliceNavigationController.h:132
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
QmitkSurfaceToImageWidget
QmitkSurfaceToImageWidget.
Definition: QmitkSurfaceToImageWidget.h:44
QmitkSegmentationUtilityWidget
Base class for segmentation utility widgets that need access to the time navigation controller.
Definition: QmitkSegmentationUtilityWidget.h:30
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
QmitkSegmentationUtilityWidget.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63