Developer documentation | Axl-2.5.1

axlFieldParametricCurveTangentVector.h
Go to the documentation of this file.
1 /* axlFieldParametricCurveTangentVector.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2013 - Anais Ducoffe, Inria.
5  */
6 
7 /* Commentary:
8  *
9  */
10 
11 /* Change log:
12  *
13  */
14 #include "axlCoreExport.h"
15 #ifndef AXLFIELDPARAMETRICCURVETANGENTVECTOR_H
16 #define AXLFIELDPARAMETRICCURVETANGENTVECTOR_H
17 
19 
20 class axlFieldParametricCurveTangentVectorPrivate;
21 class axlAbstractData;
22 
24 {
25  Q_OBJECT
26 
27 public:
30 
31  void setCurve(axlAbstractData *data);
32 
33  double start_u(void);
34 
35  double end_u(void);
36 
37  double numbersample_u(void);
38 
39  int size(void);
40 
41  double *vector(double u, double v=0., double w=0.);
42 
43  QString description(void) const;
44  QString identifier(void) const;
45 
46 
47 
48 public slots:
49  virtual void update(void);
50 
51 
52 private:
53  axlFieldParametricCurveTangentVectorPrivate *d;
54 };
55 
57 
58 
59 #endif// AXLFIELDPARAMETRICCURVETANGENTVECTOR_H
AXLCORE_EXPORT dtkAbstractData * createaxlFieldParametricCurveTangentVector(void)
virtual void setCurve(axlAbstractData *Curve)
Sets the support Curve of the field.
Class axlAbstractFieldParametricCurve defines an API for parametric field.
virtual int size(void)
Returns number of parameters on which the field is evaluated.
virtual QString identifier(void) const
Returns the description of the field.
virtual double end_u(void)
Returns the last v-value parameter.
virtual double start_u(void)
Returns the first u-value parameter.
Class axlFieldParametricCurveTangentVector defines an API for field which owns a BSpline Surface as a...
#define AXLCORE_EXPORT
Class axlAbstractData defines an API for all type of axel data.
virtual double numbersample_u(void)
Returns the number of u-parameters.
virtual QString description(void) const
Returns the description of the field.
virtual double * vector(double u, double v=0, double w=0)
Returns the value of the parametric field evaluated at the parameters in input.