|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   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]);
 
  
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual double Evaluate(double t)=0
Interpolate the value of the spline at parametric location of t.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
spline abstract class for interpolating splines
computes an interpolating spline using a a Cardinal basis.
virtual void DeepCopy(vtkSpline *s)
Deep copy of spline data.
~vtkCardinalSpline() override
virtual void Compute()=0
Compute the coefficients for the spline.