/usr/include/ossim/imaging/ossimImageGeometryFactory.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 | //*****************************************************************************
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Description: Class declaration of ossimImageGeometryFactory.
//
//*****************************************************************************
// $Id$
#ifndef ossimImageGeometryFactory_HEADER
#define ossimImageGeometryFactory_HEADER 1
#include <ossim/imaging/ossimImageGeometryFactoryBase.h>
class ossim2dTo2dTransform;
class ossimNitfTileSource;
class ossimProjection;
class OSSIM_DLL ossimImageGeometryFactory : public ossimImageGeometryFactoryBase
{
public:
static ossimImageGeometryFactory* instance();
virtual ossimImageGeometry* createGeometry(const ossimString& typeName)const;
virtual ossimImageGeometry* createGeometry(const ossimKeywordlist& kwl,
const char* prefix=0)const;
virtual ossimImageGeometry* createGeometry(const ossimFilename& filename,
ossim_uint32 entryIdx)const;
virtual bool extendGeometry(ossimImageHandler* handler)const;
virtual void getTypeNameList(std::vector<ossimString>& typeList)const;
/**
* This is a utility method used by crateGeoemtry that takes an image handler
*/
virtual ossim2dTo2dTransform* createTransform(ossimImageHandler* handler)const;
/**
* @brief Utility method to create a projection from an image handler.
* @param handler The image handler to create projection from.
* @return Pointer to an ossimProjection on success, null on error.
*/
virtual ossimProjection* createProjection(ossimImageHandler* handler) const;
protected:
ossimImageGeometryFactory();
virtual ossim2dTo2dTransform* createTransformFromNitf(ossimNitfTileSource* handler)const;
static ossimImageGeometryFactory* m_instance;
};
#endif
|