28 #ifndef vtkImageInterpolator_h
29 #define vtkImageInterpolator_h
31 #include "vtkImagingCoreModule.h"
47 virtual void SetInterpolationMode(
int mode);
55 virtual const char *GetInterpolationModeAsString();
82 void PrecomputeWeightsForExtent(
83 const
double matrix[16], const
int extent[6],
int newExtent[6],
85 void PrecomputeWeightsForExtent(
86 const
float matrix[16], const
int extent[6],
int newExtent[6],
97 ~vtkImageInterpolator() VTK_OVERRIDE;
102 void InternalUpdate() VTK_OVERRIDE;
113 void GetInterpolationFunc(
116 void GetInterpolationFunc(
118 vtkInterpolationInfo *, const
float [3],
float *)) VTK_OVERRIDE;
125 void GetRowInterpolationFunc(
128 void GetRowInterpolationFunc(
130 vtkInterpolationWeights *,
int,
int,
int,
float *,
int)) VTK_OVERRIDE;
133 int InterpolationMode;
136 vtkImageInterpolator(const vtkImageInterpolator&) VTK_DELETE_FUNCTION;
137 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.