44 #ifndef vtkParametricSpline_h
45 #define vtkParametricSpline_h
50 #include "vtkCommonComputationalGeometryModule.h"
76 void Evaluate(
double u[3],
double Pt[3],
double Du[9]) VTK_OVERRIDE;
125 vtkGetMacro(Closed,
int);
135 vtkGetMacro(ParameterizeByLength,
int);
156 vtkSetClampMacro(LeftConstraint,
int,0,3);
157 vtkGetMacro(LeftConstraint,
int);
158 vtkSetClampMacro(RightConstraint,
int,0,3);
159 vtkGetMacro(RightConstraint,
int);
168 vtkGetMacro(LeftValue,
double);
170 vtkGetMacro(RightValue,
double);
191 int ParameterizeByLength;
a simple class to control print indentation
abstract interface for parametric functions
parametric function for 1D interpolating splines
~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)
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.
void SetYSpline(vtkSpline *)
void SetZSpline(vtkSpline *)
represent and manipulate 3D points
spline abstract class for interpolating splines
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType