Developer documentation | Axl-2.5.1

axlLineCreator.h
Go to the documentation of this file.
1 /* axlLineCreator.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2012, Anais Ducoffe, INRIA.
5  */
6 
7 /* Commentary:
8  */
9 
10 /* Change log:
11  *
12  */
13 
14 #ifndef AXLLINECREATOR_H
15 #define AXLLINECREATOR_H
16 
17 #include "axlCoreExport.h"
18 
20 
21 #include <QtCore>
22 
23 class axlPoint;
24 class axlLine;
25 class axlAbstractData;
26 
27 class axlLineCreatorPrivate;
28 
30 {
31  Q_OBJECT
32 
33 public:
34  axlLineCreator(QObject *parent = 0);
35  axlLineCreator(const axlLineCreator *other,QObject *parent = 0);
36  virtual ~axlLineCreator(void);
37 
38 
39 public :
40  virtual axlAbstractData * getInput(int channel) const;
41  bool hasParameters(void);
42 
43 
44 
45 /* dtk overload */
46 public :
47  virtual int update(void);
48 
49 public :
50 
51  virtual QString description(void) const;
52  virtual QString identifier(void) const;
53 
54 public :
55  virtual void setInput(dtkAbstractData *newData, int channel);
56  virtual dtkAbstractData *output(void);
57  virtual dtkAbstractData *output(int channel);
58 
59 private:
60  axlLineCreatorPrivate *d;
61 };
62 
63 AXLCORE_EXPORT dtkAbstractProcess *createaxlLineCreator(void);
64 
65 #endif // AXLLINECREATOR_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
Class axlLine defines 3D lines.
Definition: axlLine.h:35
virtual bool hasParameters(void)
AXLCORE_EXPORT dtkAbstractProcess * createaxlLineCreator(void)
virtual QString description(void) const
axlAbstractData * getInput(int channel) const
virtual void setInput(dtkAbstractData *newData, int channel)
virtual dtkAbstractData * output(void)
virtual QString identifier(void) const
#define AXLCORE_EXPORT
Class axlAbstractData defines an API for all type of axel data.