Go to the documentation of this file.
57 #include "vtkCommonDataModelModule.h"
77 {this->SetParametricRange(tRange[0],tRange[1]);}
87 vtkGetMacro(ClampValue,
int);
128 vtkGetMacro(Closed,
int);
149 vtkSetClampMacro(LeftConstraint,
int,0,3);
150 vtkGetMacro(LeftConstraint,
int);
151 vtkSetClampMacro(RightConstraint,
int,0,3);
152 vtkGetMacro(RightConstraint,
int);
161 vtkGetMacro(LeftValue,
double);
163 vtkGetMacro(RightValue,
double);
183 double *Coefficients;
192 double ParametricRange[2];
195 double ComputeLeftDerivative();
196 double ComputeRightDerivative();
197 int FindIndex(
int size,
double t);
201 void operator=(const
vtkSpline&) VTK_DELETE_FUNCTION;
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
vtkMTimeType GetMTime() override
Return the MTime also considering the Piecewise function.
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.
abstract base class for most VTK objects
void RemovePoint(double t)
Remove a point from the data to be fit with the spline.
vtkTypeUInt64 vtkMTimeType
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
spline abstract class for interpolating splines
void SetParametricRange(double tRange[2])
Defines a 1D piecewise function.
void SetParametricRange(double tMin, double tMax)
Set/Get the parametric range.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void AddPoint(double t, double x)
Add a pair of points to be fit with the spline.
void GetParametricRange(double tRange[2]) const
void RemoveAllPoints()
Remove all points from the data.
virtual void Compute()=0
Compute the coefficients for the spline.