This file is indexed.

/usr/include/ossim/projection/ossimPpjFrameSensor.h is in libossim-dev 2.2.2-1.

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
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
//
// Author:  Dave Hicks
//
// Description:  PPJ Frame Model
//
//*******************************************************************
//  $Id$
#ifndef ossimPpjFrameSensor_HEADER
#define ossimPpjFrameSensor_HEADER 1
#include <ossim/projection/ossimSensorModel.h>

class OSSIM_DLL ossimPpjFrameSensor : public ossimSensorModel
{
public:
   ossimPpjFrameSensor();

   ossimPpjFrameSensor(const ossimPpjFrameSensor& src);

   virtual ossimObject* dup()const;
   
   virtual void imagingRay(const ossimDpt& image_point,
                           ossimEcefRay&   image_ray) const;
   
   virtual void lineSampleToWorld(const ossimDpt& image_point,
                                 ossimGpt&       worldPoint) const;
   
   virtual void lineSampleHeightToWorld(const ossimDpt& image_point,
                                const double&   heightEllipsoid,
                                ossimGpt&       worldPoint) const;

   virtual void worldToLineSample(const ossimGpt& world_point,
                                  ossimDpt&       image_point) const;

   virtual void updateModel();
   
   void setFocalLength(double focX, double focY);

   void setCameraPosition(const ossimGpt& value);
   
   void setPrincipalPoint(const ossimDpt& value);

   void setecef2CamMatrix(const NEWMAT::Matrix& value);
   void setAveragePrjectedHeight(double averageProjectedHeight);

   inline virtual bool useForward()const {return true;}
   
   virtual void initAdjustableParameters();
   virtual bool loadState(const ossimKeywordlist& kwl, const char* prefix=0);
   virtual bool saveState(ossimKeywordlist& kwl, const char* prefix=0)const;
   
protected:
   NEWMAT::Matrix m_ecef2Cam;
   NEWMAT::Matrix m_ecef2CamInverse;
   ossimDpt       m_principalPoint;   // pixels
   double         m_focalLengthX;     // pixels
   double         m_focalLengthY;     // pixels
   double         m_focalLength;      // pixels
   ossimEcefPoint m_ecefCameraPosition;
   ossimGpt       m_cameraPositionEllipsoid;

   // Not used yet
   double         m_radialK1;
   double         m_radialK2;
   double         m_radialP1;
   double         m_radialP2;
   
   ossimGpt       m_adjustedCameraPosition;
   double         m_adjustedFocalLength;
   double         m_averageProjectedHeight;
   TYPE_DATA
};

#endif /* #ifndef ossimPpjFrameSensor_HEADER */