34 #ifndef vtkCardinalSpline_h 35 #define vtkCardinalSpline_h 37 #include "vtkCommonComputationalGeometryModule.h" 67 void Fit1D (
int n,
double *x,
double *y,
double *w,
double coefficients[][4],
68 int leftConstraint,
double leftValue,
int rightConstraint,
71 void FitClosed1D (
int n,
double *x,
double *y,
double *w,
72 double coefficients[][4]);
~vtkCardinalSpline() override
virtual double Evaluate(double t)=0
Interpolate the value of the spline at parametric location of t.
a simple class to control print indentation
spline abstract class for interpolating splines
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void DeepCopy(vtkSpline *s)
Deep copy of spline data.
virtual void Compute()=0
Compute the coefficients for the spline.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
computes an interpolating spline using a a Cardinal basis.