Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkContourModelToImageWidget.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 QmitkContourModelToImageWidget_h
14 #define QmitkContourModelToImageWidget_h
15 
17 
18 #include <QScopedPointer>
19 #include <QWidget>
20 
21 class QmitkContourModelToImageWidgetPrivate;
22 
23 namespace mitk
24 {
25  class DataNode;
26  class DataStorage;
27  class Image;
28  class ContourModelSet;
29  class ContourModel;
30  class Geometry3D;
31  class PlaneGeometry;
32 }
33 
43 {
44  Q_OBJECT
45 
46 public:
47 
49  explicit QmitkContourModelToImageWidget(mitk::DataStorage* dataStorage, QWidget* parent = nullptr);
52 
53 private slots:
54 
56  void OnSelectionChanged(unsigned int index, const mitk::DataNode* selection);
57 
59  void OnProcessPressed();
60 
62  void OnProcessingFinished();
63 
64 private:
65 
66  QScopedPointer<QmitkContourModelToImageWidgetPrivate> d_ptr;
67 
68  Q_DECLARE_PRIVATE(QmitkContourModelToImageWidget)
69  Q_DISABLE_COPY(QmitkContourModelToImageWidget)
70 };
71 
72 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
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
QmitkContourModelToImageWidget
QmitkContourModelToImageWidget.
Definition: QmitkContourModelToImageWidget.h:42
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63