mirror of https://github.com/vitalif/openscad
29 lines
367 B
C++
29 lines
367 B
C++
#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
|