VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
backendIntervisibilityChecker.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
#pragma once
6
7
#include <
vrfGuiCore/vrfGuiCore.h
>
8
#include <
vrfGuiCore/vrfExtendedIntervisibilitySettings.h
>
9
#include <
vrvUtil/DtSignalConnectionManager.h
>
10
#include <vlutil/vlString.h>
11
#include <matrix/vlVector.h>
12
#include <
vrvCore/DtUniqueID.h
>
13
#include <
vrfmsgs/ifIntersectionInformationResponse.h
>
14
15
namespace
makVrv
16
{
17
class
DtDe;
18
}
19
20
class
DtSimMessage
;
21
22
namespace
makVrf
23
{
24
class
DtBackendLineOfSightManager;
25
28
class
DT_DLL_VRFGUICORE
DtBackendIntervisibilityChecker
29
{
30
public
:
31
DtBackendIntervisibilityChecker
(
makVrv::DtDe
&,
const
std::string& type);
32
33
virtual
~
DtBackendIntervisibilityChecker
();
34
35
struct
IntersectionPoint
36
{
37
bool
hasLineOfSight
;
38
DtVector
intersectionPoint
;
39
DtVector
startPoint
;
40
DtVector
endPoint
;
41
DtString
userData
;
42
};
43
44
typedef
std::vector<IntersectionPoint>
IntersectionPoints
;
45
46
virtual
const
IntersectionPoints
& intersections()
const
;
47
48
protected
:
49
virtual
bool
canCheckBackend()
const
;
50
virtual
bool
needsRequestForBackendLineOfSight(
const
DtVector
& startPoint,
const
DtVector
& endPoint,
bool
* retStartingTimeRequest = 0,
bool
useRegardlessOfBackendStatus =
false
);
51
virtual
void
slot_optionsChanged(
makVrv::DtUniqueID
,
DtVrfExtendedIntervisibilitySettingsData::IntervisibilitySettings
);
52
virtual
bool
backendUpdateReady();
53
virtual
void
requestLineOfSightCheck(
const
DtVector
& start,
const
DtVector
& end);
54
virtual
void
processLineOfSightResponse(
makVrv::DtUniqueID
,
const
DtIfIntersectionInformationResponse::IntersectionPairInformation
&);
55
virtual
void
processedBackendData();
56
virtual
bool
shouldWaitForServer()
const
;
57
60
virtual
makVrv::DtUniqueID
lineOfSightKey()
const
= 0;
61
62
protected
:
63
makVrv::DtDe
&
myCheckerDe
;
64
makVrv::DtSignalConnectionManager
myCheckerConnections
;
65
DtVrfExtendedIntervisibilitySettingsData::IntervisibilitySettings
myIntersectionSettings
;
66
bool
myBackendUpdateReady
;
67
DtBackendLineOfSightManager
&
myLineOfSightManager
;
68
69
bool
myOptionsChanged
;
70
71
IntersectionPoints
myIntersectionPoints
;
72
73
makVrv::DtUniqueID
myLineOfSightId
;
74
};
75
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)