Developer documentation | Axl-2.5.1

axlFieldParametricVolume.h
Go to the documentation of this file.
1 /* axlFieldParametricVolume.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 AXLFIELDPARAMETRICVOLUME_H
16 #define AXLFIELDPARAMETRICVOLUME_H
17 
19 
20 class axlFieldParametricVolumePrivate;
21 class axlAbstractData;
22 
24 {
25  Q_OBJECT
26 
27 public:
29  virtual ~axlFieldParametricVolume(void);
30 
31 // void setType(Type type);
32 // void setKind(Kind kind);
33 // void setSupport(Support support);
34 
35  void setFunction(axlAbstractData *data);
37  void setVolume(axlAbstractData *data);
38 
39  double start_u(void);
40  double start_v(void);
41  double start_w(void);
42 
43  double end_u(void);
44  double end_v(void);
45  double end_w(void);
46 
47  double numbersample_u(void);
48  double numbersample_v(void);
49  double numbersample_w(void);
50 
51  int size(void);
52 
53 // Type type(void);
54 // Kind kind(void);
55 // Support support(void);
56 
57  virtual double scalar(double u, double v , double w );
58  virtual double *vector(double u, double v , double w );
59  virtual double *tensor(double u, double v , double w );
60 
61  virtual QString description(void) const;
62  virtual QString identifier(void) const;
63 // virtual QString name(void);
64 // virtual void setName(QString name);
65 
66 signals :
67  void updated(void);
68 
69 
70 public slots:
71  virtual void update(void);
72 
73 
74 private:
75  axlFieldParametricVolumePrivate *d;
76 };
77 
78 AXLCORE_EXPORT dtkAbstractData *createaxlFieldParametricVolume(void);
79 
80 
81 #endif // AXLFIELDPARAMETRICVOLUME_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 axlAbstractData * getFunction(void)
Returns the description of the field.
virtual double end_u(void)
Returns the last u-value parameter.
virtual double * tensor(double u, double v, double w)
Returns the value of the spatial field at the coordinates point entered.
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.
AXLCORE_EXPORT dtkAbstractData * createaxlFieldParametricVolume(void)
virtual void setFunction(axlAbstractData *data)
Returns the description of the field.
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.
Class axlFieldParametricVolume defines an API for field which owns a BSpline Volume.
virtual double start_w(void)
Returns the first w-value parameter.
Class axlAbstractData defines an API for all type of axel data.
virtual double scalar(double u, double v, double w)
Returns the value of the parametric field at the parameters values in input.