45 #include "vtkCommonDataModelModule.h"
48 VTK_ABI_NAMESPACE_BEGIN
64 void SetParametricRange(
double tMin,
double tMax);
66 void GetParametricRange(
double tRange[2])
const;
82 virtual void Compute() = 0;
87 virtual double Evaluate(
double t) = 0;
92 int GetNumberOfPoints();
97 void AddPoint(
double t,
double x);
107 void FillFromDataPointer(
int nb,
double*
data);
112 void RemovePoint(
double t);
117 void RemoveAllPoints();
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];
193 double ComputeLeftDerivative();
194 double ComputeRightDerivative();
195 int FindIndex(
int size,
double t);
199 void operator=(
const vtkSpline&) =
delete;
202 VTK_ABI_NAMESPACE_END
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Defines a 1D piecewise function.
vtkTypeUInt32 vtkMTimeType
a simple class to control print indentation
spline abstract class for interpolating splines
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetParametricRange(double tRange[2])
Set/Get the parametric range.
vtkPiecewiseFunction * PiecewiseFunction