/usr/include/ossim/imaging/ossimVpfAnnotationSource.h is in libossim-dev 1.7.21-3ubuntu2.
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 | #ifndef ossimVpfAnnotationSource_HEADER
#define ossimVpfAnnotationSource_HEADER
#include <ossim/vec/ossimVpfDatabase.h>
#include <ossim/imaging/ossimImageHandler.h>
#include <ossim/base/ossimIrect.h>
#include <ossim/imaging/ossimGeoAnnotationSource.h>
#include <ossim/projection/ossimProjection.h>
#include <ossim/imaging/ossimVpfAnnotationLibraryInfo.h>
class ossimVpfAnnotationFeatureInfo;
class ossimVpfAnnotationSource : public ossimGeoAnnotationSource
{
public:
ossimVpfAnnotationSource();
virtual ~ossimVpfAnnotationSource();
virtual bool open();
virtual bool open(const ossimFilename& file);
virtual bool isOpen()const;
virtual void close();
virtual ossimFilename getFilename()const;
virtual void computeBoundingRect();
virtual void transformObjects(ossimProjection* projection=0);
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=NULL)const;
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=NULL);
virtual void drawAnnotations(ossimRefPtr<ossimImageData> tile);
virtual void getAllFeatures(std::vector<ossimVpfAnnotationFeatureInfo*>& features);
virtual void setAllFeatures(const std::vector<ossimVpfAnnotationFeatureInfo*>& features);
protected:
ossimVpfDatabase theDatabase;
ossimFilename theFilename;
std::vector<ossimVpfAnnotationLibraryInfo*> theLibraryInfo;
std::vector<ossimVpfAnnotationFeatureInfo*> theFeatureList;
void deleteAllLibraries();
bool openDatabase(const ossimFilename& file);
};
#endif
|