VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
geodeticRegion.h
Go to the documentation of this file.
1 //********************************************************************
4 //********************************************************************
5 //********************************************************************
7 //********************************************************************
8 
9 #ifndef geodeticRegion_H_
10 #define geodeticRegion_H_
11 
12 
13 
14 #if DtHLA
15 
16 #include "region.h"
17 #include <vlutil/vlExceptions.h>
18 #include <matrix/geodeticCoord.h>
19 #include <vlutil/vlTime.h>
20 #include <matrix/coordTransform.h>
21 
25 
26 class DT_DLL_VL DtGeodeticRegion;
27 
28 typedef DtBoost::shared_ptr<DtGeodeticRegion> DtGeodeticRegionSP;
29 
38 class DT_DLL_VL DtGeodeticRegion : public DtDDMRegion
39 {
40 public:
48  DtGeodeticRegion(DtExerciseConn* exConn);
49 
55  DtGeodeticRegion(DtExerciseConn* exConn,
56  const std::vector<DtString>& dimensionNamesVector);
57 
63  DtGeodeticRegion(DtExerciseConn* conn,
64  const std::vector<DtString>& dimensionNamesVector,
65  const DtGeodeticCoord& ddmPlayboxLowerBound,
66  const DtGeodeticCoord& ddmPlayboxUpperBound);
67 
69  virtual ~DtGeodeticRegion();
70 
73  virtual void setRegionBounds(const DtGeodeticCoord& lowerBound,
74  const DtGeodeticCoord& upperBound);
75 
78  virtual void setRegionBounds(const DtVector& point, double metersNorth,
79  double metersEast);
80 
86  virtual void setApproximateUpdateTime(DtTime updateTime);
87 
90  virtual DtTime approximateUpdateTime() const;
91 
94  virtual void updateRegionWithVelocity(const DtVector& geocentricPosition,
95  const DtVector32& geocentricVelocity);
96 
99  virtual bool needToUpdateRegion(const DtVector& geocentricPosition) const;
100 
101 protected:
103  DtGeodeticRegion(const DtGeodeticRegion& orig);
104 
106  const DtGeodeticRegion& operator=(const DtGeodeticRegion& orig);
107 
108 protected:
109  DtGeodeticNormalizer* myNormalizer;
110  DtTime myApproximateUpdateTime;
111 
113  double myNorthSouthThreshold;
114  double myEastWestThreshold;
115 
118  DtVector myLastLocation;
119 
122  DtCoordTransform myLastGeocToTopoTransform;
123 
124 
125 };
126 
127 #endif
128 
129 #endif
130 
This file declares vlException.
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtClock and DtTime.
This file provides a definition of GeodeticCoords and several helper functions.
Instances of DtGeodeticCoord are used to explicitly represent Geodetic coordinates.
Definition: geodeticCoord.h:30
DtCoordTransform is used to transform locations, vectors and orientations from one Cartesian coordina...
Definition: coordTransform.h:29
Definition: vlVector.h:224
Definition: vlVector.h:162
This file provides a declaration for DtCoordTransform.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)