Developer documentation | Axl-2.5.1

axlFieldParametricSurfaceTangentVector.h
Go to the documentation of this file.
1 /* axlFieldParametricSurfaceTangentVector.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 AXLFIELDPARAMETRICSURFACETANGENTVECTOR_H
16 #define AXLFIELDPARAMETRICSURFACETANGENTVECTOR_H
17 
19 
20 class axlFieldParametricSurfaceTangentVectorPrivate;
21 class axlAbstractData;
22 
24 {
25  Q_OBJECT
26 
27 public:
30 
31  void setSurface(axlAbstractData *data);
32  void setParameter(double parameter, int channel);
33 
34  double parameter(int channel);
35 
36  double start_u(void);
37  double start_v(void);
38 
39  double end_u(void);
40  double end_v(void);
41 
42  double numbersample_u(void);
43  double numbersample_v(void);
44 
45  int size(void);
46 
47 
48  double* vector(double u, double v, double w=0.);
49 
50  QString description(void) const;
51  QString identifier(void) const;
52 
53 public slots:
54  virtual void update(void);
55 
56 private:
57  axlFieldParametricSurfaceTangentVectorPrivate *d;
58 };
59 
61 
62 
63 #endif // AXLFIELDPARAMETRICSURFACETANGENTVECTOR_H
virtual double start_u(void)
Returns the first u-value parameter.
virtual int size(void)
Returns number of parameters on which the field is evaluated.
virtual double start_v(void)
Returns the first v-value parameter.
virtual double numbersample_v(void)
Returns the number of v-parameters.
virtual double numbersample_u(void)
Returns the number of u-parameters.
virtual double end_u(void)
Returns the last v-value parameter.
virtual double * vector(double u, double v, double w=0)
Returns the value of the parametric field evaluated at the parameters in input.
AXLCORE_EXPORT dtkAbstractData * createaxlFieldParametricSurfaceTangentVector(void)
Class axlFieldParametricSurfaceTangentVector defines an API for field which owns a BSpline Surface as...
virtual double end_v(void)
Returns the last v-value parameter.
#define AXLCORE_EXPORT
virtual QString identifier(void) const
Returns the description of the field.
virtual QString description(void) const
Returns the description of the field.
Class axlAbstractFieldParametricSurface defines an API for parametric field.
virtual void setSurface(axlAbstractData *surface)
Sets the support surface of the field.
Class axlAbstractData defines an API for all type of axel data.