Developer documentation | Axl-2.5.1

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