45 #ifndef vtkKochanekSpline_h 46 #define vtkKochanekSpline_h 48 #include "vtkCommonComputationalGeometryModule.h" 77 vtkSetMacro(DefaultBias,
double);
78 vtkGetMacro(DefaultBias,
double);
85 vtkSetMacro(DefaultTension,
double);
86 vtkGetMacro(DefaultTension,
double);
93 vtkSetMacro(DefaultContinuity,
double);
94 vtkGetMacro(DefaultContinuity,
double);
106 void Fit1D (
int n,
double *x,
double *y,
double tension,
double bias,
107 double continuity,
double coefficients[][4],
int leftConstraint,
108 double leftValue,
int rightConstraint,
double rightValue);
virtual double Evaluate(double t)=0
Interpolate the value of the spline at parametric location of t.
computes an interpolating spline using a Kochanek basis.
~vtkKochanekSpline() override
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.