94#ifndef vtkKochanekSpline_h
95#define vtkKochanekSpline_h
97#include "vtkCommonComputationalGeometryModule.h"
126 vtkSetMacro(DefaultBias,
double);
127 vtkGetMacro(DefaultBias,
double);
134 vtkSetMacro(DefaultTension,
double);
135 vtkGetMacro(DefaultTension,
double);
142 vtkSetMacro(DefaultContinuity,
double);
143 vtkGetMacro(DefaultContinuity,
double);
155 void Fit1D(
int size,
double* x,
double* y,
double tension,
double bias,
double continuity,
156 double coefficients[][4],
int leftConstraint,
double leftValue,
int rightConstraint,
a simple class to control print indentation
computes an interpolating spline using a Kochanek basis.
double Evaluate(double t) override
Evaluate a 1D Kochanek spline.
void Fit1D(int size, double *x, double *y, double tension, double bias, double continuity, double coefficients[][4], int leftConstraint, double leftValue, int rightConstraint, double rightValue)
void Compute() override
Compute Kochanek Spline coefficients.
~vtkKochanekSpline() override=default
void DeepCopy(vtkSpline *s) override
Deep copy of cardinal spline data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkKochanekSpline * New()
Construct a KochanekSpline with the following defaults: DefaultBias = 0, DefaultTension = 0,...
spline abstract class for interpolating splines