Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkStaticDynamicSegmentationDialog.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 QmitkStaticDynamicSegmentationDialog_h
14 #define QmitkStaticDynamicSegmentationDialog_h
15 
17 
18 #include <QMessageBox>
19 
20 #include <mitkImage.h>
21 
31 {
32  Q_OBJECT
33 
34 public:
35 
36  QmitkStaticDynamicSegmentationDialog(QWidget* parent = nullptr);
37 
38  void SetReferenceImage(const mitk::Image* referenceImage);
39  mitk::Image::ConstPointer GetSegmentationTemplate() const;
40 
41 private Q_SLOTS:
42 
43  void OnStaticButtonClicked(bool checked = false);
44 
45 private:
46 
47  mitk::Image::ConstPointer m_SegmentationTemplate;
48  const mitk::Image* m_ReferenceImage;
49 };
50 
51 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
mitkImage.h
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
itk::SmartPointer< const Self >
MitkSegmentationUIExports.h
QmitkStaticDynamicSegmentationDialog
Dialog for static / dynamic segmentation node creation.
Definition: QmitkStaticDynamicSegmentationDialog.h:30