![]() |
VR-Forces Developer's Guide
|
DtContactReportSnapshot - Complete state of a contact report at a point in time. Contact reports represent perceived or detected contacts — entities observed by one or more simulation participants. Data is sourced from the spot-report perspective system (DtSpotReportByForceAndUuidPerspective).
Public Attributes | |
| std::string | uuid |
| std::string | contactUUID |
| double | originalTimeOfContact = 0.0 |
| double | lastTimeOfContact = 0.0 |
| std::array< double, 3 > | location = {0.0, 0.0, 0.0} |
| double | heading = 0.0 |
| double | speed = 0.0 |
| double | climbRate = 0.0 |
| DtEntityType | entityType |
| int | force = 0 |
| int | cidLevel = 0 |
| int | appearance = 0 |
| std::string | marking |
| std::string | sidc |
| std::vector< std::string > | observedBy |
| std::string DtDatasource::DtContactReportSnapshot::uuid |
Spot-report UUID (stable for the lifetime of the report)
| std::string DtDatasource::DtContactReportSnapshot::contactUUID |
UUID of the observed simulation object; empty when unknown.
| double DtDatasource::DtContactReportSnapshot::originalTimeOfContact = 0.0 |
Seconds since Unix epoch; from "OriginalTimeOfContact" dictionary entry (time contact was first observed)
| double DtDatasource::DtContactReportSnapshot::lastTimeOfContact = 0.0 |
Seconds since Unix epoch; from DtSpotReportStateComponentData::dateTimeOfReport()
| std::array<double, 3> DtDatasource::DtContactReportSnapshot::location = {0.0, 0.0, 0.0} |
[lat_deg, lon_deg, alt_m] WGS-84
| double DtDatasource::DtContactReportSnapshot::heading = 0.0 |
Compass bearing, degrees clockwise from North [0, 360)
| double DtDatasource::DtContactReportSnapshot::speed = 0.0 |
Total 3D speed in m/s (magnitude of ECEF velocity)
| double DtDatasource::DtContactReportSnapshot::climbRate = 0.0 |
Vertical velocity in m/s (positive = ascending)
| DtEntityType DtDatasource::DtContactReportSnapshot::entityType |
Perceived entity type (from "PerceivedType" dictionary entry)
| int DtDatasource::DtContactReportSnapshot::force = 0 |
Perceived DIS force (0=Unknown, 1=Friendly, 2=Opposing, 3=Neutral)
| int DtDatasource::DtContactReportSnapshot::cidLevel = 0 |
Combat Identification Level (DtCIDLevelType): 0=NoDetection, 1=Detected, 2=Classified, 3=Identified, 4=FullKnowledge.
| int DtDatasource::DtContactReportSnapshot::appearance = 0 |
Perceived DIS appearance bits (from "PerceivedAppearance" dictionary entry)
| std::string DtDatasource::DtContactReportSnapshot::marking |
Human-readable label.
| std::string DtDatasource::DtContactReportSnapshot::sidc |
MIL-STD-2525 Symbol ID Code.
| std::vector<std::string> DtDatasource::DtContactReportSnapshot::observedBy |
UUIDs of entities currently observing this contact.