This file is indexed.

/usr/include/ossim/elevation/ossimHgtRef.h is in libossim-dev 1.8.16-4ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
//----------------------------------------------------------------------------
//
// License:  See top level LICENSE.txt file.
//
// Author:  David Hicks
//
// Description: Height reference class.
//----------------------------------------------------------------------------
#ifndef ossimHgtRef_HEADER
#define ossimHgtRef_HEADER 1

#include <ossim/base/ossimGpt.h>
#include <ossim/base/ossimColumnVector3d.h>
#include <ossim/matrix/newmat.h>
#include <ossim/matrix/newmatap.h>
#include <ossim/matrix/newmatio.h>
enum HeightRefType_t
{
   AT_HGT = 0,
   AT_DEM = 1
};


class OSSIM_DLL ossimHgtRef
{
public:

   /**
    * @brief constructor.
    */
   ossimHgtRef(HeightRefType_t cRefType);
   ossimHgtRef(HeightRefType_t cRefType, const ossim_float64& atHgt);

   /**
    * @brief virtual destructor.
    */
   virtual ~ossimHgtRef();
   
   /**
    * @brief Method to get height reference type (ellipsoid or DEM).
    */
   HeightRefType_t getHeightRefType() const {return theCurrentHeightRefType;}
   
   /**
    * @brief Method to get height reference.
    *
    * @param pg Reference point.
    *
    * @return Height at reference point.
    */
   virtual ossim_float64 getRefHeight(const ossimGpt& pg) const;
   
   /**
    * @brief Method to get surface information string.
    *
    * @param pg   Reference point.
    * @param info ossimElevationAccuracyInfo string.
    *
    * @return true on success, false on error.
    */
  // virtual bool getSurfaceInfo
  //    (const ossimGpt& pg, ossimElevationAccuracyInfo& info) const;
   
   /**
    * @brief Method to get surface covariance matrix.
    *
    * @param pg  Reference point.
    * @param cov 3X3 ENU covariance matrix.
    *
    * @return true on success, false on error.
    */
   virtual bool getSurfaceCovMatrix
      (const ossimGpt& pg, NEWMAT::Matrix& cov) const;
   
   /**
    * @brief Method to get surface covariance matrix.
    *
    * @param refCE  Reference surface 90% CE [m]
    * @param refLE  Reference surface 90% LE [m]
    * @param cov    3X3 ENU covariance matrix.
    *
    * @return true on success, false on error.
    */
   virtual bool getSurfaceCovMatrix
      (const ossim_float64   refCE, 
       const ossim_float64   refLE,
             NEWMAT::Matrix& cov) const;
   
   /**
    * @brief Method to get surface normal covariance matrix.
    *
    * @param pg      Reference point.
    * @param surfCov 3X3 ENU surface covariance matrix.
    * @param normCov 3X3 ECF normal covariance matrix.
    *
    * @return true on success, false on error.
    */
   bool getSurfaceNormalCovMatrix
      (const ossimGpt&       pg, 
       const NEWMAT::Matrix& surfCov, 
             NEWMAT::Matrix& normCov) const;
   
   /**
    * @brief Method to get local terrain normal unit vector (slope).
    *
    * @param pg Reference point.
    *
    * @return ossimColumnVector3D.
    */
   virtual ossimColumnVector3d getLocalTerrainNormal(const ossimGpt& pg) const;


protected:

private:
   HeightRefType_t theCurrentHeightRefType;
   ossim_float64 theCurrentRefHeight;

};

#endif /* #ifndef ossimHgtRef_HEADER */