22 #include <dtkCoreSupport/dtkGlobal.h>
24 #include <dtkCoreSupport/dtkAbstractDataFactory.h>
25 #include <dtkCoreSupport/dtkAbstractProcessFactory.h>
29 class axlFieldParametricCurveTangentVectorPrivate
77 qDebug() <<
"Getting vector value on non vector field.";
97 return "axlFieldParametricCurveTangentVector";
109 qstr.append(
"axlFieldParametricCurveTangentVector : \n");
110 qstr.append(
"Type : Double ");
111 qstr.append(
";Kind : Vector ");
112 qstr.append(
";Support : Point");
125 if(dynamic_cast<axlAbstractCurveParametric*>(data))
136 return d->input->startParam();
148 return d->input->endParam();
159 return d->input->numSamples();
169 return d->input->numSamples();
Class axlPoint defines 3D points.
double * vector(double u, double v=0., double w=0.)
Returns the value of the spatial field at the coordinates point entered.
virtual void update(void)
double * coordinates(void) const
Returns coordinates of this point.
Class axlAbstractFieldParametricCurve defines an API for parametric field.
void setCurve(axlAbstractData *data)
Sets the BSpline on which the BSpline field is applied.
axlMesh * mesh(void)
Return the mesh of that object is computed.
Generic interface for parametric curve.
virtual ~axlFieldParametricCurveTangentVector(void)
Destroys a Bspline field.
double start_u(void)
Returns the first parameter value of the field.
void vertex(const int &ind, double vertex[3])
set vertex values of vertices with index ind.
QString description(void) const
Returns the description of the field.
dtkAbstractData * createaxlFieldParametricCurveTangentVector(void)
int size(void)
Returns the number of values evaluated for this BSpline field on each samples of the input BSpline...
virtual void setType(Type type)
Sets the type of the field which can be either int, float or double.
Class axlFieldParametricCurveTangentVector defines an API for field which owns a BSpline Surface as a...
virtual void setSupport(Support support)
double end_u(void)
Returns the last parameter value of the field.
virtual void setKind(Kind kind)
Sets the kind of the field which can be either scalar, vector or tensor.
double numbersample_u(void)
Returns the number of parameters.
QString identifier(void) const
Returns the identifier of the field "axlFieldParametricCurveTangentVector".
axlFieldParametricCurveTangentVector()
Class axlAbstractData defines an API for all type of axel data.
Class axlMesh defines a piecewise-linear 3D object.