VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCigi
DtCigiIntersectionHandler.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2009 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtCigiIntersectionHandler.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
12
13
#ifndef DtCigiIntersectionHandler_H_
14
#define DtCigiIntersectionHandler_H_
15
16
#include <
vrvCigi/vrvCigi.h
>
17
18
#include <
vrvCore/DtUniqueID.h
>
19
20
#include <
vrvUtil/DtSignalConnectionManager.h
>
21
22
class
DtVector
;
23
24
namespace
makVrv
25
{
26
class
DtDe;
27
class
DtCigiDriver;
28
class
DtCigiConnection;
29
36
class
DT_DLL_VRVCIGI
DtCigiIntersectionHandler
37
{
38
public
:
40
DtCigiIntersectionHandler
(
DtDe
& de,
DtCigiDriver
& driver,
41
DtCigiConnection
& connection,
bool
usingThread);
42
44
virtual
~
DtCigiIntersectionHandler
();
45
46
protected
:
49
virtual
void
slot_onHatHotRequest(
DtUniqueID
entityId,
50
const
DtVector
& localPosition,
unsigned
int
hotId,
51
bool
hatRequested,
unsigned
int
lastHostFrameNumber);
52
66
virtual
void
performHatHotRequest(
DtUniqueID
entityId,
67
const
DtVector
& localPosition,
unsigned
int
hotId,
68
bool
hatRequested,
unsigned
int
lastHostFrameNumber);
69
72
virtual
void
slot_onLineOfSightRequest(
DtUniqueID
srcId,
73
const
DtVector
& srcLocation,
DtUniqueID
dstId,
74
const
DtVector
& dstLocation,
int
losId,
int
hostFrame);
75
91
virtual
void
performLineOfSightRequest(
DtUniqueID
srcId,
92
const
DtVector
& srcLocation,
DtUniqueID
dstId,
93
const
DtVector
& dstLocation,
int
losId,
int
hostFrame);
94
101
virtual
void
setDatabaseCoordinateFromEntity(
DtUniqueID
entity,
102
const
DtVector
& entityCoord,
DtVector
& databaseCoord);
103
108
virtual
double
groundHeight(
const
DtVector
& currentLocal,
bool
& foundIntersection);
109
110
protected
:
111
DtDe
&
myDe
;
112
DtCigiDriver
&
myDriver
;
113
DtSignalConnectionManager
myConnections
;
114
bool
myUseThreadFlag
;
115
};
116
}
117
118
#endif
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
)