 |
VTK
9.1.0
|
Go to the documentation of this file.
76 #include "vtkCommonDataModelModule.h"
167 vtkSetClampMacro(LeftConstraint,
int, 0, 3);
168 vtkGetMacro(LeftConstraint,
int);
169 vtkSetClampMacro(RightConstraint,
int, 0, 3);
170 vtkGetMacro(RightConstraint,
int);
178 vtkSetMacro(LeftValue,
double);
179 vtkGetMacro(LeftValue,
double);
180 vtkSetMacro(RightValue,
double);
181 vtkGetMacro(RightValue,
double);
210 double ParametricRange[2];
219 void operator=(
const vtkSpline&) =
delete;
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
double ComputeLeftDerivative()
void RemovePoint(double t)
Remove a point from the data to be fit with the spline.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPiecewiseFunction * PiecewiseFunction
int FindIndex(int size, double t)
a simple class to control print indentation
double ComputeRightDerivative()
spline abstract class for interpolating splines
void SetParametricRange(double tRange[2])
Set/Get the parametric range.
Defines a 1D piecewise function.
void SetParametricRange(double tMin, double tMax)
Set/Get the parametric range.
virtual void DeepCopy(vtkSpline *s)
Deep copy of spline data.
void AddPoint(double t, double x)
Add a pair of points to be fit with the spline.
void GetParametricRange(double tRange[2]) const
Set/Get the parametric range.
void RemoveAllPoints()
Remove all points from the data.
virtual void Compute()=0
Compute the coefficients for the spline.
vtkTypeUInt32 vtkMTimeType