/usr/include/ossim/imaging/ossimGeographicAnnotationGrid.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 | #ifndef ossimGeographicAnnotationGrid_HEADER
#define ossimGeographicAnnotationGrid_HEADER
#include <ossim/imaging/ossimAnnotationObject.h>
#include <ossim/base/ossimGpt.h>
#include <ossim/base/ossimGrect.h>
#include <ossim/base/ossimDrect.h>
class ossimMapProjection;
class ossimGeographicAnnotationGrid : public ossimAnnotationObject
{
public:
ossimGeographicAnnotationGrid();
virtual void draw(ossimRgbImage& anImage)const;
/*!
* We need to know what projection the view
* and we need to know the bounding rect for
* the view in geographic space. The bounding
* rect is there for an area of interest.
*/
virtual void setViewProjectionInformation(ossimMapProjection* projection,
const ossimGrect& boundingGroundRect);
virtual void getBoundingRect(ossimDrect& rect)const;
virtual void computeBoundingRect();
virtual std::ostream& print(std::ostream& out)const;
protected:
/*!
* Holds the view projection.
*/
ossimRefPtr<ossimMapProjection> theViewProjection;
ossimGrect theGroundRect;
/*!
* This will be computed based on the bounding
* ground and projection.
*/
ossimDrect theBoundingRect;
/*!
* Will hold the spacing of the grid cells in
* geographic lat lon change.
*/
double theDeltaLatSpacing;
double theDeltaLonSpacing;
};
#endif
|