/usr/include/ossim/projection/ossimImageProjectionModel.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 | //-----------------------------------------------------------------------------
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: David Burken
//
// Description: Class declaration of ossimImageProjectionModel.
//
//-----------------------------------------------------------------------------
// $Id$
#ifndef ossimImageProjectionModel_HEADER
#define ossimImageProjectionModel_HEADER 1
#include <ossim/base/ossimConstants.h>
#include <ossim/base/ossimRtti.h>
#include <ossim/imaging/ossimImageModel.h>
class ossimProjection;
/**
* @brief Class derived from ossimImageModel, this adds an image projection
* for lineSampleToWorld and worldToLineSample.
*
* Note that image points fed to projection methods should be full
* resolution with any sub image offset applied.
*/
class OSSIM_DLL ossimImageProjectionModel : public ossimImageModel
{
public:
/** @brief default constructor */
ossimImageProjectionModel();
/**
* @brief Method to initialize class from an image handler.
*
* @param ih Image handler.
*/
virtual void initialize(const ossimImageHandler& ih);
/**
* @brief Method to get projection.
*
* @return Constant pointer to projection or 0 if not initialized.
*/
const ossimProjection* getProjection() const;
protected:
/** @brief virtual destructor */
virtual ~ossimImageProjectionModel();
ossimProjection* theProjection;
TYPE_DATA
};
#endif /* #ifndef ossimImageProjectionModel_HEADER */
|