Developer documentation | Axl-2.5.1

axlFieldSpatialPointDistance.h
Go to the documentation of this file.
1 /* axlFieldSpatialPointDistance.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 AXLFIELDSPATIALPOINTDISTANCE_H
16 #define AXLFIELDSPATIALPOINTDISTANCE_H
17 
19 
20 class axlFieldSpatialPointDistancePrivate;
21 class axlPoint;
22 
24 {
25  Q_OBJECT
26 
27 public:
29  virtual ~axlFieldSpatialPointDistance(void);
30 
31  void setParameter(double data, int channel);
32  axlPoint *getPoint(void);
33 
34  double scalar(double x, double y = 0, double z = 0);
35 
36  QString description(void) const;
37  QString identifier(void) const;
38 
39 signals :
40  void updated(void);
41 
42 
43 public slots:
44  virtual void update(void);
45 
46 
47 private:
48  axlFieldSpatialPointDistancePrivate *d;
49 };
50 
52 
53 
54 #endif // AXLFIELDSPATIALPOINTDISTANCE_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
virtual double scalar(double x, double y=0, double z=0)
Returns the value of the spatial field at the coordinates point entered.
AXLCORE_EXPORT dtkAbstractData * createAxlFieldSpatialPointDistance(void)
Class axlAbstractFieldSpatial defines an API for spatial field.
virtual QString identifier(void) const
Returns the description of the field.
Class axlFieldSpatialPointDistance defines an API for spatial field.
#define AXLCORE_EXPORT
virtual QString description(void) const
Returns the description of the field.