70#ifndef vtkImageResize_h
71#define vtkImageResize_h
73#include "vtkImagingCoreModule.h"
99 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
100 vtkGetMacro(ResizeMethod,
int);
113 vtkSetVector3Macro(OutputDimensions,
int);
114 vtkGetVector3Macro(OutputDimensions,
int);
123 vtkSetVector3Macro(OutputSpacing,
double);
124 vtkGetVector3Macro(OutputSpacing,
double);
133 vtkSetVector3Macro(MagnificationFactors,
double);
134 vtkGetVector3Macro(MagnificationFactors,
double);
168 vtkSetVector6Macro(CroppingRegion,
double);
169 vtkGetVector6Macro(CroppingRegion,
double);
208 int OutputDimensions[3];
209 double OutputSpacing[3];
210 double MagnificationFactors[3];
213 double CroppingRegion[6];
215 double IndexStretch[3];
216 double IndexTranslate[3];
interpolate data values from images
topologically and geometrically regular array of data
High-quality image resizing filter.
virtual vtkAbstractImageInterpolator * GetInterpolator()
Set the interpolator for resampling the data.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
vtkMTimeType GetMTime() override
Get the modified time of the filter.
vtkAbstractImageInterpolator * NNInterpolator
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkAbstractImageInterpolator * Interpolator
void SetResizeMethodToOutputDimensions()
The resizing method to use.
void SetResizeMethodToMagnificationFactors()
The resizing method to use.
~vtkImageResize() override
virtual const char * GetResizeMethodAsString()
The resizing method to use.
static vtkImageResize * New()
virtual void SetInterpolator(vtkAbstractImageInterpolator *sampler)
Set the interpolator for resampling the data.
virtual vtkAbstractImageInterpolator * GetInternalInterpolator()
void SetResizeMethodToOutputSpacing()
The resizing method to use.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Generic filter that has one input.
vtkTypeUInt32 vtkMTimeType