Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
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
namespace
mitk
20
{
21
class
EditableContourTool;
22
}
23
24
namespace
Ui
25
{
26
class
QmitkEditableContourToolGUIControls;
27
}
28
34
class
MITKSEGMENTATIONUI_EXPORT
QmitkEditableContourToolGUIBase
:
public
QmitkToolGUI
35
{
36
Q_OBJECT
37
38
public
:
40
enum class
MITKSEGMENTATIONUI_EXPORT
Mode
41
{
42
Add,
43
Subtract
44
};
46
47
mitkClassMacro
(
QmitkEditableContourToolGUIBase
,
QmitkToolGUI
);
48
itkFactorylessNewMacro(Self);
49
50
protected
slots:
51
52
void
OnNewToolAssociated(
mitk::Tool
*);
53
void
OnConfirmSegmentation();
54
void
OnClearContour();
55
void
OnAutoConfirm(
bool
on);
56
void
OnModeToggled(Mode mode);
57
void
OnShowInformation(
bool
on);
58
59
protected
:
60
QmitkEditableContourToolGUIBase
();
61
~
QmitkEditableContourToolGUIBase
()
override
;
62
63
Ui::QmitkEditableContourToolGUIControls*
m_Controls
;
64
itk::SmartPointer<mitk::EditableContourTool>
m_NewTool
;
65
};
66
67
#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:34
itk::SmartPointer< mitk::EditableContourTool >
mitk::Tool
Base class of all tools used by mitk::ToolManager.
Definition:
mitkTool.h:78
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
Ui
Definition:
BlueBerryExampleLauncherDialog.h:21
QmitkEditableContourToolGUIBase::m_Controls
Ui::QmitkEditableContourToolGUIControls * m_Controls
Definition:
QmitkEditableContourToolGUIBase.h:63
QmitkEditableContourToolGUIBase::m_NewTool
itk::SmartPointer< mitk::EditableContourTool > m_NewTool
Definition:
QmitkEditableContourToolGUIBase.h:64
MitkSegmentationUIExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
src
MITK
Modules
SegmentationUI
Qmitk
QmitkEditableContourToolGUIBase.h
Generated on Mon Sep 1 2025 02:39:53 for Medical Imaging Interaction Toolkit by
1.8.17