Go to the documentation of this file.
34 #ifndef vtkImageInterpolator_h
35 #define vtkImageInterpolator_h
37 #include "vtkImagingCoreModule.h"
89 const double matrix[16],
const int extent[6],
int newExtent[6],
92 const float matrix[16],
const int extent[6],
int newExtent[6],
void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int)) override
Get the row interpolation functions.
void FreePrecomputedWeights(vtkInterpolationWeights *&weights) override
Free the precomputed weights.
void InternalUpdate() override
Update the interpolator.
#define VTK_CUBIC_INTERPOLATION
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_NEAREST_INTERPOLATION
void SetInterpolationModeToCubic()
static vtkImageInterpolator * New()
interpolate data values from images
virtual void SetInterpolationMode(int mode)
The interpolation mode for point scalars (default: linear).
void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *)) override
Get the interpolation functions.
~vtkImageInterpolator() override
int GetInterpolationMode()
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...
a simple class to control print indentation
#define VTK_LINEAR_INTERPOLATION
void ComputeSupportSize(const double matrix[16], int support[3]) override
Get the support size for use in computing update extents.
bool IsSeparable() override
Returns true if the interpolator supports weight precomputation.
void GetRowInterpolationFunc(void(**floatfunc)(vtkInterpolationWeights *, int, int, int, float *, int)) override
void PrecomputeWeightsForExtent(const float matrix[16], const int extent[6], int newExtent[6], vtkInterpolationWeights *&weights) override
interpolate data values from images
void SetInterpolationModeToNearest()
void SetInterpolationModeToLinear()
virtual const char * GetInterpolationModeAsString()
void InternalDeepCopy(vtkAbstractImageInterpolator *obj) override
Copy all members.
void GetInterpolationFunc(void(**floatfunc)(vtkInterpolationInfo *, const float[3], float *)) override