VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
examples
exampleThreadedDriver
DtExampleSimEngine.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2013 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtEntityIndicatorWidget.h
>
13
#include <
vrvCore/DtSelectionManager.h
>
14
#include <
vrvCore/DtEntityInfoWidget.h
>
15
16
#include <
vrvUtil/DtSignalConnectionManager.h
>
17
#include <
vrvUtil/DtUnicode.h
>
18
19
#include <matrix/vlTaitBryan.h>
20
#include <matrix/vlVector.h>
21
22
#include <string>
23
24
namespace
makVrv
25
{
26
class
DtEntity3dFacade;
27
class
DtEntityHATLineFacade;
28
}
29
30
class
DtExampleSimulationConnection
;
31
46
class
DtExampleSimEngine
47
{
48
public
:
49
52
DtExampleSimEngine
(
DtExampleSimulationConnection
& connection );
53
55
virtual
~DtExampleSimEngine
();
56
60
bool
init
();
61
64
bool
uninit
();
65
69
bool
tick
(
double
simTime );
70
71
protected
:
73
74
75
76
77
78
void
slot_toggleLabelPinnedState
(
const
makVrv::DtSelectionManager::IdSet
& sel );
80
81
83
virtual
void
setHoverSignalsActive
(
bool
active );
84
86
virtual
void
setEntityInfoWidgetActive
(
bool
active );
87
89
virtual
makVrv::DtUnicode
generateInfoString
()
const
;
90
92
virtual
void
updatePosition
(
double
simTime );
93
95
virtual
void
repositionAircraft
(
DtVector
position, DtTaitBryan ori );
96
97
protected
:
98
DtExampleSimulationConnection
&
mySimulationConnection
;
99
100
makVrv::DtEntity3dFacade
*
myEntityFacade
;
101
makVrv::DtEntityIndicatorWidget
*
myEntityIndicator
;
102
makVrv::DtEntityInfoWidget
*
myEntityInfoWidget
;
103
makVrv::DtEntityHATLineFacade
*
myEntityHATLineFacade
;
104
105
std::string
myEntityDisplayName
;
106
bool
myEntityInfoWidgetPinnedFlag
;
107
108
DtTaitBryan
myOrientation
;
109
DtVector
myPosition
;
110
111
DtVector
myOrbitCenter
;
112
double
myAngularVelocity
;
113
114
double
myLastCommLineTime
;
115
double
myLastUpdateTime
;
116
double
myClockAngle
;
117
double
myHeading
;
118
double
myRadius
;
119
double
myRoll
;
120
makVrv::DtSignalConnectionManager
mySignalConnections
;
121
};
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)