OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimHgtRef.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: David Hicks
6 //
7 // Description: Height reference class.
8 //----------------------------------------------------------------------------
9 #ifndef ossimHgtRef_HEADER
10 #define ossimHgtRef_HEADER 1
11 
12 #include <ossim/base/ossimGpt.h>
14 #include <ossim/matrix/newmat.h>
15 #include <ossim/matrix/newmatap.h>
16 #include <ossim/matrix/newmatio.h>
18 {
19  AT_HGT = 0,
20  AT_DEM = 1
21 };
22 
23 
25 {
26 public:
27 
31  ossimHgtRef(HeightRefType_t cRefType);
32  ossimHgtRef(HeightRefType_t cRefType, const ossim_float64& atHgt);
33 
37  virtual ~ossimHgtRef();
38 
42  HeightRefType_t getHeightRefType() const {return theCurrentHeightRefType;}
43 
51  virtual ossim_float64 getRefHeight(const ossimGpt& pg) const;
52 
61  // virtual bool getSurfaceInfo
62  // (const ossimGpt& pg, ossimElevationAccuracyInfo& info) const;
63 
72  virtual bool getSurfaceCovMatrix
73  (const ossimGpt& pg, NEWMAT::Matrix& cov) const;
74 
84  virtual bool getSurfaceCovMatrix
85  (const ossim_float64 refCE,
86  const ossim_float64 refLE,
87  NEWMAT::Matrix& cov) const;
88 
98  bool getSurfaceNormalCovMatrix
99  (const ossimGpt& pg,
100  const NEWMAT::Matrix& surfCov,
101  NEWMAT::Matrix& normCov) const;
102 
110  virtual ossimColumnVector3d getLocalTerrainNormal(const ossimGpt& pg) const;
111 
112 
113 protected:
114 
115 private:
118 
119 };
120 
121 #endif /* #ifndef ossimHgtRef_HEADER */
ossim_float64 theCurrentRefHeight
Definition: ossimHgtRef.h:117
double ossim_float64
HeightRefType_t theCurrentHeightRefType
Definition: ossimHgtRef.h:116
#define OSSIM_DLL
HeightRefType_t getHeightRefType() const
Method to get height reference type (ellipsoid or DEM).
Definition: ossimHgtRef.h:42
HeightRefType_t
Definition: ossimHgtRef.h:17