VR-Vantage 3.1.1 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rfxUtil.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
8 #include "radarFxServer/export.h"
9 
11 
12 #include <matrix/vlVector.h>
13 #include <matrix/vlQuaternion.h>
14 
15 #include <string>
16 
17 namespace makVrv
18 {
19 class DtDe;
20 class DtObserver;
21  class DtCoordinateSystem;
22 class DtSceneObject;
23 }
24 
25 namespace makRadarFx
26 {
27 
31 {
32  public:
35  virtual ~DtEntityHelper();
36 
38  makVrv::DtSceneObject *lookupEntitySceneObject(const std::string& globalId);
39 
41  DtVector lookupEntityLocation(const std::string& globalId);
42 
44  DtTaitBryan lookupEntityOrientation(const std::string& globalId);
45 
46  DtVector32 lookupEntityVelocity(const std::string& globalId);
47 
50  DtQuaternion orientToVector(DtVector cigStart, DtVector cigEnd);
51 
54  double degreesToTarget(std::string& globalId, DtVector cigEnd);
55 
58  double degreesToTarget(DtVector cigStart, DtVector cigEnd);
59 
60  double getHeading(makVrv::DtObserver* obs);
61  protected:
63  virtual void slot_coordinateSystemChanged();
64 
65  protected:
68 
71  makVrv::DtCoordinateSystem* myCoordinateSystem = nullptr;
72 };
73 }
The DtEntityHelper is a helper class for gathering information about simulation entites from VR-Vanta...
Definition: rfxUtil.h:30
makVrv::DtSignalConnectionManager myConnections
Definition: rfxUtil.h:67
makVrv::DtDe & myDe
Definition: rfxUtil.h:66
A facade for a DtObserverObject.
Definition: DtObserver.h:37
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition: DtCoordinateSystem.h:40
#define DT_DLL_RFXSERVER
Definition: include/radarFxServer/export.h:15
Base class to provide boost signal/slot management.
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition: DtSceneObject.h:44
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:72


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)