57 #include "vtkCommonDataModelModule.h" 75 void SetParametricRange(
double tMin,
double tMax);
77 {this->SetParametricRange(tRange[0],tRange[1]);}
78 void GetParametricRange(
double tRange[2])
const;
94 virtual void Compute () = 0;
99 virtual double Evaluate (
double t) = 0;
104 int GetNumberOfPoints();
109 void AddPoint (
double t,
double x);
114 void RemovePoint (
double t);
119 void RemoveAllPoints ();
149 vtkSetClampMacro(LeftConstraint,
int,0,3);
150 vtkGetMacro(LeftConstraint,
int);
151 vtkSetClampMacro(RightConstraint,
int,0,3);
152 vtkGetMacro(RightConstraint,
int);
160 vtkSetMacro(LeftValue,
double);
161 vtkGetMacro(LeftValue,
double);
162 vtkSetMacro(RightValue,
double);
163 vtkGetMacro(RightValue,
double);
192 double ParametricRange[2];
195 double ComputeLeftDerivative();
196 double ComputeRightDerivative();
197 int FindIndex(
int size,
double t);
201 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