VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhave3DGui
bhavePdgThread.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
6
#pragma once
7
8
#include <
bhave3DGui/bhave3DGuiDefines.h
>
9
#include <
vrvUtil/signalslib.h
>
10
#include <QtCore/QThread>
11
#include <QtCore/QMutex>
12
#include <QtCore/QWaitCondition>
13
14
#include <
bhavePathDataGen/extentBoxStruct.h
>
15
16
namespace
BHAVE
17
{
18
namespace
BHAVE3DGui
19
{
20
class
DT_DLL_bhave3DGui
DtBhavePdgThread
:
public
QThread
21
{
22
Q_OBJECT
23
24
public
:
25
explicit
DtBhavePdgThread
(
QObject
*parent = 0);
26
27
~
DtBhavePdgThread
();
28
31
virtual
void
run();
32
33
virtual
void
startGeneration();
34
virtual
bool
isGenerating();
35
36
virtual
void
setLoadedTerrain(
const
std::string& terrainName);
37
virtual
std::string loadedTerrain();
38
39
virtual
void
setExtent(
const
DtExtentBoxStruct
& extent);
40
41
virtual
void
setGeocentric(
bool
isGeocentric);
42
43
signals:
44
void
finishedGenerating(
int
result);
45
46
protected
:
48
virtual
void
generatePathdata();
49
50
protected
:
51
std::string
myLoadedTerrain
;
52
QMutex
myTerrainLock
;
53
DtExtentBoxStruct
myExtent
;
54
QMutex
myExtentLock
;
55
QWaitCondition
myGeneratingPDG
;
56
QMutex
myGeneratingPDGLock
;
57
bool
myIsGenerating
;
58
bool
myIsGeocentric
;
59
};
60
61
}
62
}
63
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)