34 #ifndef vtkImageResize_h
35 #define vtkImageResize_h
37 #include "vtkImagingCoreModule.h"
40 VTK_ABI_NAMESPACE_BEGIN
64 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
65 vtkGetMacro(ResizeMethod,
int);
78 vtkSetVector3Macro(OutputDimensions,
int);
79 vtkGetVector3Macro(OutputDimensions,
int);
88 vtkSetVector3Macro(OutputSpacing,
double);
89 vtkGetVector3Macro(OutputSpacing,
double);
98 vtkSetVector3Macro(MagnificationFactors,
double);
99 vtkGetVector3Macro(MagnificationFactors,
double);
133 vtkSetVector6Macro(CroppingRegion,
double);
134 vtkGetVector6Macro(CroppingRegion,
double);
173 int OutputDimensions[3];
174 double OutputSpacing[3];
175 double MagnificationFactors[3];
178 double CroppingRegion[6];
180 double IndexStretch[3];
181 double IndexTranslate[3];
192 VTK_ABI_NAMESPACE_END
interpolate data values from images
topologically and geometrically regular array of data
High-quality image resizing filter.
virtual const char * GetResizeMethodAsString()
The resizing method to use.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual vtkAbstractImageInterpolator * GetInterpolator()
Set the interpolator for resampling the data.
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...
virtual vtkAbstractImageInterpolator * GetInternalInterpolator()
vtkAbstractImageInterpolator * Interpolator
void SetResizeMethodToOutputDimensions()
The resizing method to use.
void SetResizeMethodToMagnificationFactors()
The resizing method to use.
~vtkImageResize() override
static vtkImageResize * New()
virtual void SetInterpolator(vtkAbstractImageInterpolator *sampler)
Set the interpolator for resampling the data.
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