45 #ifndef vtkKochanekSpline_h
46 #define vtkKochanekSpline_h
48 #include "vtkCommonComputationalGeometryModule.h"
71 double Evaluate (
double t) VTK_OVERRIDE;
78 vtkGetMacro(DefaultBias,
double);
86 vtkGetMacro(DefaultTension,
double);
94 vtkGetMacro(DefaultContinuity,
double);
100 void DeepCopy(
vtkSpline *s) VTK_OVERRIDE;
104 ~vtkKochanekSpline() VTK_OVERRIDE {}
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);
computes an interpolating spline using a Kochanek basis.
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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...