45#include "vtkCommonDataModelModule.h"
48VTK_ABI_NAMESPACE_BEGIN
147 vtkSetClampMacro(LeftConstraint,
int, 0, 3);
148 vtkGetMacro(LeftConstraint,
int);
149 vtkSetClampMacro(RightConstraint,
int, 0, 3);
150 vtkGetMacro(RightConstraint,
int);
158 vtkSetMacro(LeftValue,
double);
159 vtkGetMacro(LeftValue,
double);
160 vtkSetMacro(RightValue,
double);
161 vtkGetMacro(RightValue,
double);
190 double ParametricRange[2];
199 void operator=(
const vtkSpline&) =
delete;
a simple class to control print indentation
abstract base class for most VTK objects
Defines a 1D piecewise function.
spline abstract class for interpolating splines
vtkMTimeType GetMTime() override
Return the MTime also considering the Piecewise function.
void GetParametricRange(double tRange[2]) const
Set/Get the parametric range.
int FindIndex(int size, double t)
double ComputeRightDerivative()
void SetParametricRange(double tRange[2])
Set/Get the parametric range.
vtkPiecewiseFunction * PiecewiseFunction
virtual double Evaluate(double t)=0
Interpolate the value of the spline at parametric location of t.
int GetNumberOfPoints()
Return the number of points inserted thus far.
void FillFromDataPointer(int nb, double *data)
Add all the points to the list of points in one time, and then sort them only once.
double ComputeLeftDerivative()
void RemoveAllPoints()
Remove all points from the data.
void SetParametricRange(double tMin, double tMax)
Set/Get the parametric range.
void RemovePoint(double t)
Remove a point from the data to be fit with the spline.
virtual void Compute()=0
Compute the coefficients for the spline.
void AddPoint(double t, double x)
Add a pair of points to be fit with the spline.
virtual void DeepCopy(vtkSpline *s)
Deep copy of spline data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeUInt32 vtkMTimeType