VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageResample.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageResample.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
30
#ifndef __vtkImageResample_h
31
#define __vtkImageResample_h
32
33
34
#include "
vtkImageReslice.h
"
35
36
class
VTK_IMAGING_EXPORT
vtkImageResample
:
public
vtkImageReslice
37
{
38
public
:
39
static
vtkImageResample
*
New
();
40
vtkTypeMacro(
vtkImageResample
,
vtkImageReslice
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
45
void
SetAxisOutputSpacing(
int
axis,
double
spacing
);
46
48
50
void
SetAxisMagnificationFactor(
int
axis,
double
factor);
51
double
GetAxisMagnificationFactor(
int
axis,
vtkInformation
*inInfo=0);
53
55
59
vtkSetMacro(Dimensionality,
int
);
60
vtkGetMacro(Dimensionality,
int
);
62
63
protected
:
64
vtkImageResample
();
65
~vtkImageResample
() {};
66
67
double
MagnificationFactors[3];
68
double
OutputSpacing[3];
69
int
Dimensionality
;
70
71
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
72
73
private
:
74
vtkImageResample
(
const
vtkImageResample
&);
// Not implemented.
75
void
operator=(
const
vtkImageResample
&);
// Not implemented.
76
};
77
78
#endif
Generated on Thu Mar 13 2014 08:10:16 for VTK by
1.8.1.2