Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkMultiLabelSegWithPreviewToolGUIBase.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 QmitkMultiLabelSegWithPreviewToolGUIBase_h
14
#define QmitkMultiLabelSegWithPreviewToolGUIBase_h
15
16
#include "
QmitkSegWithPreviewToolGUIBase.h
"
17
18
#include "
QmitkSimpleLabelSetListWidget.h
"
19
20
#include <
MitkSegmentationUIExports.h
>
21
28
class
MITKSEGMENTATIONUI_EXPORT
QmitkMultiLabelSegWithPreviewToolGUIBase
:
public
QmitkSegWithPreviewToolGUIBase
29
{
30
Q_OBJECT
31
32
public
:
33
mitkClassMacro
(
QmitkMultiLabelSegWithPreviewToolGUIBase
,
QmitkSegWithPreviewToolGUIBase
);
34
35
protected
slots :
36
37
void
OnLabelSelectionChanged(
const
QmitkSimpleLabelSetListWidget::LabelVectorType
& selectedLabels);
38
void
OnRadioTransferAllClicked(
bool
checked);
39
40
protected
:
41
QmitkMultiLabelSegWithPreviewToolGUIBase
();
42
~
QmitkMultiLabelSegWithPreviewToolGUIBase
() =
default
;
43
44
void
InitializeUI
(QBoxLayout* mainLayout)
override
;
45
46
void
EnableWidgets
(
bool
enabled)
override
;
47
void
SetLabelSetPreview(
const
mitk::LabelSetImage
* preview);
48
void
ActualizePreviewLabelVisibility();
49
54
void
DisplayTransferWidgets(
bool
enabled);
55
56
private
:
57
QmitkSimpleLabelSetListWidget
* m_LabelSelectionList =
nullptr
;
58
QWidget* m_RadioTransferAll =
nullptr
;
59
QWidget* m_RadioTransferSelected =
nullptr
;
60
};
61
62
#endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition:
MitkSegmentationUIExports.h:15
QmitkSegWithPreviewToolGUIBase
GUI base clase for tools derived from mitk::SegWithPreviewTool.
Definition:
QmitkSegWithPreviewToolGUIBase.h:30
QmitkSegWithPreviewToolGUIBase::mitkClassMacro
mitkClassMacro(QmitkSegWithPreviewToolGUIBase, QmitkToolGUI)
QmitkSegWithPreviewToolGUIBase.h
QmitkSimpleLabelSetListWidget
Widget that offers a simple list that displays all labels (color and name) in the active layer of a L...
Definition:
QmitkSimpleLabelSetListWidget.h:26
QmitkSegWithPreviewToolGUIBase::InitializeUI
virtual void InitializeUI(QBoxLayout *mainLayout)
QmitkSegWithPreviewToolGUIBase::EnableWidgets
virtual void EnableWidgets(bool enabled)
QmitkSimpleLabelSetListWidget::LabelVectorType
std::vector< mitk::Label::ConstPointer > LabelVectorType
Definition:
QmitkSimpleLabelSetListWidget.h:34
QmitkSimpleLabelSetListWidget.h
MitkSegmentationUIExports.h
QmitkMultiLabelSegWithPreviewToolGUIBase
GUI for tools based on mitk::AutoMLSegmentationWithPreviewTool.
Definition:
QmitkMultiLabelSegWithPreviewToolGUIBase.h:28
mitk::LabelSetImage
LabelSetImage class for handling labels and layers in a segmentation session.
Definition:
mitkLabelSetImage.h:43
src
MITK
Modules
SegmentationUI
Qmitk
QmitkMultiLabelSegWithPreviewToolGUIBase.h
Generated on Tue Dec 24 2024 02:12:30 for Medical Imaging Interaction Toolkit by
1.8.17