VR-Vantage
Loading...
Searching...
No Matches
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
9
11
12#include <matrix/vlVector.h>
13#include <matrix/vlQuaternion.h>
14
15#include <string>
16
17namespace makVrv
18{
19class DtDe;
20class DtObserver;
22class DtSceneObject;
23}
24
25namespace 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
61 protected:
64
65 protected:
68
72};
73}
Base class to provide boost signal/slot management.
DtVector32 lookupEntityVelocity(const std::string &globalId)
virtual void slot_coordinateSystemChanged()
slot for when the coordinate system changes
DtTaitBryan lookupEntityOrientation(const std::string &globalId)
find an entities orientation given its global simulation ID
double getHeading(makVrv::DtObserver *obs)
makVrv::DtSceneObject * lookupEntitySceneObject(const std::string &globalId)
find an entities sceneObject given its global simulation ID
makVrv::DtDe & myDe
Definition rfxUtil.h:66
DtEntityHelper(makVrv::DtDe &de)
CTOR/DTOR.
DtQuaternion orientToVector(DtVector cigStart, DtVector cigEnd)
Determine the quaternion to rotate from one vector to another. this function assumes the database u...
double degreesToTarget(std::string &globalId, DtVector cigEnd)
determines the heading in degrees from an entity given by its global simulation ID to a point in data...
makVrv::DtSignalConnectionManager myConnections
Definition rfxUtil.h:67
double degreesToTarget(DtVector cigStart, DtVector cigEnd)
determines the heading in degrees from an database coordinate to a point in database coordinates.
makVrv::DtCoordinateSystem * myCoordinateSystem
Definition rfxUtil.h:71
DtVector lookupEntityLocation(const std::string &globalId)
find an entities location given its global simulation ID
The DtCoordinateSystem is used to manage the current coordinate system of the scene.
Definition DtCoordinateSystem.h:41
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer,...
Definition DtDe.h:77
A facade for a DtObserverObject.
Definition DtObserver.h:39
A DtSceneObject represents an object that can be positioned in the scene by (possibly) attaching it t...
Definition DtSceneObject.h:45
Class to manage disconnection of boost connections on deletion.
Definition DtSignalConnectionManager.h:21
#define DT_DLL_RFXSERVER
Definition include/radarFxServer/export.h:15
Definition radarFxConnector.h:28
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16