19 #ifndef vtkCardinalSpline_h
20 #define vtkCardinalSpline_h
22 #include "vtkCommonComputationalGeometryModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
53 void Fit1D(
int size,
double* x,
double* y,
double* w,
double coefficients[][4],
54 int leftConstraint,
double leftValue,
int rightConstraint,
double rightValue);
56 void FitClosed1D(
int size,
double* x,
double* y,
double* w,
double coefficients[][4]);
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.