/usr/include/ossim/imaging/ossimGeoAnnotationSource.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 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: See LICENSE.txt file in the top level directory.
//
// Author: Garrett Potts
//
//*******************************************************************
// $Id: ossimGeoAnnotationSource.h 9094 2006-06-13 19:12:40Z dburken $
#ifndef ossimGeoAnnotationSource_HEADER
#define ossimGeoAnnotationSource_HEADER
#include <iostream>
#include <ossim/imaging/ossimAnnotationSource.h>
#include <ossim/base/ossimViewInterface.h>
class ossimGeoAnnotationObject;
class ossimProjection;
class OSSIM_DLL ossimGeoAnnotationSource :
public ossimAnnotationSource,
public ossimViewInterface
{
public:
friend std::ostream& operator <<(std::ostream& out, const ossimGeoAnnotationSource& rhs);
ossimGeoAnnotationSource(ossimProjection* projection=NULL,
bool ownsProjectionFlag=false);
ossimGeoAnnotationSource(ossimImageSource* inputSource,
ossimProjection* projection=NULL,
bool ownsProjectionFlag=false);
virtual ~ossimGeoAnnotationSource();
/*!
* Will add an object to the list.
* it will own the object added. If the
* object is not geographic
*/
virtual bool addObject(ossimAnnotationObject* anObject);
virtual void computeBoundingRect();
virtual void transformObjects(ossimProjection* projection=0);
virtual void setProjection(ossimProjection* projection,
bool ownsProjectionFlag=false);
virtual bool setView(ossimObject* baseObject,
bool ownsTheView = false);
virtual bool getImageGeometry(ossimKeywordlist& kwl,
const char* prefix=0);
virtual ossimObject* getView();
virtual const ossimObject* getView()const;
/**
* Saves the current state of this object.
*/
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
/**
* Method to the load (recreate) the state of an object from a keyword
* list. Return true if ok or false on error.
*/
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
protected:
ossimProjection* theProjection;
bool theOwnsProjectionFlag;
void removeProjection();
TYPE_DATA
};
#endif
|