Developer documentation | Axl-2.5.1

axlIntersection.h
Go to the documentation of this file.
1 /* axlIntersection.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 AXLINTERSECTION_H
15 #define AXLINTERSECTION_H
16 
17 #include "axlCoreExport.h"
18 
19 #include "axlAbstractProcess.h"
20 
21 #include <QtCore>
22 
23 class axlPoint;
24 class axlLine;
25 class axlCircle;
26 class axlAbstractData;
27 
28 class axlIntersectionPrivate;
29 
31 {
32  Q_OBJECT
33 
34 public:
35  axlIntersection(QObject *parent = 0);
36  ~axlIntersection(void);
37 
38 
39 public :
40  axlAbstractData * getInput(int channel) const;
41 
42 public :
43  virtual int update(void);
44 
45 public :
46  QString description(void) const;
47  QString identifier(void) const;
48 
49 public :
50 // virtual dtkAbstractData *output(int channel);
51  dtkAbstractData *output(void);
52  void setInput(dtkAbstractData *newData, int channel);
53  int channelCount(void);
54 
55 
56 public:
57  QString form(void) const
58  {
59  return QString(
60  " INPUT:0 data line1 \n"
61  " INPUT:1 data line2 \n"
62  " OUTPUT:0 data point ");
63  }
64 
65 
66 signals :
67  void dataInserted(axlAbstractData *data);
68 
69 
70 private:
71  axlIntersectionPrivate *d;
72 };
73 
74 AXLCORE_EXPORT dtkAbstractProcess *createaxlIntersectionProcess(void);
75 
76 #endif // AXLINTERSECTION_H
Class axlPoint defines 3D points.
Definition: axlPoint.h:34
Class axlLine defines 3D lines.
Definition: axlLine.h:35
AXLCORE_EXPORT dtkAbstractProcess * createaxlIntersectionProcess(void)
virtual QString description(void) const
QString form(void) const
Description of the form for the dialog with the process.
#define AXLCORE_EXPORT
virtual QString identifier(void) const
Class axlAbstractData defines an API for all type of axel data.