Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkEditableContourToolGUIBase.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 QmitkEditableContourToolGUIBase_h
14
#define QmitkEditableContourToolGUIBase_h
15
16
#include <
QmitkToolGUI.h
>
17
#include <
MitkSegmentationUIExports.h
>
18
19
class
QButtonGroup;
20
21
namespace
mitk
22
{
23
class
EditableContourTool;
24
}
25
26
namespace
Ui
27
{
28
class
QmitkEditableContourToolGUIControls;
29
}
30
36
class
MITKSEGMENTATIONUI_EXPORT
QmitkEditableContourToolGUIBase
:
public
QmitkToolGUI
37
{
38
Q_OBJECT
39
40
public
:
42
enum class
MITKSEGMENTATIONUI_EXPORT
Mode
43
{
44
Add,
45
Subtract
46
};
48
49
mitkClassMacro
(
QmitkEditableContourToolGUIBase
,
QmitkToolGUI
);
50
itkFactorylessNewMacro(Self);
51
52
protected
slots:
53
54
void
OnNewToolAssociated(
mitk::Tool
*);
55
void
OnConfirmSegmentation();
56
void
OnClearContour();
57
void
OnAutoConfirm(
bool
on);
58
void
OnModeToggled(Mode mode);
59
void
OnShowInformation(
bool
on);
60
61
protected
:
62
QmitkEditableContourToolGUIBase
();
63
~
QmitkEditableContourToolGUIBase
()
override
;
64
65
Ui::QmitkEditableContourToolGUIControls*
m_Controls
;
66
QButtonGroup*
m_ModeButtonGroup
;
67
itk::SmartPointer<mitk::EditableContourTool>
m_NewTool
;
68
};
69
70
#endif
QmitkToolGUI.h
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition:
MitkSegmentationUIExports.h:15
QmitkToolGUI
Base class for GUIs belonging to mitk::Tool classes.
Definition:
QmitkToolGUI.h:33
QmitkEditableContourToolGUIBase
GUI for mitk::EditableContourTool based classes.
Definition:
QmitkEditableContourToolGUIBase.h:36
itk::SmartPointer< mitk::EditableContourTool >
mitk::Tool
Base class of all tools used by mitk::ToolManager.
Definition:
mitkTool.h:83
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
Ui
Definition:
BlueBerryExampleLauncherDialog.h:21
QmitkEditableContourToolGUIBase::m_ModeButtonGroup
QButtonGroup * m_ModeButtonGroup
Definition:
QmitkEditableContourToolGUIBase.h:66
QmitkEditableContourToolGUIBase::m_Controls
Ui::QmitkEditableContourToolGUIControls * m_Controls
Definition:
QmitkEditableContourToolGUIBase.h:65
QmitkEditableContourToolGUIBase::m_NewTool
itk::SmartPointer< mitk::EditableContourTool > m_NewTool
Definition:
QmitkEditableContourToolGUIBase.h:67
MitkSegmentationUIExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
src
MITK
Modules
SegmentationUI
Qmitk
QmitkEditableContourToolGUIBase.h
Generated on Tue Dec 24 2024 02:12:30 for Medical Imaging Interaction Toolkit by
1.8.17