31 #ifndef vtkImageInterpolator_h
32 #define vtkImageInterpolator_h
34 #include "vtkImagingCoreModule.h"
50 virtual void SetInterpolationMode(
int mode);
58 virtual const char *GetInterpolationModeAsString();
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],
100 ~vtkImageInterpolator();
105 virtual
void InternalUpdate() VTK_OVERRIDE;
116 virtual
void GetInterpolationFunc(
119 virtual
void GetInterpolationFunc(
121 vtkInterpolationInfo *, const
float [3],
float *)) VTK_OVERRIDE;
128 virtual
void GetRowInterpolationFunc(
131 virtual
void GetRowInterpolationFunc(
133 vtkInterpolationWeights *,
int,
int,
int,
float *,
int)) VTK_OVERRIDE;
136 int InterpolationMode;
139 vtkImageInterpolator(const vtkImageInterpolator&) VTK_DELETE_FUNCTION;
140 void operator=(const vtkImageInterpolator&) VTK_DELETE_FUNCTION;
interpolate data values from images
#define VTK_LINEAR_INTERPOLATION
#define VTK_CUBIC_INTERPOLATION
void SetInterpolationModeToNearest()
The interpolation mode for point scalars (default: linear).
a simple class to control print indentation
int GetInterpolationMode()
The interpolation mode for point scalars (default: linear).
void SetInterpolationModeToLinear()
The interpolation mode for point scalars (default: linear).
virtual bool IsSeparable()=0
True if the interpolation is separable, which means that the weights can be precomputed in order to a...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
interpolate data values from images
void SetInterpolationModeToCubic()
The interpolation mode for point scalars (default: linear).
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
#define VTK_NEAREST_INTERPOLATION
virtual void ComputeSupportSize(const double matrix[16], int support[3])=0
Get the support size for use in computing update extents.