31 #ifndef vtkImageInterpolator_h
32 #define vtkImageInterpolator_h
34 #include "vtkImagingCoreModule.h"
85 virtual
void PrecomputeWeightsForExtent(
86 const
double matrix[16], const
int extent[6],
int newExtent[6],
88 virtual
void PrecomputeWeightsForExtent(
89 const
float matrix[16], const
int extent[6],
int newExtent[6],
105 virtual
void InternalUpdate() VTK_OVERRIDE;
116 virtual
void GetInterpolationFunc(
119 virtual
void GetInterpolationFunc(
128 virtual
void GetRowInterpolationFunc(
131 virtual
void GetRowInterpolationFunc(
136 int InterpolationMode;
interpolate data values from images
interpolate data values from images
void SetInterpolationModeToCubic()
virtual bool IsSeparable() override
Returns true if the interpolator supports weight precomputation.
void SetInterpolationModeToLinear()
virtual void ComputeSupportSize(const double matrix[16], int support[3]) override
Get the support size for use in computing update extents.
int GetInterpolationMode()
virtual void SetInterpolationMode(int mode)
The interpolation mode for point scalars (default: linear).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageInterpolator * New()
void SetInterpolationModeToNearest()
virtual const char * GetInterpolationModeAsString()
a simple class to control print indentation
#define VTK_CUBIC_INTERPOLATION
#define VTK_NEAREST_INTERPOLATION
#define VTK_LINEAR_INTERPOLATION