VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
10 #include <vlutil/vlString.h>
11 #include <matrix/vlVector.h>
12 #include <vrvCore/DtUniqueID.h>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 }
19 
20 class DtSimMessage;
21 
22 namespace makVrf
23 {
24  class DtBackendLineOfSightManager;
25 
29  {
30  public:
31  DtBackendIntervisibilityChecker(makVrv::DtDe&, const std::string& type);
32 
34 
36  {
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);
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:
68 
70 
72 
74  };
75 }
DtVector startPoint
Definition: backendIntervisibilityChecker.h:39
std::vector< IntersectionInformation > IntersectionPairInformation
Definition: ifIntersectionInformationResponse.h:109
makVrv::DtDe & myCheckerDe
Definition: backendIntervisibilityChecker.h:63
makVrv::DtSignalConnectionManager myCheckerConnections
Definition: backendIntervisibilityChecker.h:64
IntersectionPoints myIntersectionPoints
Definition: backendIntervisibilityChecker.h:71
bool myOptionsChanged
Definition: backendIntervisibilityChecker.h:69
DtVrfExtendedIntervisibilitySettingsData::IntervisibilitySettings myIntersectionSettings
Definition: backendIntervisibilityChecker.h:65
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
Overide that adds the ability to request information from the back-end for intervisibility checks...
Definition: backendLineOfSightManager.h:37
DtVector endPoint
Definition: backendIntervisibilityChecker.h:40
makVrv::DtUniqueID myLineOfSightId
Definition: backendIntervisibilityChecker.h:73
Definition: backendIntervisibilityChecker.h:35
File: simMsg.h.
Definition: simMessage.h:35
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
bool hasLineOfSight
Definition: backendIntervisibilityChecker.h:37
DtBackendLineOfSightManager & myLineOfSightManager
Definition: backendIntervisibilityChecker.h:67
Provide some functionality such that an intervisibility updater class can use this to determine when ...
Definition: backendIntervisibilityChecker.h:28
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
std::vector< IntersectionPoint > IntersectionPoints
Definition: backendIntervisibilityChecker.h:44
bool myBackendUpdateReady
Definition: backendIntervisibilityChecker.h:66
Definition: vrfExtendedIntervisibilitySettings.h:80
DtVector intersectionPoint
Definition: backendIntervisibilityChecker.h:38
DtString userData
Definition: backendIntervisibilityChecker.h:41

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)