31 #ifndef vtkImageResize_h
32 #define vtkImageResize_h
34 #include "vtkImagingCoreModule.h"
60 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
61 vtkGetMacro(ResizeMethod,
int);
63 this->SetResizeMethod(OUTPUT_DIMENSIONS); }
65 this->SetResizeMethod(OUTPUT_SPACING); }
67 this->SetResizeMethod(MAGNIFICATION_FACTORS); }
68 virtual const char *GetResizeMethodAsString();
77 vtkSetVector3Macro(OutputDimensions,
int);
78 vtkGetVector3Macro(OutputDimensions,
int);
87 vtkSetVector3Macro(OutputSpacing,
double);
88 vtkGetVector3Macro(OutputSpacing,
double);
97 vtkSetVector3Macro(MagnificationFactors,
double);
98 vtkGetVector3Macro(MagnificationFactors,
double);
113 vtkGetMacro(Border,
int);
123 vtkGetMacro(Cropping,
int);
132 vtkSetVector6Macro(CroppingRegion,
double);
133 vtkGetVector6Macro(CroppingRegion,
double);
142 vtkGetMacro(Interpolate,
int);
160 ~vtkImageResize() VTK_OVERRIDE;
165 vtkInformationVector *) VTK_OVERRIDE;
166 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **,
167 vtkInformationVector *) VTK_OVERRIDE;
168 int RequestData(vtkInformation *, vtkInformationVector **,
169 vtkInformationVector *) VTK_OVERRIDE;
170 void ThreadedRequestData(vtkInformation *request,
171 vtkInformationVector **inputVector,
172 vtkInformationVector *outputVector,
174 vtkImageData **outData,
int ext[6],
int id) VTK_OVERRIDE;
177 int OutputDimensions[3];
178 double OutputSpacing[3];
179 double MagnificationFactors[3];
182 double CroppingRegion[6];
184 double IndexStretch[3];
185 double IndexTranslate[3];
192 vtkImageResize(const vtkImageResize&) VTK_DELETE_FUNCTION;
193 void operator=(const vtkImageResize&) VTK_DELETE_FUNCTION;
interpolate data values from images
void SetResizeMethodToMagnificationFactors()
The resizing method to use.
vtkTypeUInt32 vtkMTimeType
Generic filter that has one input.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
High-quality image resizing filter.