37 #ifndef vtkImageResize_h
38 #define vtkImageResize_h
40 #include "vtkImagingCoreModule.h"
66 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
67 vtkGetMacro(ResizeMethod,
int);
71 virtual const char* GetResizeMethodAsString();
80 vtkSetVector3Macro(OutputDimensions,
int);
81 vtkGetVector3Macro(OutputDimensions,
int);
90 vtkSetVector3Macro(OutputSpacing,
double);
91 vtkGetVector3Macro(OutputSpacing,
double);
100 vtkSetVector3Macro(MagnificationFactors,
double);
101 vtkGetVector3Macro(MagnificationFactors,
double);
135 vtkSetVector6Macro(CroppingRegion,
double);
136 vtkGetVector6Macro(CroppingRegion,
double);
175 int OutputDimensions[3];
176 double OutputSpacing[3];
177 double MagnificationFactors[3];
180 double CroppingRegion[6];
182 double IndexStretch[3];
183 double IndexTranslate[3];
interpolate data values from images
void SetResizeMethodToMagnificationFactors()
The resizing method to use.
vtkTypeUInt32 vtkMTimeType
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkAbstractImageInterpolator * NNInterpolator
Generic filter that has one input.
a simple class to control print indentation
topologically and geometrically regular array of data
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.
vtkAbstractImageInterpolator * Interpolator
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, multiple threads will be spawned, and each thread will call this method.
void SetResizeMethodToOutputSpacing()
The resizing method to use.
void SetResizeMethodToOutputDimensions()
The resizing method to use.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
High-quality image resizing filter.