34#ifndef vtkCardinalSpline_h
35#define vtkCardinalSpline_h
37#include "vtkCommonComputationalGeometryModule.h"
56 double Evaluate (
double t) VTK_OVERRIDE;
67 void Fit1D (
int n,
double *x,
double *y,
double *w,
double coefficients[][4],
68 int leftConstraint,
double leftValue,
int rightConstraint,
72 double coefficients[][4]);
computes an interpolating spline using a a Cardinal basis.
static vtkCardinalSpline * New()
void Compute() override
Compute Cardinal Splines for each dependent variable.
void FitClosed1D(int n, double *x, double *y, double *w, double coefficients[][4])
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Fit1D(int n, double *x, double *y, double *w, double coefficients[][4], int leftConstraint, double leftValue, int rightConstraint, double rightValue)
a simple class to control print indentation
spline abstract class for interpolating splines
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)