Developer documentation | Axl-2.5.1

axlFieldSpatialCoordinates.h
Go to the documentation of this file.
1 /* axlFieldSpatialCoordinates.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2013 - Anais Ducoffe, Inria.
5  */
6 
7 /* Commentary:
8  *
9  */
10 
11 /* Change log:
12  *1
13  */
14 #include "axlCoreExport.h"
15 #ifndef AXLFIELDSPATIALCOORDINATES_H
16 #define AXLFIELDSPATIALCOORDINATES_H
17 
19 
20 class axlFieldSpatialCoordinatesPrivate;
21 
23 {
24  Q_OBJECT
25 
26 public:
28  virtual ~axlFieldSpatialCoordinates(void);
29 
30  double scalar(double x, double y = 0, double z = 0);
31 
32  void setParameter(double parameter, int channel);
33  double parameter(int channel);
34 
35  QString description(void) const;
36  QString identifier(void) const;
37 
38 signals :
39  void updated(void);
40 
41 
42 public slots:
43  virtual void update(void);
44 
45 
46 private:
47  axlFieldSpatialCoordinatesPrivate *d;
48 };
49 
51 
52 
53 #endif // AXLFIELDSPATIALCOORDINATES_H
virtual double scalar(double x, double y=0, double z=0)
Returns the value of the spatial field at the coordinates point entered.
Class axlFieldSpatialCoordinates defines an API for spatial field. The value are computed as follow :...
Class axlAbstractFieldSpatial defines an API for spatial field.
virtual QString identifier(void) const
Returns the description of the field.
#define AXLCORE_EXPORT
AXLCORE_EXPORT dtkAbstractData * createaxlFieldSpatialCoordinates(void)
virtual QString description(void) const
Returns the description of the field.