28 #ifndef vtkImageInterpolator_h
29 #define vtkImageInterpolator_h
32 #include "vtkImagingCoreModule.h"
interpolate data values from images
interpolate data values from images
void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int)) override
Get the row interpolation functions.
void SetInterpolationModeToCubic()
void InternalDeepCopy(vtkAbstractImageInterpolator *obj) override
Copy all members.
void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *)) override
Get the interpolation functions.
void SetInterpolationModeToLinear()
void PrecomputeWeightsForExtent(const float matrix[16], const int extent[6], int newExtent[6], vtkInterpolationWeights *&weights) override
bool IsSeparable() override
Returns true if the interpolator supports weight precomputation.
void InternalUpdate() override
Update the interpolator.
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.
void FreePrecomputedWeights(vtkInterpolationWeights *&weights) override
Free the precomputed weights.
~vtkImageInterpolator() override
static vtkImageInterpolator * New()
void PrecomputeWeightsForExtent(const double matrix[16], const int extent[6], int newExtent[6], vtkInterpolationWeights *&weights) override
If the data is going to be sampled on a regular grid, then the interpolation weights can be precomput...
void GetRowInterpolationFunc(void(**floatfunc)(vtkInterpolationWeights *, int, int, int, float *, int)) override
void SetInterpolationModeToNearest()
void GetInterpolationFunc(void(**floatfunc)(vtkInterpolationInfo *, const float[3], float *)) override
virtual const char * GetInterpolationModeAsString()
void ComputeSupportSize(const double matrix[16], int support[3]) override
Get the support size for use in computing update extents.
a simple class to control print indentation
#define VTK_CUBIC_INTERPOLATION
#define VTK_NEAREST_INTERPOLATION
#define VTK_LINEAR_INTERPOLATION