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
mitkExtractSliceFilter2.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 mitkExtractSliceFilter2_h
14
#define mitkExtractSliceFilter2_h
15
16
#include <
mitkImageToImageFilter.h
>
17
#include <
mitkPlaneGeometry.h
>
18
#include <
MitkCoreExports.h
>
19
20
namespace
mitk
21
{
40
class
MITKCORE_EXPORT
ExtractSliceFilter2
final :
public
ImageToImageFilter
41
{
42
public
:
43
enum
Interpolator
44
{
45
NearestNeighbor
,
46
Linear
,
47
Cubic
48
};
49
50
mitkClassMacro
(
ExtractSliceFilter2
,
ImageToImageFilter
);
51
52
itkFactorylessNewMacro(
Self
);
53
54
void
SetInput(
const
InputImageType
* image)
override
;
55
void
SetInput(
unsigned
int
index,
const
InputImageType
* image)
override
;
56
57
const
PlaneGeometry
* GetOutputGeometry()
const
;
58
void
SetOutputGeometry(
PlaneGeometry::Pointer
outputGeometry);
59
60
Interpolator
GetInterpolator()
const
;
61
void
SetInterpolator(
Interpolator
interpolator);
62
63
private
:
64
using
Superclass::SetInput;
65
66
ExtractSliceFilter2
();
67
~
ExtractSliceFilter2
()
override
;
68
69
void
AllocateOutputs()
override
;
70
// void BeforeThreadedGenerateData() override;
71
// void ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId) override;
72
void
GenerateData()
override
;
73
void
VerifyInputInformation()
const override
;
74
75
struct
Impl;
76
Impl* m_Impl;
77
};
78
}
79
80
#endif
mitkImageToImageFilter.h
mitk::PlaneGeometry
Describes a two-dimensional, rectangular plane.
Definition:
mitkPlaneGeometry.h:78
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
itk::SmartPointer< Self >
mitk::ExtractSliceFilter2
Extract an arbitrarily oriented 2-d image from a 3-d image.
Definition:
mitkExtractSliceFilter2.h:40
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition:
mitkBaseDataSource.h:71
MitkCoreExports.h
mitk::ExtractSliceFilter2::Linear
@ Linear
Definition:
mitkExtractSliceFilter2.h:46
mitk::ExtractSliceFilter2::NearestNeighbor
@ NearestNeighbor
Definition:
mitkExtractSliceFilter2.h:45
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::ImageToImageFilter
Superclass of all classes having one or more Images as input and generating Images as output.
Definition:
mitkImageToImageFilter.h:25
mitk::ExtractSliceFilter2::Interpolator
Interpolator
Definition:
mitkExtractSliceFilter2.h:43
mitkPlaneGeometry.h
src
MITK
Modules
Core
include
mitkExtractSliceFilter2.h
Generated on Fri Mar 14 2025 02:13:55 for Medical Imaging Interaction Toolkit by
1.8.17