130 #ifndef vtkParametricSpline_h
131 #define vtkParametricSpline_h
136 #include "vtkCommonComputationalGeometryModule.h"
162 void Evaluate(
double u[3],
double Pt[3],
double Du[9])
override;
242 vtkSetClampMacro(LeftConstraint,
int, 0, 3);
243 vtkGetMacro(LeftConstraint,
int);
244 vtkSetClampMacro(RightConstraint,
int, 0, 3);
245 vtkGetMacro(RightConstraint,
int);
253 vtkSetMacro(LeftValue,
double);
254 vtkGetMacro(LeftValue,
double);
255 vtkSetMacro(RightValue,
double);
256 vtkGetMacro(RightValue,
double);
a simple class to control print indentation
abstract interface for parametric functions
parametric function for 1D interpolating splines
vtkTypeBool ParameterizeByLength
~vtkParametricSpline() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetNumberOfPoints(vtkIdType numPts)
Another API to set the points.
void SetPoint(vtkIdType index, double x, double y, double z)
Another API to set the points.
double EvaluateScalar(double u[3], double Pt[3], double Du[9]) override
Evaluate a scalar value at parametric coordinate u[0] and Pt[3].
void SetXSpline(vtkSpline *)
By default, this class is constructed with three instances of vtkCardinalSpline (for each of the x-y-...
int GetDimension() override
Return the parametric dimension of the class.
void Evaluate(double u[3], double Pt[3], double Du[9]) override
Evaluate the spline at parametric coordinate u[0] returning the point coordinate Pt[3].
static vtkParametricSpline * New()
Construct the spline with the following parameters: MinimumU = 0, MaximumU = 1, JoinU = 0 (unless the...
void SetPoints(vtkPoints *)
Specify the list of points defining the spline.
vtkMTimeType InitializeTime
void SetYSpline(vtkSpline *)
By default, this class is constructed with three instances of vtkCardinalSpline (for each of the x-y-...
void SetZSpline(vtkSpline *)
By default, this class is constructed with three instances of vtkCardinalSpline (for each of the x-y-...
represent and manipulate 3D points
spline abstract class for interpolating splines
vtkTypeUInt32 vtkMTimeType