28 #ifndef vtkCardinalSpline_h 29 #define vtkCardinalSpline_h 31 #include "vtkCommonComputationalGeometryModule.h" 61 void Fit1D(
int n,
double* x,
double* y,
double* w,
double coefficients[][4],
int leftConstraint,
62 double leftValue,
int rightConstraint,
double rightValue);
64 void FitClosed1D(
int n,
double* x,
double* y,
double* w,
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.