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
mitkBoundingObject.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 mitkBoundingObject_h
14
#define mitkBoundingObject_h
15
16
#include "
MitkDataTypesExtExports.h
"
17
#include <
mitkSurface.h
>
18
19
namespace
mitk
20
{
21
//##Documentation
22
//## @brief superclass of all bounding objects (cylinder, cuboid,...)
23
//##
24
//## Manages generic functions and provides an interface for IsInside()
25
//## calculates a generic bounding box
26
//## @ingroup Data
27
class
MITKDATATYPESEXT_EXPORT
BoundingObject
:
public
mitk::Surface
// BaseData
28
{
29
public
:
30
mitkClassMacro
(
BoundingObject
,
mitk::Surface
);
31
32
virtual
bool
IsInside(
const
mitk::Point3D
&p)
const
= 0;
33
34
virtual
mitk::ScalarType
GetVolume();
35
itkGetMacro(Positive,
bool
);
36
itkSetMacro(Positive,
bool
);
37
itkBooleanMacro(Positive);
38
39
//##Documentation
40
//## @brief Sets the Geometry3D of the bounding object to fit the given
41
//## geometry.
42
//##
43
//## The fit is done once, so if the given geometry changes it will
44
//## \em not effect the bounding object.
45
virtual
void
FitGeometry(
BaseGeometry
*aGeometry3D);
46
47
protected
:
48
BoundingObject
();
49
~
BoundingObject
()
override
;
50
51
//##Documentation
52
//## \brief If \a true, the Boundingobject describes a positive volume,
53
//## if \a false a negative volume.
54
//##
55
bool
m_Positive
;
56
57
private
:
58
BoundingObject
(
const
BoundingObject
&);
59
BoundingObject
&operator=(
const
BoundingObject
&);
60
};
61
}
62
#endif
MitkDataTypesExtExports.h
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition:
MitkDataTypesExtExports.h:15
mitk::BoundingObject::m_Positive
bool m_Positive
If true, the Boundingobject describes a positive volume, if false a negative volume.
Definition:
mitkBoundingObject.h:55
mitk::Surface
Class for storing surfaces (vtkPolyData).
Definition:
mitkSurface.h:28
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitkSurface.h
mitk::BaseGeometry
BaseGeometry Describes the geometry of a data object.
Definition:
mitkBaseGeometry.h:94
mitk::Point< ScalarType, 3 >
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::BoundingObject
superclass of all bounding objects (cylinder, cuboid,...)
Definition:
mitkBoundingObject.h:27
mitk::ScalarType
double ScalarType
Definition:
mitkNumericConstants.h:20
src
MITK
Modules
DataTypesExt
include
mitkBoundingObject.h
Generated on Tue Dec 10 2024 10:35:04 for Medical Imaging Interaction Toolkit by
1.8.17