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;
87 vtkGetMacro(ClampValue,
int);
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 ();
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);
178 ~vtkSpline() VTK_OVERRIDE;
183 double *Coefficients;
192 double ParametricRange[2];
195 double ComputeLeftDerivative();
196 double ComputeRightDerivative();
197 int FindIndex(
int size,
double t);
200 vtkSpline(const vtkSpline&) VTK_DELETE_FUNCTION;
201 void operator=(const vtkSpline&) VTK_DELETE_FUNCTION;
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.
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
vtkTypeUInt64 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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.