Revision 1457,
582 bytes
checked in by bittner, 18 years ago
(diff) |
thread updates
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #include <QApplication>
|
---|
2 |
|
---|
3 | #include "QtPreprocessorThread.h"
|
---|
4 | #include "Camera.h"
|
---|
5 | #include "KdTree.h"
|
---|
6 | #include "SceneGraph.h"
|
---|
7 | #include "Preprocessor.h"
|
---|
8 |
|
---|
9 |
|
---|
10 | namespace GtpVisibilityPreprocessor {
|
---|
11 |
|
---|
12 |
|
---|
13 | QtPreprocessorThread::QtPreprocessorThread(Preprocessor *p,
|
---|
14 | QObject *parent):PreprocessorThread(p),
|
---|
15 | QThread(parent)
|
---|
16 |
|
---|
17 | {
|
---|
18 | if (p->mQuitOnFinish)
|
---|
19 | connect(this, SIGNAL(finished()), qApp, SLOT(closeAllWindows(void)));
|
---|
20 | }
|
---|
21 |
|
---|
22 |
|
---|
23 | QtPreprocessorThread::~QtPreprocessorThread()
|
---|
24 | {
|
---|
25 | cerr<<"Preprocessor thread destructor...\n";
|
---|
26 | }
|
---|
27 |
|
---|
28 | }
|
---|
29 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.