2014-04-28 21:09:25 +04:00
|
|
|
#pragma once
|
2011-12-26 02:00:30 +04:00
|
|
|
|
|
|
|
#include <QObject>
|
2013-12-02 10:48:22 +04:00
|
|
|
#include "memory.h"
|
2011-12-26 02:00:30 +04:00
|
|
|
|
|
|
|
class CGALWorker : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT;
|
|
|
|
public:
|
|
|
|
CGALWorker();
|
|
|
|
virtual ~CGALWorker();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void start(const class Tree &tree);
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void work();
|
|
|
|
|
|
|
|
signals:
|
2013-12-22 10:43:08 +04:00
|
|
|
void done(shared_ptr<const class Geometry>);
|
2011-12-26 02:00:30 +04:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
class QThread *thread;
|
|
|
|
const class Tree *tree;
|
|
|
|
};
|