Developer documentation | Axl-2.5.1

axlProcessProjection.h
Go to the documentation of this file.
1 /* axlProcessProjection.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2013, Anais Ducoffe, INRIA.
5  */
6 
7 /* Commentary:
8  */
9 
10 /* Change log:
11  *
12  */
13 
14 #ifndef axlProcessProjection_H
15 #define axlProcessProjection_H
16 
17 #include "axlCoreExport.h"
18 
19 #include "axlAbstractProcess.h"
20 
21 #include <QtCore>
22 
23 class axlPoint;
24 class axlPlane;
25 class axlAbstractData;
26 
27 class axlProcessProjectionPrivate;
28 
30 {
31  Q_OBJECT
32 
33 public:
34  axlProcessProjection(QObject *parent = 0);
35  virtual ~axlProcessProjection(void);
36 
37 
38 public :
39  virtual axlAbstractData * getInput(int channel) const;
40  void copyProcess(axlAbstractProcess *process);
41  bool hasParameters(void);
42  bool isOnLine(void);
43 
44 
45 public:
46 // QString form(void) const
47 // {
48 // return QString(
49 // " INPUT:0 data point \n"
50 // " INPUT:1 data line");
51 // }
52 
53 /* dtk overload */
54 public :
55  virtual int update(void);
56 
57 public :
58 
59  virtual QString description(void) const;
60  virtual QString identifier(void) const;
61 
62 public :
63  static bool registered(void) ;
64 
65 public :
66  virtual void setInput(dtkAbstractData *newData, int channel);
67  virtual dtkAbstractData *output(void);
68 
69 private:
70  axlProcessProjectionPrivate *d;
71 };
72 
73 AXLCORE_EXPORT dtkAbstractProcess *createaxlProcessProjection(void);
74 
75 #endif // AXLPROCESSPROJECTION_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
virtual bool hasParameters(void)
Class axlPlane defines 3D planes.
Definition: axlPlane.h:34
virtual void copyProcess(axlAbstractProcess *process)
AXLCORE_EXPORT dtkAbstractProcess * createaxlProcessProjection(void)
virtual QString description(void) const
#define AXLCORE_EXPORT
virtual QString identifier(void) const
Class axlAbstractData defines an API for all type of axel data.