37 #ifndef vtkImageBSplineInterpolator_h
38 #define vtkImageBSplineInterpolator_h
40 #include "vtkImagingCoreModule.h"
43 #define VTK_IMAGE_BSPLINE_DEGREE_MAX 9
62 void SetSplineDegree(
int degree);
93 void PrecomputeWeightsForExtent(
94 const
double matrix[16], const
int extent[6],
int newExtent[6],
96 void PrecomputeWeightsForExtent(
97 const
float matrix[16], const
int extent[6],
int newExtent[6],
108 ~vtkImageBSplineInterpolator() VTK_OVERRIDE;
113 void InternalUpdate() VTK_OVERRIDE;
124 void GetInterpolationFunc(
127 void GetInterpolationFunc(
129 vtkInterpolationInfo *, const
float [3],
float *)) VTK_OVERRIDE;
136 void GetRowInterpolationFunc(
139 void GetRowInterpolationFunc(
141 vtkInterpolationWeights *,
int,
int,
int,
float *,
int)) VTK_OVERRIDE;
147 virtual
void BuildKernelLookupTable();
152 virtual
void FreeKernelLookupTable();
155 float *KernelLookupTable;
158 vtkImageBSplineInterpolator(const vtkImageBSplineInterpolator&) VTK_DELETE_FUNCTION;
159 void operator=(const vtkImageBSplineInterpolator&) VTK_DELETE_FUNCTION;
interpolate data values from images
int GetSplineDegree()
Set the degree of the spline polynomial.
int GetSplineDegreeMaxValue()
Set the degree of the spline polynomial.
#define VTK_IMAGE_BSPLINE_DEGREE_MAX
a simple class to control print indentation
topologically and geometrically regular array of data
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.
perform b-spline interpolation on images
int GetSplineDegreeMinValue()
Set the degree of the spline polynomial.
boost::graph_traits< vtkGraph * >::degree_size_type degree(boost::graph_traits< vtkGraph * >::vertex_descriptor u, vtkGraph *g)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void ComputeSupportSize(const double matrix[16], int support[3])=0
Get the support size for use in computing update extents.