mirror of https://github.com/vitalif/openscad
27 lines
353 B
C++
27 lines
353 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include "memory.h"
|
|
|
|
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(shared_ptr<const class Geometry>);
|
|
|
|
protected:
|
|
|
|
class QThread *thread;
|
|
const class Tree *tree;
|
|
};
|