magnify an image by an integer value
More...
#include <vtkImageMagnify.h>
Inherits vtkThreadedImageAlgorithm.
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkImageMagnify () |
|
| ~vtkImageMagnify () |
|
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
|
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) |
|
void | InternalRequestUpdateExtent (int *inExt, int *outExt) |
|
magnify an image by an integer value
vtkImageMagnify maps each pixel of the input onto a nxmx... region of the output. Location (0,0,...) remains in the same place. The magnification occurs via pixel replication, or if Interpolate is on, by bilinear interpolation. Initially, interpolation is off and magnification factors are set to 1 in all directions.
- Examples:
- vtkImageMagnify (Examples)
- Tests:
- vtkImageMagnify (Tests)
Definition at line 37 of file vtkImageMagnify.h.
vtkImageMagnify::vtkImageMagnify |
( |
| ) |
|
|
protected |
vtkImageMagnify::~vtkImageMagnify |
( |
| ) |
|
|
inlineprotected |
static int vtkImageMagnify::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkImageMagnify::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkImageMagnify::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkImageMagnify::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkImageMagnify::SetMagnificationFactors |
( |
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
virtual |
Set/Get the integer magnification factors in the i-j-k directions. Initially, factors are set to 1 in all directions.
virtual void vtkImageMagnify::SetMagnificationFactors |
( |
int |
[3] | ) |
|
|
virtual |
Set/Get the integer magnification factors in the i-j-k directions. Initially, factors are set to 1 in all directions.
virtual int* vtkImageMagnify::GetMagnificationFactors |
( |
| ) |
|
|
virtual |
Set/Get the integer magnification factors in the i-j-k directions. Initially, factors are set to 1 in all directions.
virtual void vtkImageMagnify::GetMagnificationFactors |
( |
int & |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
| |
|
virtual |
Set/Get the integer magnification factors in the i-j-k directions. Initially, factors are set to 1 in all directions.
virtual void vtkImageMagnify::GetMagnificationFactors |
( |
int |
[3] | ) |
|
|
virtual |
Set/Get the integer magnification factors in the i-j-k directions. Initially, factors are set to 1 in all directions.
virtual void vtkImageMagnify::SetInterpolate |
( |
int |
| ) |
|
|
virtual |
Turn interpolation on and off (pixel replication is used when off). Initially, interpolation is off.
virtual int vtkImageMagnify::GetInterpolate |
( |
| ) |
|
|
virtual |
Turn interpolation on and off (pixel replication is used when off). Initially, interpolation is off.
virtual void vtkImageMagnify::InterpolateOn |
( |
| ) |
|
|
virtual |
Turn interpolation on and off (pixel replication is used when off). Initially, interpolation is off.
virtual void vtkImageMagnify::InterpolateOff |
( |
| ) |
|
|
virtual |
Turn interpolation on and off (pixel replication is used when off). Initially, interpolation is off.
virtual int vtkImageMagnify::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkImageMagnify::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
void vtkImageMagnify::ThreadedRequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector, |
|
|
vtkImageData *** |
inData, |
|
|
vtkImageData ** |
outData, |
|
|
int |
outExt[6], |
|
|
int |
id |
|
) |
| |
|
protected |
void vtkImageMagnify::InternalRequestUpdateExtent |
( |
int * |
inExt, |
|
|
int * |
outExt |
|
) |
| |
|
protected |
int vtkImageMagnify::MagnificationFactors[3] |
|
protected |
int vtkImageMagnify::Interpolate |
|
protected |
The documentation for this class was generated from the following file: