Medical Imaging Interaction Toolkit
2024.06.00
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
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
i
m
o
p
q
r
s
u
v
Examples
Download
Bug Tracker
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkFillRegionBaseTool.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 mitkFillRegionBaseTool_h
14
#define mitkFillRegionBaseTool_h
15
16
#include "
mitkCommon.h
"
17
#include "
mitkContourModelUtils.h
"
18
#include "
mitkContourUtils.h
"
//TODO remove legacy support
19
#include "
mitkImage.h
"
20
#include "
mitkSegTool2D.h
"
21
#include <
MitkSegmentationExports.h
>
22
23
#include "
mitkDataNode.h
"
24
25
#include "
mitkImageCast.h
"
26
27
namespace
mitk
28
{
41
class
MITKSEGMENTATION_EXPORT
FillRegionBaseTool
:
public
SegTool2D
42
{
43
public
:
44
mitkClassMacro
(
FillRegionBaseTool
,
SegTool2D
);
45
46
protected
:
47
FillRegionBaseTool
();
// purposely hidden
48
~
FillRegionBaseTool
()
override
;
49
50
void
ConnectActionsAndFunctions()
override
;
51
53
virtual
void
OnClick(
StateMachineAction
*,
InteractionEvent
* interactionEvent);
54
68
virtual
Image::Pointer
GenerateFillImage(
const
Image
* workingSlice,
Point3D
seedPoint,
mitk::Label::PixelType
& seedLabelValue)
const
;
69
72
virtual
void
PrepareFilling(
const
Image
* workingSlice,
Point3D
seedPoint) = 0;
73
74
Label::PixelType
m_FillLabelValue = 0;
75
Label::PixelType
m_SeedLabelValue = 0;
76
77
MultiLabelSegmentation::MergeStyle
m_MergeStyle =
MultiLabelSegmentation::MergeStyle::Replace
;
78
private
:
79
};
80
81
}
// namespace
82
83
#endif
mitk::FillRegionBaseTool
Base class for tools that fill a connected region of a 2D slice.
Definition:
mitkFillRegionBaseTool.h:41
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
mitkImage.h
mitkImageCast.h
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
itk::SmartPointer< Self >
mitk::Label::PixelType
unsigned short PixelType
Definition:
mitkLabel.h:34
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::SegTool2D
Abstract base class for segmentation tools.
Definition:
mitkSegTool2D.h:54
mitk::MultiLabelSegmentation::MergeStyle::Replace
@ Replace
mitk::Point< ScalarType, 3 >
mitk::MultiLabelSegmentation::MergeStyle
MergeStyle
Definition:
mitkLabelSetImage.h:605
mitkCommon.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitkSegTool2D.h
mitkDataNode.h
mitkContourModelUtils.h
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
mitkContourUtils.h
src
MITK
Modules
Segmentation
Interactions
mitkFillRegionBaseTool.h
Generated on Mon Jun 17 2024 12:43:26 for Medical Imaging Interaction Toolkit by
1.8.17