Developer documentation | Axl-2.5.1

axlAbstractFieldParametricVolume.h
Go to the documentation of this file.
1 /* axlAbstractFieldParametricVolume.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 AXLABSTRACTFIELDPARAMETRICVOLUME_H
16 #define AXLABSTRACTFIELDPARAMETRICVOLUME_H
17 
19 
20 class axlAbstractFieldParametricVolumePrivate;
21 class axlAbstractData;
22 
24 {
25  Q_OBJECT
26 
27 public:
29  virtual ~axlAbstractFieldParametricVolume(void);
30 
31  virtual void setVolume(axlAbstractData *Volume);
32 
33  virtual int size(void);
34 
35  virtual double scalar(double u, double v, double w);
36  virtual double *vector(double u, double v, double w);
37  virtual double *tensor(double u, double v, double w);
38 
39  virtual double start_u(void);
40  virtual double start_v(void);
41  virtual double start_w(void);
42 
43  virtual double end_u(void);
44  virtual double end_v(void);
45  virtual double end_w(void);
46 
47  virtual double numbersample_u(void);
48  virtual double numbersample_v(void);
49  virtual double numbersample_w(void);
50 
51  virtual void setFunction(axlAbstractData *data);
52  virtual axlAbstractData *getFunction(void);
53 
54  virtual QString description(void) const;
55  virtual QString identifier(void) const;
56 
57 signals :
58  void updated(void);
59 
60 
61 public slots:
62  virtual void update(void);
63 
64 
65 private:
66  axlAbstractFieldParametricVolumePrivate *d;
67 };
68 
69 dtkAbstractData *createaxlAbstractFieldParametricVolume(void);
70 
71 
72 #endif // AXLABSTRACTFIELDPARAMETRICVOLUME_H
virtual QString description(void) const
Returns the description of the field.
Class axlAbstractFieldParametric defines an API for parametric field.
virtual int size(void)
Returns number of parameters on which the field is evaluated.
virtual double * tensor(double u, double v=0, double w=0)
Returns the value of the spatial field at the coordinates point entered.
virtual axlAbstractData * getFunction(void)
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.
virtual double scalar(double u, double v=0, double w=0)
Returns the value of the parametric field at the parameters values in input.
Class axlAbstractFieldParametricVolume defines an API for parametric field.
virtual void setFunction(axlAbstractData *data)
Returns the description of the field.
#define AXLCORE_EXPORT
virtual QString identifier(void) const
Returns the description of the field.
Class axlAbstractData defines an API for all type of axel data.
dtkAbstractData * createaxlAbstractFieldParametricVolume(void)