VR-Forces 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 
23 
25 {
26 public:
27  DtTerrainAccessor(const DtPhysicalWorld& physicalWorld, DtVector coordTransformOriginLocal);
29 
30  bool checkLineOfSight(DtVector fromLocal, DtVector toLocal) const;
31  bool checkLineOfFire(DtVector fromLocal, DtVector toLocal) const;
32  double elevationAtPoint(DtVector pointLocal) const;
33  DtVector localToTopo(DtVector pointLocal) const;
34  DtVector topoToLocal(double topoX, double topoY, double heightAboveGround = 0) const;
35 
36 private:
38  DtCoordTransform* myTopoToLocalX;
39  DtCoordTransform* myLocalToTopoX;
40 
42 };
DtCoordTransform * myTopoToLocalX
Definition: terrainAccessor.h:38
DtCoordTransform * myLocalToTopoX
Definition: terrainAccessor.h:39
double myTempOriginHeight
Definition: terrainAccessor.h:41
The DtPhysicalWorld is the primary interface to and manager of all of the "physical" aspects of the s...
Definition: physicalWorld.h:112
const DtPhysicalWorld & myPhysicalWorld
Definition: terrainAccessor.h:37
#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:24

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)