43 #ifndef vtkImageBSplineInterpolator_h 44 #define vtkImageBSplineInterpolator_h 46 #include "vtkImagingCoreModule.h" 49 #define VTK_IMAGE_BSPLINE_DEGREE_MAX 9 68 void SetSplineDegree(
int degree);
100 const double matrix[16],
const int extent[6],
int newExtent[6],
103 const float matrix[16],
const int extent[6],
int newExtent[6],
153 virtual void BuildKernelLookupTable();
158 virtual void FreeKernelLookupTable();
interpolate data values from images
int GetSplineDegree()
Set the degree of the spline polynomial.
virtual void InternalDeepCopy(vtkAbstractImageInterpolator *obj)=0
Subclass-specific copy.
virtual void InternalUpdate()=0
Subclass-specific updates.
int GetSplineDegreeMaxValue()
Set the degree of the spline polynomial.
#define VTK_IMAGE_BSPLINE_DEGREE_MAX
a simple class to control print indentation
virtual void PrecomputeWeightsForExtent(const double matrix[16], const int extent[6], int checkExtent[6], vtkInterpolationWeights *&weights)
If the data is going to be sampled on a regular grid, then the interpolation weights can be precomput...
float * KernelLookupTable
topologically and geometrically regular array of data
virtual void GetRowInterpolationFunc(void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int))
Get the row interpolation functions.
virtual void GetInterpolationFunc(void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *))
Get the interpolation functions.
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.
virtual void FreePrecomputedWeights(vtkInterpolationWeights *&weights)
Free the weights that were provided by PrecomputeWeightsForExtent.
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.