VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
geodeticNormalizer.h
Go to the documentation of this file.
1 //********************************************************************
4 //********************************************************************
5 //********************************************************************
7 //********************************************************************
8 
9 #ifndef geodeticNormalizer_H_
10 #define geodeticNormalizer_H_
11 
12 #include <matrix/geodeticCoord.h>
13 
14 #if DtHLA
15 
19 
20 class DT_DLL_VL DtNormalizedVector
21 {
22 public:
24  DtNormalizedVector();
25 
27  virtual ~DtNormalizedVector();
28 
30  DtNormalizedVector(const DtNormalizedVector& orig);
31 
33  DtNormalizedVector& operator=(const DtNormalizedVector& orig);
34 
35  const unsigned long& operator[](int index) const;
36  unsigned long& operator[](int index);
37 
38 protected:
39  unsigned long myRep[3];
40 };
41 
42 class DT_DLL_VL DtNormalizedGeodeticVector : public DtNormalizedVector
43 {
44 public:
45  DtNormalizedGeodeticVector();
46 
47  virtual ~DtNormalizedGeodeticVector();
48 
49  DtNormalizedGeodeticVector(const DtNormalizedGeodeticVector& orig);
50 
51  DtNormalizedGeodeticVector& operator=(const DtNormalizedGeodeticVector& orig);
52 
53  virtual unsigned long lat();
54  virtual unsigned long lon();
55 };
56 
57 class DT_DLL_VL DtGeodeticNormalizer
58 {
59 public:
62  DtGeodeticNormalizer(
63 #ifdef DtHLA_1516
64  unsigned long latitudeUpperBound,
65  unsigned long longitudeUpperBound
66 #endif
67 );
68 
70  DtGeodeticNormalizer(
71 #ifdef DtHLA_1516
72  unsigned long latitudeUpperBound,
73  unsigned long longitudeUpperBound,
74 #endif
75  const DtGeodeticCoord& lowerPoint, const DtGeodeticCoord& upperPoint);
76 
78  virtual ~DtGeodeticNormalizer();
79 
81  DtGeodeticNormalizer(const DtGeodeticNormalizer& orig);
82 
84  DtGeodeticNormalizer& operator=(const DtGeodeticNormalizer& orig);
85 
87  virtual void normalize(const DtGeodeticCoord& vectorIn, DtNormalizedVector& vectorOut);
88 
89 protected:
90 #ifdef DtHLA_1516
91  unsigned long myMaxLatitudeBound;
92  unsigned long myMaxLongitudeBound;
93 #endif
94 
95  double myMinLatitude;
96  double myMaxLatitude;
97  double myMinLongitude;
98  double myMaxLongitude;
99 };
100 
101 #endif
102 
103 #endif
104 

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)