51 #ifndef vtkKochanekSpline_h 52 #define vtkKochanekSpline_h 54 #include "vtkCommonComputationalGeometryModule.h" 83 vtkSetMacro(DefaultBias,
double);
84 vtkGetMacro(DefaultBias,
double);
91 vtkSetMacro(DefaultTension,
double);
92 vtkGetMacro(DefaultTension,
double);
99 vtkSetMacro(DefaultContinuity,
double);
100 vtkGetMacro(DefaultContinuity,
double);
112 void Fit1D (
int n,
double *x,
double *y,
double tension,
double bias,
113 double continuity,
double coefficients[][4],
int leftConstraint,
114 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...