RadarFX API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rfxUtil.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
8 #include "radarFxServer/export.h"
9 
10 #include <matrix/vlVector.h>
11 #include <matrix/vlQuaternion.h>
12 
13 #include <string>
14 
15 namespace makVrv
16 {
17 class DtDe;
18 class DtObserver;
19 class DtSceneObject;
20 }
21 
22 namespace makRadarFx
23 {
24 
28 {
29  public:
31  DtEntityHelper(makVrv::DtDe& de);
32  virtual ~DtEntityHelper();
33 
35  makVrv::DtSceneObject *lookupEntitySceneObject(const std::string& globalId);
36 
38  DtVector lookupEntityLocation(const std::string& globalId);
39 
41  DtTaitBryan lookupEntityOrientation(const std::string& globalId);
42 
43  DtVector32 lookupEntityVelocity(const std::string& globalId);
44 
47  DtQuaternion orientToVector(DtVector cigStart, DtVector cigEnd);
48 
51  double degreesToTarget(std::string& globalId, DtVector cigEnd);
52 
55  double degreesToTarget(DtVector cigStart, DtVector cigEnd);
56 
57  double getHeading(makVrv::DtObserver* obs);
58 
59  protected:
60  makVrv::DtDe& myDe;
61 };
62 }

Document ID: 1.0
Copyright © 2017 VT MAK Inc. All Rights Reserved (www.mak.com)