VR-Link API Documentation for DIS
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/geodCoord.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 DtVector& 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 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)