Medical Imaging Interaction Toolkit  2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
QmitkCopyLabelToGroupDialog.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 QmitkCopyLabelToGroupDialog_h
14 #define QmitkCopyLabelToGroupDialog_h
15 
17 #include <QDialog>
18 
19 namespace mitk
20 {
21  class Label;
22  class LabelSetImage;
23 }
24 
25 namespace Ui
26 {
28 }
29 
31 {
32  Q_OBJECT
33 
34 public:
35  QmitkCopyLabelToGroupDialog(mitk::LabelSetImage* segmentation, mitk::Label* label, QWidget* parent = nullptr);
36  ~QmitkCopyLabelToGroupDialog() override;
37 
38  void accept() override;
39 
40  mitk::Label* GetDestinationLabel() const;
41 
42 private:
43  Ui::QmitkCopyLabelToGroupDialog* m_Ui;
44 
45  mitk::LabelSetImage* m_Segmentation;
46  mitk::Label* m_SourceLabel;
47  mitk::Label* m_DestinationLabel;
48 };
49 
50 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
QmitkCopyLabelToGroupDialog
Definition: QmitkCopyLabelToGroupDialog.h:30
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
mitk::Label
A data structure describing a label.
Definition: mitkLabel.h:29
MitkSegmentationUIExports.h
mitk::LabelSetImage
LabelSetImage class for handling labels and layers in a segmentation session.
Definition: mitkLabelSetImage.h:43