 |
VTK
9.0.1
|
Go to the documentation of this file.
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,
double continuity,
107 double coefficients[][4],
int leftConstraint,
double leftValue,
int rightConstraint,
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.
~vtkKochanekSpline() override
computes an interpolating spline using a Kochanek basis.
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
virtual void DeepCopy(vtkSpline *s)
Deep copy of spline data.
virtual void Compute()=0
Compute the coefficients for the spline.