Go to the documentation of this file.
37 #ifndef vtkImageResize_h
38 #define vtkImageResize_h
40 #include "vtkImagingCoreModule.h"
66 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
67 vtkGetMacro(ResizeMethod,
int);
69 this->SetResizeMethod(OUTPUT_DIMENSIONS); }
71 this->SetResizeMethod(OUTPUT_SPACING); }
73 this->SetResizeMethod(MAGNIFICATION_FACTORS); }
83 vtkSetVector3Macro(OutputDimensions,
int);
84 vtkGetVector3Macro(OutputDimensions,
int);
93 vtkSetVector3Macro(OutputSpacing,
double);
94 vtkGetVector3Macro(OutputSpacing,
double);
103 vtkSetVector3Macro(MagnificationFactors,
double);
104 vtkGetVector3Macro(MagnificationFactors,
double);
119 vtkGetMacro(Border,
int);
129 vtkGetMacro(Cropping,
int);
138 vtkSetVector6Macro(CroppingRegion,
double);
139 vtkGetVector6Macro(CroppingRegion,
double);
148 vtkGetMacro(Interpolate,
int);
183 int OutputDimensions[3];
184 double OutputSpacing[3];
185 double MagnificationFactors[3];
188 double CroppingRegion[6];
190 double IndexStretch[3];
191 double IndexTranslate[3];
virtual vtkAbstractImageInterpolator * GetInternalInterpolator()
vtkMTimeType GetMTime()
Get the modified time of the filter.
virtual const char * GetResizeMethodAsString()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
Generic filter that has one input.
vtkTypeUInt64 vtkMTimeType
vtkAbstractImageInterpolator * NNInterpolator
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
High-quality image resizing filter.
topologically and geometrically regular array of data
a simple class to control print indentation
void SetResizeMethodToOutputDimensions()
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id)
If the subclass does not define an Execute method, then the task will be broken up,...
vtkAbstractImageInterpolator * Interpolator
virtual vtkAbstractImageInterpolator * GetInterpolator()
static vtkImageResize * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetResizeMethodToMagnificationFactors()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual void SetInterpolator(vtkAbstractImageInterpolator *sampler)
Set the interpolator for resampling the data.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetResizeMethodToOutputSpacing()
interpolate data values from images