27 #ifndef __vtkImageInterpolator_h
28 #define __vtkImageInterpolator_h
30 #include "vtkImagingCoreModule.h"
39 virtual void PrintSelf(ostream& os, vtkIndent indent);
45 virtual void SetInterpolationMode(
int mode);
47 this->SetInterpolationMode(VTK_NEAREST_INTERPOLATION); }
49 this->SetInterpolationMode(VTK_LINEAR_INTERPOLATION); }
51 this->SetInterpolationMode(VTK_CUBIC_INTERPOLATION); }
53 virtual const char *GetInterpolationModeAsString();
76 const double matrix[16],
const int extent[6],
int newExtent[6],
79 const float matrix[16],
const int extent[6],
int newExtent[6],
interpolate data values from images
virtual void InternalDeepCopy(vtkAbstractImageInterpolator *obj)=0
virtual void InternalUpdate()=0
void SetInterpolationModeToNearest()
virtual void PrecomputeWeightsForExtent(const double matrix[16], const int extent[6], int checkExtent[6], vtkInterpolationWeights *&weights)
int GetInterpolationMode()
virtual void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int))
virtual void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *))
void SetInterpolationModeToLinear()
virtual bool IsSeparable()=0
virtual void FreePrecomputedWeights(vtkInterpolationWeights *&weights)
interpolate data values from images
void SetInterpolationModeToCubic()
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual void ComputeSupportSize(const double matrix[16], int support[3])=0