33 #ifndef __vtkCardinalSpline_h
34 #define __vtkCardinalSpline_h
36 #include "vtkSpline.h"
44 void PrintSelf(ostream& os,
vtkIndent indent);
50 virtual double Evaluate (
double t);
53 virtual void DeepCopy(vtkSpline *s);
59 void Fit1D (
int n,
double *x,
double *y,
double *w,
double coefficients[][4],
60 int leftConstraint,
double leftValue,
int rightConstraint,
63 void FitClosed1D (
int n,
double *x,
double *y,
double *w,
64 double coefficients[][4]);
a simple class to control print indentation
computes an interpolating spline using a a Cardinal basis.