Medical Imaging Interaction Toolkit
2024.12.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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkClippedSurfaceBoundsCalculator.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 mitkClippedSurfaceBoundsCalculator_h
14
#define mitkClippedSurfaceBoundsCalculator_h
15
16
#include "
mitkImage.h
"
17
#include "
mitkPlaneGeometry.h
"
18
#include <vector>
19
37
namespace
mitk
38
{
39
class
MITKCORE_EXPORT
ClippedSurfaceBoundsCalculator
40
{
41
public
:
42
typedef
std::vector<mitk::Point3D>
PointListType
;
43
44
ClippedSurfaceBoundsCalculator
(
const
mitk::PlaneGeometry
*geometry =
nullptr
,
mitk::Image::Pointer
image =
nullptr
);
45
ClippedSurfaceBoundsCalculator
(
const
mitk::BaseGeometry
*geometry,
mitk::Image::Pointer
image);
46
ClippedSurfaceBoundsCalculator
(
const
PointListType
pointlist,
mitk::Image::Pointer
image);
47
48
void
InitializeOutput();
49
50
virtual
~
ClippedSurfaceBoundsCalculator
();
51
52
void
SetInput(
const
mitk::PlaneGeometry
*geometry,
mitk::Image
*image);
53
void
SetInput(
const
mitk::BaseGeometry
*geometry,
mitk::Image
*image);
54
void
SetInput(
const
PointListType
pointlist,
mitk::Image
*image);
55
67
void
Update();
68
72
typedef
std::pair<int, int>
OutputType
;
73
77
OutputType
GetMinMaxSpatialDirectionX();
78
82
OutputType
GetMinMaxSpatialDirectionY();
83
87
OutputType
GetMinMaxSpatialDirectionZ();
88
89
protected
:
90
void
CalculateIntersectionPoints(
const
mitk::PlaneGeometry
*geometry);
91
void
CalculateIntersectionPoints(
PointListType
pointList);
92
97
void
EnforceImageBounds();
98
99
mitk::PlaneGeometry::ConstPointer
m_PlaneGeometry
;
100
mitk::BaseGeometry::ConstPointer
m_Geometry3D
;
101
mitk::Image::Pointer
m_Image
;
102
std::vector<mitk::Point3D>
m_ObjectPointsInWorldCoordinates
;
103
std::vector<OutputType>
m_MinMaxOutput
;
104
};
105
106
}
// namespace mitk
107
108
#endif
mitk::ClippedSurfaceBoundsCalculator::m_ObjectPointsInWorldCoordinates
std::vector< mitk::Point3D > m_ObjectPointsInWorldCoordinates
Definition:
mitkClippedSurfaceBoundsCalculator.h:102
mitkImage.h
mitk::PlaneGeometry
Describes a two-dimensional, rectangular plane.
Definition:
mitkPlaneGeometry.h:78
mitk::ClippedSurfaceBoundsCalculator::PointListType
std::vector< mitk::Point3D > PointListType
Definition:
mitkClippedSurfaceBoundsCalculator.h:42
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
itk::SmartPointer< Self >
mitk::ClippedSurfaceBoundsCalculator
Definition:
mitkClippedSurfaceBoundsCalculator.h:39
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::ClippedSurfaceBoundsCalculator::m_MinMaxOutput
std::vector< OutputType > m_MinMaxOutput
Definition:
mitkClippedSurfaceBoundsCalculator.h:103
mitk::BaseGeometry
BaseGeometry Describes the geometry of a data object.
Definition:
mitkBaseGeometry.h:94
mitk::ClippedSurfaceBoundsCalculator::m_PlaneGeometry
mitk::PlaneGeometry::ConstPointer m_PlaneGeometry
Definition:
mitkClippedSurfaceBoundsCalculator.h:99
mitk::ClippedSurfaceBoundsCalculator::m_Image
mitk::Image::Pointer m_Image
Definition:
mitkClippedSurfaceBoundsCalculator.h:101
mitk::ClippedSurfaceBoundsCalculator::OutputType
std::pair< int, int > OutputType
Minimum (first) and maximum (second) slice index.
Definition:
mitkClippedSurfaceBoundsCalculator.h:72
mitk::ClippedSurfaceBoundsCalculator::m_Geometry3D
mitk::BaseGeometry::ConstPointer m_Geometry3D
Definition:
mitkClippedSurfaceBoundsCalculator.h:100
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitkPlaneGeometry.h
src
MITK
Modules
Core
include
mitkClippedSurfaceBoundsCalculator.h
Generated on Tue Dec 10 2024 10:35:04 for Medical Imaging Interaction Toolkit by
1.8.17