Slicer
5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Toggle main menu visibility
Main Page
Related Pages
Classes
Class Index
Class List
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
l
m
n
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
e
f
i
m
o
p
r
s
w
Namespaces
Namespace List
Namespace Members
All
_
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Functions
Variables
a
c
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
c
e
i
l
n
p
q
r
s
t
v
Variables
Typedefs
a
d
g
i
l
m
n
p
q
r
s
t
v
Enumerations
Enumerator
Macros
b
c
d
e
f
g
i
m
o
p
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
Libs
vtkITK
vtkITKImageMargin.h
Go to the documentation of this file.
1
/*==============================================================================
2
3
Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
4
Queen's University, Kingston, ON, Canada. All Rights Reserved.
5
6
See COPYRIGHT.txt
7
or http://www.slicer.org/copyright/copyright.txt for details.
8
9
Unless required by applicable law or agreed to in writing, software
10
distributed under the License is distributed on an "AS IS" BASIS,
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
See the License for the specific language governing permissions and
13
limitations under the License.
14
15
This file was originally developed by Kyle Sunderland, PerkLab, Queen's University
16
and was supported through CANARIE's Research Software Program, Cancer
17
Care Ontario, OpenAnatomy, and Brigham and Women�s Hospital through NIH grant R01MH112748.
18
19
==============================================================================*/
20
21
#ifndef __vtkITKImageMargin_h
22
#define __vtkITKImageMargin_h
23
24
#include "
vtkITK.h
"
25
#include "vtkSimpleImageToImageFilter.h"
26
31
class
VTK_ITK_EXPORT
vtkITKImageMargin
:
public
vtkSimpleImageToImageFilter
32
{
33
public
:
34
static
vtkITKImageMargin
*
New
();
35
vtkTypeMacro(
vtkITKImageMargin
, vtkSimpleImageToImageFilter);
36
void
PrintSelf
(ostream& os, vtkIndent indent)
override
;
37
40
vtkGetMacro(
BackgroundValue
,
int
);
41
vtkSetMacro(
BackgroundValue
,
int
);
42
44
vtkGetMacro(
CalculateMarginInMM
,
bool
);
45
vtkSetMacro(
CalculateMarginInMM
,
bool
);
46
vtkBooleanMacro(
CalculateMarginInMM
,
bool
);
47
51
vtkGetMacro(
OuterMarginMM
,
double
);
52
vtkSetMacro(
OuterMarginMM
,
double
);
53
57
vtkGetMacro(
InnerMarginMM
,
double
);
58
vtkSetMacro(
InnerMarginMM
,
double
);
59
63
vtkGetMacro(
OuterMarginVoxels
,
double
);
64
vtkSetMacro(
OuterMarginVoxels
,
double
);
65
69
vtkGetMacro(
InnerMarginVoxels
,
double
);
70
vtkSetMacro(
InnerMarginVoxels
,
double
);
71
72
protected
:
73
int
BackgroundValue
{0};
74
bool
CalculateMarginInMM
{
true
};
75
double
OuterMarginMM
{0.0};
76
double
InnerMarginMM
{0.0};
77
double
OuterMarginVoxels
{0.0};
78
double
InnerMarginVoxels
{0.0};
79
80
protected
:
81
vtkITKImageMargin
();
82
~vtkITKImageMargin
()
override
;
83
84
void
SimpleExecute
(vtkImageData* input, vtkImageData* output)
override
;
85
86
private
:
87
vtkITKImageMargin
(
const
vtkITKImageMargin
&) =
delete
;
88
void
operator=(
const
vtkITKImageMargin
&) =
delete
;
89
};
31
class
VTK_ITK_EXPORT
vtkITKImageMargin
:
public
vtkSimpleImageToImageFilter {
…
};
90
91
#endif
vtkITKImageMargin::CalculateMarginInMM
bool CalculateMarginInMM
Definition
vtkITKImageMargin.h:74
vtkITKImageMargin::InnerMarginVoxels
double InnerMarginVoxels
Definition
vtkITKImageMargin.h:78
vtkITKImageMargin::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkITKImageMargin::SimpleExecute
void SimpleExecute(vtkImageData *input, vtkImageData *output) override
vtkITKImageMargin::BackgroundValue
int BackgroundValue
Definition
vtkITKImageMargin.h:73
vtkITKImageMargin::InnerMarginMM
double InnerMarginMM
Definition
vtkITKImageMargin.h:76
vtkITKImageMargin::~vtkITKImageMargin
~vtkITKImageMargin() override
vtkITKImageMargin::vtkITKImageMargin
vtkITKImageMargin()
vtkITKImageMargin::OuterMarginMM
double OuterMarginMM
Definition
vtkITKImageMargin.h:75
vtkITKImageMargin::New
static vtkITKImageMargin * New()
vtkITKImageMargin::OuterMarginVoxels
double OuterMarginVoxels
Definition
vtkITKImageMargin.h:77
vtkITK.h
Generated on Tue Apr 8 2025 04:46:47 for Slicer by
1.13.0