Developer documentation | Axl-2.5.1

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