VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aimUtils.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
12 class DtVrfObject;
13 class Coordinate_System;
15 
16 #pragma once
17 
19 #include <matrix/vlVector.h>
20 
35 
39  const DtVrfObject* entity);
40 
44  const DtVrfObject* entity);
45 
47 
50 DT_DLL_vrfmodel double headingToPointWrtBody(const DtVector& localTargetPoint,
51  const DtVector& localPosition, const DtDcm& localOrientationMatrix);
52 
55 DT_DLL_vrfmodel double headingToPointWrtBody(const DtVector& localTargetPoint,
56  const DtVrfObject* entity);
57 
64 DT_DLL_vrfmodel double headingToPointWrtPart(const DtVector& localTargetPoint,
65  const DtArticulatedPartStateRepository* part, const DtVector& localOriginLocation);
66 
69 DT_DLL_vrfmodel double elevationToPointWrtBody(const DtVector& localTargetPoint,
70  const DtVector& localPosition, const DtDcm& localOrientationMatrix);
71 
74 DT_DLL_vrfmodel double elevationToPointWrtBody(const DtVector& localTargetPoint,
75  const DtVrfObject* entity);
76 
78 DT_DLL_vrfmodel double elevationToPointWrtPart(const DtVector& localTargetPoint,
79  const DtArticulatedPartStateRepository* part, const DtVector& localOriginLocation);
80 
83  const DtVrfObject* targetEntity, const Coordinate_System* coordSys, double heightFraciont = 0.);
84 
#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 ...

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)