VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageMagnify.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageMagnify.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
=========================================================================*/
31
#ifndef __vtkImageMagnify_h
32
#define __vtkImageMagnify_h
33
34
#include "
vtkThreadedImageAlgorithm.h
"
35
36
class
VTK_IMAGING_EXPORT
vtkImageMagnify
:
public
vtkThreadedImageAlgorithm
37
{
38
public
:
39
static
vtkImageMagnify
*
New
();
40
vtkTypeMacro(
vtkImageMagnify
,
vtkThreadedImageAlgorithm
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
46
vtkSetVector3Macro(MagnificationFactors,
int
);
47
vtkGetVector3Macro(MagnificationFactors,
int
);
49
51
53
vtkSetMacro(Interpolate,
int
);
54
vtkGetMacro(Interpolate,
int
);
55
vtkBooleanMacro(Interpolate,
int
);
57
58
protected
:
59
vtkImageMagnify
();
60
~vtkImageMagnify
() {};
61
62
int
MagnificationFactors[3];
63
int
Interpolate
;
64
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
65
vtkInformationVector
**,
66
vtkInformationVector
*);
67
virtual
int
RequestInformation
(
vtkInformation
*,
68
vtkInformationVector
**,
69
vtkInformationVector
*);
70
71
void
ThreadedRequestData
(
vtkInformation
*request,
72
vtkInformationVector
**inputVector,
73
vtkInformationVector
*outputVector,
74
vtkImageData
***inData,
75
vtkImageData
**outData,
76
int
outExt[6],
77
int
id
);
78
79
void
InternalRequestUpdateExtent(
int
*inExt,
int
*outExt);
80
81
private
:
82
vtkImageMagnify
(
const
vtkImageMagnify
&);
// Not implemented.
83
void
operator=(
const
vtkImageMagnify
&);
// Not implemented.
84
};
85
86
#endif
87
88
89
90
Generated on Wed May 30 2012 13:22:13 for VTK by
1.8.1