/usr/include/ossim/projection/ossimNitfMapModel.h is in libossim-dev 1.7.21-4.
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 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// AUTHOR: Doug Shibla (dshibla@imagelinks.com)
//
// DESCRIPTION:
//
//*****************************************************************************
// $Id: ossimNitfMapModel.h 9968 2006-11-29 14:01:53Z gpotts $
#ifndef ossimNitfMapModel_HEADER
#define ossimNitfMapModel_HEADER
#include <ossim/projection/ossimSensorModel.h>
#include <ossim/base/ossimFilename.h>
#include <ossim/base/ossimGpt.h>
#include <ossim/base/ossimDpt.h>
#include <iostream>
class ossimString;
class ossimMapProjection;
class OSSIMDLLEXPORT ossimNitfMapModel : public ossimSensorModel
{
public:
/*!
* CONSTRUCTORS:
*/
ossimNitfMapModel();
ossimNitfMapModel(const ossimFilename& init_file);
ossimNitfMapModel(const ossimKeywordlist& geom_kwl);
virtual ~ossimNitfMapModel();
/*!
* Returns pointer to a new instance, copy of this.
*/
virtual ossimObject* dup() const { return 0; } // TBR
/*!
* Extends base-class implementation. Dumps contents of object to ostream.
*/
virtual std::ostream& print(std::ostream& out) const;
/*!
* Fulfills ossimObject base-class pure virtuals. Loads and saves geometry
* KWL files. Returns true if successful.
*/
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0) const;
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
/*!
* Writes a template of geom keywords processed by loadState and saveState
* to output stream.
*/
static void writeGeomTemplate(ostream& os);
//***
// Overrides base class pure virtual.
//***
virtual void lineSampleHeightToWorld(const ossimDpt& image_point,
const double& heightEllipsoid,
ossimGpt& worldPoint) const;
/*!
* ossimOptimizableProjection
*/
inline virtual bool useForward()const {return false;} //!image to ground faster
protected:
TYPE_DATA
};
#endif
|