Developer documentation | Axl-2.5.1

axlFieldSpatialCoordinatesCreator.h
Go to the documentation of this file.
1 /* axlFieldSpatialCoordinatesCreator.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 
15 #ifndef axlFieldSpatialCoordinatesCreator_H
16 #define axlFieldSpatialCoordinatesCreator_H
17 
18 #include "axlCoreExport.h"
19 
21 #include <dtkCoreSupport/dtkAbstractProcess.h>
22 
23 #include <QtGui>
24 
25 class axlFieldSpatialCoordinatesCreatorPrivate;
26 class axlAbstractField;
27 class axlAbstractData;
28 
30 {
31  Q_OBJECT
32 
33 public:
35  virtual ~axlFieldSpatialCoordinatesCreator(void);
36 
37 public:
38  virtual QString description(void) const;
39  virtual QString identifier(void) const;
40 
41 
42 public slots:
43  void setInput(dtkAbstractData *data, int channel);
44  void setParameter(double value, int channel);
45  int update(void);
46 
47 
48 
49 public:
50  static bool registered(void);
51 
52 
53 public:
54  QString form(void) const
55  {
56  return QString(
57  " INPUT:0 data supportData \n"
58  " PARAMETER:0 double x-directionCoordinate 1.0 \n"
59  " PARAMETER:1 double y-directionCoordinate 0.0 \n"
60  " PARAMETER:2 double z-directionCoordinate 0.0");
61  }
62 
63 private:
64  axlFieldSpatialCoordinatesCreatorPrivate *d;
65 
66 
67 };
68 
70 #endif // axlFieldSpatialCoordinatesCreator_H
virtual QString description(void) const
Class axlAbstractField defines an API for arrays of numeric data.
#define AXLCORE_EXPORT
QString form(void) const
Description of the form for the dialog with the process.
AXLCORE_EXPORT dtkAbstractProcess * createaxlFieldSpatialCoordinatesCreator(void)
virtual QString identifier(void) const
virtual void setInput(dtkAbstractData *data, int channel=0)
Class axlAbstractData defines an API for all type of axel data.