Developer documentation | Axl-2.5.1

axlFieldParametricVolumeTangentVector.h
Go to the documentation of this file.
1 /* axlFieldParametricVolumeTangentVector.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 AXLFIELDPARAMETRICVOLUMETANGENTVECTOR_H
16 #define AXLFIELDPARAMETRICVOLUMETANGENTVECTOR_H
17 
19 
20 class axlFieldParametricVolumeTangentVectorPrivate;
21 class axlAbstractData;
22 
24 {
25  Q_OBJECT
26 
27 public:
30 
31  void setVolume(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  double start_w(void);
39 
40  double end_u(void);
41  double end_v(void);
42  double end_w(void);
43 
44  double numbersample_u(void);
45  double numbersample_v(void);
46  double numbersample_w(void);
47 
48  int size(void);
49 
50 
51  double *vector(double u, double v, double w);
52 
53  QString description(void) const;
54  QString identifier(void) const;
55 
56 
57 
58 public slots:
59  virtual void update(void);
60 
61 
62 private:
63  axlFieldParametricVolumeTangentVectorPrivate *d;
64 };
65 
67 
68 
69 #endif // AXLFIELDPARAMETRICVOLUMETANGENTVECTOR_H
virtual void setVolume(axlAbstractData *Volume)
Sets the support Volume of the field.
virtual double start_u(void)
Returns the first u-value parameter.
virtual double end_u(void)
Returns the last u-value parameter.
virtual double numbersample_u(void)
Returns the number of u-parameters.
virtual double numbersample_v(void)
Returns the number of v-parameters.
virtual double start_v(void)
Returns the first v-value parameter.
virtual double end_w(void)
Returns the last w-value parameter.
virtual QString description(void) const
Returns the description of the field.
virtual double * vector(double u, double v, double w)
Returns the value of the parametric field evaluated at the parameters in input.
virtual double end_v(void)
Returns the last v-value parameter.
virtual double numbersample_w(void)
Returns the number of w-parameters.
Class axlAbstractFieldParametricVolume defines an API for parametric field.
#define AXLCORE_EXPORT
virtual QString identifier(void) const
Returns the description of the field.
virtual int size(void)
Returns number of parameters on which the field is evaluated.
AXLCORE_EXPORT dtkAbstractData * createaxlFieldParametricVolumeTangentVector(void)
virtual double start_w(void)
Returns the first w-value parameter.
Class axlAbstractData defines an API for all type of axel data.
Class axlFieldParametricVolumeTangentVector defines an API for field which owns a BSpline Surface as ...