3 #include <dis6/EntityID.h> 4 #include <dis6/EntityID.h> 5 #include <dis6/EventID.h> 6 #include <dis6/Vector3Float.h> 7 #include <dis6/Vector3Float.h> 8 #include <dis6/Vector3Float.h> 9 #include <dis6/EntityInformationFamilyPdu.h> 10 #include <dis6/utils/DataStream.h> 11 #include <dis6/opendis6_export.h> 75 virtual void marshal(
DataStream& dataStream)
const;
76 virtual void unmarshal(
DataStream& dataStream);
79 const EntityID& getIssuingEntityID()
const;
80 void setIssuingEntityID(
const EntityID &pX);
83 const EntityID& getCollidingEntityID()
const;
84 void setCollidingEntityID(
const EntityID &pX);
87 const EventID& getCollisionEventID()
const;
88 void setCollisionEventID(
const EventID &pX);
91 void setPad(
short pX);
97 float getMass()
const;
98 void setMass(
float pX);
104 float getCollisionResultXX()
const;
105 void setCollisionResultXX(
float pX);
107 float getCollisionResultXY()
const;
108 void setCollisionResultXY(
float pX);
110 float getCollisionResultXZ()
const;
111 void setCollisionResultXZ(
float pX);
113 float getCollisionResultYY()
const;
114 void setCollisionResultYY(
float pX);
116 float getCollisionResultYZ()
const;
117 void setCollisionResultYZ(
float pX);
119 float getCollisionResultZZ()
const;
120 void setCollisionResultZZ(
float pX);
126 float getCoefficientOfRestitution()
const;
127 void setCoefficientOfRestitution(
float pX);
130 virtual int getMarshalledSize()
const;
Vector3Float _location
Location with respect to entity the issuing entity collided with.
Definition: CollisionElasticPdu.h:44
float _collisionResultXY
tensor values
Definition: CollisionElasticPdu.h:50
Symbolic names as defined in 5.1.4.
Definition: AcknowledgePdu.h:8
float _collisionResultYZ
tensor values
Definition: CollisionElasticPdu.h:59
float _coefficientOfRestitution
This field shall represent the degree to which energy is conserved in a collision.
Definition: CollisionElasticPdu.h:68
a class to support managing a network buffer.
Definition: DataStream.h:28
float _collisionResultZZ
tensor values
Definition: CollisionElasticPdu.h:62
float _collisionResultXZ
tensor values
Definition: CollisionElasticPdu.h:53
float _mass
mass of issuing entity
Definition: CollisionElasticPdu.h:41
EventID _collisionEventID
ID of event.
Definition: CollisionElasticPdu.h:32
Vector3Float _unitSurfaceNormal
This record shall represent the normal vector to the surface at the point of collision detection...
Definition: CollisionElasticPdu.h:65
EntityID _collidingEntityID
ID of entity that has collided with the issuing entity ID.
Definition: CollisionElasticPdu.h:29
EntityID _issuingEntityID
ID of the entity that issued the collision PDU.
Definition: CollisionElasticPdu.h:26
float _collisionResultXX
tensor values
Definition: CollisionElasticPdu.h:47
Definition: Vector3Float.h:15
Definition: EntityID.h:15
Vector3Float _contactVelocity
velocity at collision
Definition: CollisionElasticPdu.h:38
float _collisionResultYY
tensor values
Definition: CollisionElasticPdu.h:56
Definition: CollisionElasticPdu.h:22
short _pad
some padding
Definition: CollisionElasticPdu.h:35