FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Algorithms
ImageResizer
ImageResizer.hpp
Go to the documentation of this file.
1
#ifndef IMAGE_RESIZER_HPP
2
#define IMAGE_RESIZER_HPP
3
4
#include "
FAST/ProcessObject.hpp
"
5
6
namespace
fast
{
7
8
class
FAST_EXPORT
ImageResizer
:
public
ProcessObject
{
9
FAST_OBJECT
(
ImageResizer
)
10
public
:
11
void
setWidth(
int
width);
12
void
setHeight(
int
height);
13
void
setDepth(
int
depth);
14
void
setSize(VectorXi size);
15
void
setPreserveAspectRatio(
bool
preserve);
16
void
setInterpolation(
bool
useInterpolation);
17
void
loadAttributes()
override
;
18
private
:
19
ImageResizer
();
20
void
execute();
21
22
Vector3i mSize;
23
bool
mPreserveAspectRatio;
24
bool
mInterpolationSet, mInterpolation;
25
};
26
27
}
28
29
#endif
fast::ImageResizer
Definition:
ImageResizer.hpp:8
fast
Definition:
AffineTransformation.hpp:7
FAST_OBJECT
#define FAST_OBJECT(className)
Definition:
Object.hpp:9
ProcessObject.hpp
fast::ProcessObject
Definition:
ProcessObject.hpp:22
Generated by
1.8.17