19 #include <matrix/vlVector.h>
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DT_DLL_vrfmodel double headingToPointWrtPart(const DtVector &localTargetPoint, const DtArticulatedPartStateRepository *part, const DtVector &localOriginLocation)
Determines the heading direction to a point (local coordinates), With Respect To a coordinate system ...
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DT_DLL_vrfmodel double elevationToPointWrtPart(const DtVector &localTargetPoint, const DtArticulatedPartStateRepository *part, const DtVector &localOriginLocation)
Similar to headingToPointWrtPart, but for elevation.
DT_DLL_vrfmodel double elevationToPointWrtBody(const DtVector &localTargetPoint, const DtVector &localPosition, const DtDcm &localOrientationMatrix)
Determines the elevation, with respect to the body coordinates of an entity at the given position wit...
The DtSimObjectStateRepository is an abstract base class (ABC) for all state repositories.
Definition: simObjectStateRepository.h:46
DT_DLL_vrfmodel double partElevationWrtBody(const DtArticulatedPartStateRepository *part, const DtVrfObject *entity)
These elevation and heading functions assume a constrained configuration of articulated parts on the ...
DT_DLL_vrfmodel DtVector targetLocationOnEntity(const DtVector &localShooterLoc, const DtVrfObject *targetEntity, const Coordinate_System *coordSys, double heightFraciont=0.)
Determines the point to target on an opposing entity.
Definition: coordSystem.h:54
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:29
DT_DLL_vrfmodel double partHeadingWrtBody(const DtArticulatedPartStateRepository *part, const DtVrfObject *entity)
Determines the part heading (yaw) angle With Respect To the body of the entity, including all articul...
const DtDcm & localOrientationMatrix() const
const DtVector & localPosition() const
Convenience methods for accessing corresponding methods in DtVrfKinematicState.
DT_DLL_vrfmodel double headingToPointWrtBody(const DtVector &localTargetPoint, const DtVector &localPosition, const DtDcm &localOrientationMatrix)
Determines the heading, with respect to the body coordinates of an entity at the given position with ...