 |
VTK
9.0.1
|
Go to the documentation of this file.
31 #ifndef vtkImageResize_h
32 #define vtkImageResize_h
34 #include "vtkImagingCoreModule.h"
60 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
61 vtkGetMacro(ResizeMethod,
int);
65 virtual const char* GetResizeMethodAsString();
74 vtkSetVector3Macro(OutputDimensions,
int);
75 vtkGetVector3Macro(OutputDimensions,
int);
84 vtkSetVector3Macro(OutputSpacing,
double);
85 vtkGetVector3Macro(OutputSpacing,
double);
94 vtkSetVector3Macro(MagnificationFactors,
double);
95 vtkGetVector3Macro(MagnificationFactors,
double);
129 vtkSetVector6Macro(CroppingRegion,
double);
130 vtkGetVector6Macro(CroppingRegion,
double);
169 int OutputDimensions[3];
170 double OutputSpacing[3];
171 double MagnificationFactors[3];
174 double CroppingRegion[6];
176 double IndexStretch[3];
177 double IndexTranslate[3];
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up,...
Generic filter that has one input.
vtkAbstractImageInterpolator * NNInterpolator
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
High-quality image resizing filter.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
topologically and geometrically regular array of data
a simple class to control print indentation
void SetResizeMethodToOutputDimensions()
vtkAbstractImageInterpolator * Interpolator
static vtkAlgorithm * New()
void SetResizeMethodToMagnificationFactors()
void SetResizeMethodToOutputSpacing()
interpolate data values from images
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTypeUInt32 vtkMTimeType