127#ifndef vtkParametricSpline_h
128#define vtkParametricSpline_h
133#include "vtkCommonComputationalGeometryModule.h"
159 void Evaluate(
double u[3],
double Pt[3],
double Du[9])
override;
239 vtkSetClampMacro(LeftConstraint,
int, 0, 3);
240 vtkGetMacro(LeftConstraint,
int);
241 vtkSetClampMacro(RightConstraint,
int, 0, 3);
242 vtkGetMacro(RightConstraint,
int);
250 vtkSetMacro(LeftValue,
double);
251 vtkGetMacro(LeftValue,
double);
252 vtkSetMacro(RightValue,
double);
253 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].
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-...
static vtkParametricSpline * New()
Construct the spline with the following parameters: MinimumU = 0, MaximumU = 1, JoinU = 0 (unless the...
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