summaryrefslogtreecommitdiff
path: root/src/cgalworker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgalworker.h')
-rw-r--r--src/cgalworker.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/cgalworker.h b/src/cgalworker.h
new file mode 100644
index 0000000..cf60c24
--- /dev/null
+++ b/src/cgalworker.h
@@ -0,0 +1,28 @@
+#ifndef CGALWORKER_H_
+#define CGALWORKER_H_
+
+#include <QObject>
+
+class CGALWorker : public QObject
+{
+ Q_OBJECT;
+public:
+ CGALWorker();
+ virtual ~CGALWorker();
+
+public slots:
+ void start(const class Tree &tree);
+
+protected slots:
+ void work();
+
+signals:
+ void done(class CGAL_Nef_polyhedron *);
+
+protected:
+
+ class QThread *thread;
+ const class Tree *tree;
+};
+
+#endif
contact: Jan Huwald // Impressum