38 #ifndef vtkParametricSpline_h
39 #define vtkParametricSpline_h
41 #include "vtkCommonComputationalGeometryModule.h"
44 VTK_ABI_NAMESPACE_BEGIN
71 void Evaluate(
double u[3],
double Pt[3],
double Du[9])
override;
151 vtkSetClampMacro(LeftConstraint,
int, 0, 3);
152 vtkGetMacro(LeftConstraint,
int);
153 vtkSetClampMacro(RightConstraint,
int, 0, 3);
154 vtkGetMacro(RightConstraint,
int);
162 vtkSetMacro(LeftValue,
double);
163 vtkGetMacro(LeftValue,
double);
164 vtkSetMacro(RightValue,
double);
165 vtkGetMacro(RightValue,
double);
201 VTK_ABI_NAMESPACE_END
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