The DtEntityHelper is a helper class for gathering information about simulation entites from VR-Vantage.
More...
Public Member Functions |
| | DtEntityHelper (makVrv::DtDe &de) |
| | CTOR/DTOR.
|
| virtual | ~DtEntityHelper () |
| makVrv::DtSceneObject * | lookupEntitySceneObject (const std::string &globalId) |
| | find an entities sceneObject given its global simulation ID
|
| DtVector | lookupEntityLocation (const std::string &globalId) |
| | find an entities location given its global simulation ID
|
| DtTaitBryan | lookupEntityOrientation (const std::string &globalId) |
| | find an entities orientation given its global simulation ID
|
| DtVector32 | lookupEntityVelocity (const std::string &globalId) |
| DtQuaternion | orientToVector (DtVector cigStart, DtVector cigEnd) |
| | Determine the quaternion to rotate from one vector to another.
|
| 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 database coordinates.
|
| double | degreesToTarget (DtVector cigStart, DtVector cigEnd) |
| | determines the heading in degrees from an database coordinate to a point in database coordinates.
|
| double | getHeading (makVrv::DtObserver *obs) |
Protected Attributes |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
| makVrv::DtCoordinateSystem * | myCoordinateSystem = nullptr |
| | local clone of the system wide coordinate system.
|
Detailed Description
The DtEntityHelper is a helper class for gathering information about simulation entites from VR-Vantage.
It has several helpful functions for determining rotation to targets
Constructor & Destructor Documentation
| makRadarFx::DtEntityHelper::DtEntityHelper |
( |
makVrv::DtDe & |
de | ) |
|
| virtual makRadarFx::DtEntityHelper::~DtEntityHelper |
( |
| ) |
|
|
virtual |
Member Function Documentation
| makVrv::DtSceneObject* makRadarFx::DtEntityHelper::lookupEntitySceneObject |
( |
const std::string & |
globalId | ) |
|
find an entities sceneObject given its global simulation ID
| DtVector makRadarFx::DtEntityHelper::lookupEntityLocation |
( |
const std::string & |
globalId | ) |
|
find an entities location given its global simulation ID
| DtTaitBryan makRadarFx::DtEntityHelper::lookupEntityOrientation |
( |
const std::string & |
globalId | ) |
|
find an entities orientation given its global simulation ID
| DtVector32 makRadarFx::DtEntityHelper::lookupEntityVelocity |
( |
const std::string & |
globalId | ) |
|
| DtQuaternion makRadarFx::DtEntityHelper::orientToVector |
( |
DtVector |
cigStart, |
|
|
DtVector |
cigEnd |
|
) |
| |
Determine the quaternion to rotate from one vector to another.
this function assumes the database up as the up direction for the vectors.
| double makRadarFx::DtEntityHelper::degreesToTarget |
( |
std::string & |
globalId, |
|
|
DtVector |
cigEnd |
|
) |
| |
determines the heading in degrees from an entity given by its global simulation ID to a point in database coordinates.
| double makRadarFx::DtEntityHelper::degreesToTarget |
( |
DtVector |
cigStart, |
|
|
DtVector |
cigEnd |
|
) |
| |
determines the heading in degrees from an database coordinate to a point in database coordinates.
| double makRadarFx::DtEntityHelper::getHeading |
( |
makVrv::DtObserver * |
obs | ) |
|
| virtual void makRadarFx::DtEntityHelper::slot_coordinateSystemChanged |
( |
| ) |
|
|
protectedvirtual |
slot for when the coordinate system changes
Member Data Documentation
| makVrv::DtDe& makRadarFx::DtEntityHelper::myDe |
|
protected |
| makVrv::DtSignalConnectionManager makRadarFx::DtEntityHelper::myConnections |
|
protected |
| makVrv::DtCoordinateSystem* makRadarFx::DtEntityHelper::myCoordinateSystem = nullptr |
|
protected |
local clone of the system wide coordinate system.
for thread safety.
The documentation for this class was generated from the following file: