Developer documentation | Axl-2.5.1

axlAbstractFieldSpatial.h
Go to the documentation of this file.
1 /* axlAbstractFieldSpatial.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 AXLABSTRACTFIELDSPATIAL_H
16 #define AXLABSTRACTFIELDSPATIAL_H
17 
19 
20 class axlAbstractFieldSpatialPrivate;
21 
23 {
24  Q_OBJECT
25 
26 public:
28  virtual ~axlAbstractFieldSpatial(void);
29 
30 // void setType(Type type);
31 // void setKind(Kind kind);
32 // void setSupport(Support support);
33 
34 // Type type(void);
35 // Kind kind(void);
36 // Support support(void);
37 
38  virtual double scalar(double x, double y = 0, double z = 0);
39  virtual double *vector(double x, double y = 0, double z = 0);
40  virtual double *tensor(double x, double y = 0, double z = 0);
41 
42  virtual QString description(void) const;
43  virtual QString identifier(void) const;
44 // virtual QString name(void);
45 // virtual void setName(QString name);
46 
47 
48 
49 signals :
50  void updated(void);
51 
52 
53 public slots:
54  virtual void update(void);
55 
56 
57 private:
58  axlAbstractFieldSpatialPrivate *d;
59 };
60 
61 dtkAbstractData *createaxlAbstractFieldSpatial(void);
62 
63 
64 #endif // AXLABSTRACTFIELDSPATIAL_H
dtkAbstractData * createaxlAbstractFieldSpatial(void)
virtual void update(void)
virtual QString identifier(void) const
void updated(void)
Class axlAbstractFieldSpatial defines an API for spatial field.
Class axlAbstractField defines an API for arrays of numeric data.
#define AXLCORE_EXPORT