Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkPickingTool.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 mitkPickingTool_h
14
#define mitkPickingTool_h
15
16
#include "
mitkSegWithPreviewTool.h
"
17
#include "
mitkPointSet.h
"
18
19
#include <
MitkSegmentationExports.h
>
20
21
namespace
us
22
{
23
class
ModuleResource;
24
}
25
26
namespace
mitk
27
{
40
class
MITKSEGMENTATION_EXPORT
PickingTool
:
public
SegWithPreviewTool
41
{
42
public
:
43
mitkClassMacro
(
PickingTool
,
SegWithPreviewTool
);
44
itkFactorylessNewMacro(
Self
);
45
itkCloneMacro(
Self
);
46
47
const
char
**GetXPM()
const override
;
48
const
char
*GetName()
const override
;
49
us::ModuleResource
GetIconResource()
const override
;
50
51
void
Activated()
override
;
52
void
Deactivated()
override
;
53
55
void
ClearPicks();
56
57
bool
HasPicks()
const
;
58
59
protected
:
60
PickingTool
();
// purposely hidden
61
~
PickingTool
()
override
;
62
63
void
ConnectActionsAndFunctions()
override
;
64
66
virtual
void
OnAddPoint(
StateMachineAction
*,
InteractionEvent
* interactionEvent);
67
69
virtual
void
OnDelete(
StateMachineAction
*,
InteractionEvent
* interactionEvent);
70
72
void
ClearSeeds();
73
74
void
DoUpdatePreview(
const
Image
* inputAtTimeStep,
const
Image
* oldSegAtTimeStep,
LabelSetImage
* previewImage,
TimeStepType
timeStep)
override
;
75
76
// seed point
77
PointSet::Pointer
m_PointSet
;
78
DataNode::Pointer
m_PointSetNode
;
79
};
80
81
}
// namespace
82
83
#endif
mitk::SegWithPreviewTool
Base class for any auto segmentation tool that provides a preview of the new segmentation.
Definition:
mitkSegWithPreviewTool.h:38
mitk::PickingTool::m_PointSet
PointSet::Pointer m_PointSet
Definition:
mitkPickingTool.h:77
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
us
Definition:
mitkAbstractFileReader.h:29
mitkSegWithPreviewTool.h
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
itk::SmartPointer< Self >
mitkPointSet.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::EventStateMachine
**
Definition:
mitkEventStateMachine.h:111
mitk::PickingTool
Extracts a single region from a segmentation image and creates a new image with same geometry of the ...
Definition:
mitkPickingTool.h:40
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
us::ModuleResource
Definition:
usModuleResource.h:55
mitk::TimeStepType
std::size_t TimeStepType
Definition:
mitkTimeGeometry.h:27
mitk::StateMachineAction
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Definition:
mitkStateMachineAction.h:30
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
MitkSegmentationExports.h
mitk::PickingTool::m_PointSetNode
DataNode::Pointer m_PointSetNode
Definition:
mitkPickingTool.h:78
mitk::LabelSetImage
LabelSetImage class for handling labels and layers in a segmentation session.
Definition:
mitkLabelSetImage.h:43
src
MITK
Modules
Segmentation
Interactions
mitkPickingTool.h
Generated on Fri Mar 14 2025 02:13:57 for Medical Imaging Interaction Toolkit by
1.8.17