VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
terrainAccessor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
7 #include "matrix/vlVector.h"
8 class DtPhysicalWorld;
9 class DtCoordTransform;
10 
22 
24 {
25 public:
26  DtTerrainAccessor(const DtPhysicalWorld& physicalWorld, DtVector coordTransformOriginLocal);
28 
29  bool checkLineOfSight(DtVector fromLocal, DtVector toLocal) const;
30  bool checkLineOfFire(DtVector fromLocal, DtVector toLocal) const;
31  double elevationAtPoint(DtVector pointLocal) const;
32  DtVector localToTopo(DtVector pointLocal) const;
33  DtVector topoToLocal(double topoX, double topoY, double heightAboveGround = 0) const;
34 
35 private:
37  DtCoordTransform* myTopoToLocalX;
38  DtCoordTransform* myLocalToTopoX;
39 
41 };
DtCoordTransform * myTopoToLocalX
Definition: terrainAccessor.h:37
DtCoordTransform * myLocalToTopoX
Definition: terrainAccessor.h:38
double myTempOriginHeight
Definition: terrainAccessor.h:40
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:102
const DtPhysicalWorld & myPhysicalWorld
Definition: terrainAccessor.h:36
#define DT_DLL_terrainReasoning
This file is used to determine how to build.
Definition: terrainReasoningDefines.h:25
this class encapsulates all terrain queries made by DtTerrainReasoner. This keeps DtTerrainReasoner c...
Definition: terrainAccessor.h:23

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)