![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 #ifndef _ENTITYSTATEP_H_ 00007 #define _ENTITYSTATEP_H_ 1 00008 00013 00014 #include <vlpi/NetStructs.h> 00015 #include "pduHeader.h" 00016 00017 typedef struct DtNetDeadReckonParameters 00018 { 00019 DtNetU8 DtAlgorithm; 00020 DtNet8Bits unused_8; 00021 DtNet16Bits unused_16; 00022 DtNet32Bits unused_32; 00023 DtNet64Bits unused_64; 00024 DtNetLinearVelocity DtAcceleration; 00025 DtNetAngularVelocity DtAngularVel; 00026 } DtNetDeadReckonParameters; 00027 00028 typedef DtNetU32 DtNetEntityAppearance; 00029 typedef DtNetU32 DtNetEntityCapabilities; 00030 00031 /* per Document IST-CR-93-15 Section 5.4.3.1 */ 00032 typedef struct DtNetEntityStatePdu 00033 { 00034 DtNetPduHeader DtHeader; 00035 DtNetEntityIdentifier DtEntityId; 00036 DtNetU8 DtForceId; 00037 DtNetU8 DtNumArtParams; 00038 DtNetEntityType DtType; 00039 DtNetEntityType DtGuise; 00040 DtNetLinearVelocity DtVelocity; 00041 DtNetWorldCoordinates DtLocation; 00042 DtNetEulerAngles DtOrientation; 00043 DtNetEntityAppearance DtAppearance; 00044 DtNetDeadReckonParameters DtDeadReckonParms; 00045 DtNetEntityMarking DtMarking; 00046 DtNetEntityCapabilities DtCapabilities; 00047 #define DtMaxNumEsArtRecords 10 00048 DtNetArtPartRecord DtArtRecords[DtMaxNumEsArtRecords]; 00049 } DtNetEntityStatePdu; 00050 00051 #endif /* _ENTITYSTATEP_H_ */