33 #ifndef vtkImageResize_h
34 #define vtkImageResize_h
60 vtkSetClampMacro(ResizeMethod,
int, OUTPUT_DIMENSIONS, MAGNIFICATION_FACTORS);
63 this->SetResizeMethod(OUTPUT_DIMENSIONS); }
65 this->SetResizeMethod(OUTPUT_SPACING); }
67 this->SetResizeMethod(MAGNIFICATION_FACTORS); }
68 virtual const char *GetResizeMethodAsString();
160 int OutputDimensions[3];
161 double OutputSpacing[3];
162 double MagnificationFactors[3];
165 double CroppingRegion[6];
167 double IndexStretch[3];
168 double IndexTranslate[3];
interpolate data values from images
void SetResizeMethodToMagnificationFactors()
#define vtkGetMacro(name, type)
#define vtkSetClampMacro(name, type, min, max)
#define vtkTypeMacro(thisClass, superclass)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkAbstractImageInterpolator * NNInterpolator
Generic filter that has one input..
virtual unsigned long GetMTime()
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIMAGINGCORE_EXPORT
#define vtkGetVector3Macro(name, type)
vtkAbstractImageInterpolator * Interpolator
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
#define vtkSetVector6Macro(name, type)
void SetResizeMethodToOutputSpacing()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetResizeMethodToOutputDimensions()
static vtkAlgorithm * New()
#define vtkBooleanMacro(name, type)
#define vtkGetVector6Macro(name, type)
High-quality image resizing filter.
#define vtkSetVector3Macro(name, type)
#define vtkSetMacro(name, type)