57 #include "vtkCommonDataModelModule.h" 75 void SetParametricRange(
double tMin,
double tMax);
77 void GetParametricRange(
double tRange[2])
const;
93 virtual void Compute() = 0;
98 virtual double Evaluate(
double t) = 0;
103 int GetNumberOfPoints();
108 void AddPoint(
double t,
double x);
113 void RemovePoint(
double t);
118 void RemoveAllPoints();
148 vtkSetClampMacro(LeftConstraint,
int, 0, 3);
149 vtkGetMacro(LeftConstraint,
int);
150 vtkSetClampMacro(RightConstraint,
int, 0, 3);
151 vtkGetMacro(RightConstraint,
int);
159 vtkSetMacro(LeftValue,
double);
160 vtkGetMacro(LeftValue,
double);
161 vtkSetMacro(RightValue,
double);
162 vtkGetMacro(RightValue,
double);
191 double ParametricRange[2];
194 double ComputeLeftDerivative();
195 double ComputeRightDerivative();
196 int FindIndex(
int size,
double t);
200 void operator=(
const vtkSpline&) =
delete;
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