VR-Forces 5.0.1 Developer's Guide
 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 
11 class Coordinate_System;
13 
14 #pragma once
15 
17 #include "vrfobjcore/simObject.h"
18 #include <matrix/vlVector.h>
19 
20 namespace makVrf
21 {
22  class DtFrameData;
23  class DtArticulatedPartStateRepository;
24 }
25 
40 
44 
48 
50 
53 DT_DLL_vrfmodel double headingToPointWrtBody(const DtVector& localTargetPoint,
54  const DtVector& localPosition, const DtDcm& localOrientationMatrix);
55 
58 DT_DLL_vrfmodel double headingToPointWrtBody(const DtVector& localTargetPoint,
59  const DtSimObject* entity);
60 
67 DT_DLL_vrfmodel double headingToPointWrtPart(const DtVector& localTargetPoint,
68  const makVrf::DtArticulatedPartStateRepository* part, const DtVector& localOriginLocation);
69 
72 DT_DLL_vrfmodel double elevationToPointWrtBody(const DtVector& localTargetPoint,
73  const DtVector& localPosition, const DtDcm& localOrientationMatrix);
74 
77 DT_DLL_vrfmodel double elevationToPointWrtBody(const DtVector& localTargetPoint,
78  const DtSimObject* entity);
79 
81 DT_DLL_vrfmodel double elevationToPointWrtPart(const DtVector& localTargetPoint,
82  const makVrf::DtArticulatedPartStateRepository* part, const DtVector& localOriginLocation);
83 
86  const DtSimObject* targetEntity, const Coordinate_System* coordSys, double heightFraciont = 0.);
87 
DT_DLL_vrfmodel double headingToPointWrtPart(const DtVector &localTargetPoint, const makVrf::DtArticulatedPartStateRepository *part, const DtVector &localOriginLocation)
Determines the heading direction to a point (local coordinates), With Respect To a coordinate system ...
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DT_DLL_vrfmodel double partHeadingWrtBody(const makVrf::DtArticulatedPartStateRepository *part)
Determines the part heading (yaw) angle With Respect To the body of the entity, including all articul...
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...
Definition: simObjectStateRepository.h:59
DT_DLL_vrfmodel DtVector targetLocationOnEntity(const DtVector &localShooterLoc, const DtSimObject *targetEntity, const Coordinate_System *coordSys, double heightFraciont=0.)
Determines the point to target on an opposing entity.
Definition: coordSystem.h:54
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:79
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:40
DT_DLL_vrfmodel double partElevationWrtBody(const makVrf::DtArticulatedPartStateRepository *part)
These elevation and heading functions assume a constrained configuration of articulated parts on the ...
DT_DLL_vrfmodel double elevationToPointWrtPart(const DtVector &localTargetPoint, const makVrf::DtArticulatedPartStateRepository *part, const DtVector &localOriginLocation)
Similar to headingToPointWrtPart, but for elevation.
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)