/usr/include/ossim/imaging/ossimVpfAnnotationCoverageInfo.h is in libossim-dev 1.8.16-3+b1.
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 | //*************************************************************************
// Copyright (C) 2004 Intelligence Data Systems, Inc. All rights reserved.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//**************************************************************************
// $Id: ossimVpfAnnotationCoverageInfo.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimVpfAnnotationCoverageInfo_HEADER
#define ossimVpfAnnotationCoverageInfo_HEADER
#include <ossim/imaging/ossimVpfAnnotationFeatureInfo.h>
#include <ossim/vec/ossimVpfCoverage.h>
class ossimVpfLibrary;
class ossimRgbImage;
class ossimVpfAnnotationCoverageInfo
{
public:
ossimVpfAnnotationCoverageInfo(const ossimString& name="")
:theName(name)
{
}
virtual ~ossimVpfAnnotationCoverageInfo()
{
deleteAllFeatures();
}
bool hasRenderableFeature()const;
void getEnabledFeatures(std::vector<ossimVpfAnnotationFeatureInfo*>& result);
void getAllFeatures(std::vector<ossimVpfAnnotationFeatureInfo*>& result);
void transform(ossimImageGeometry* geom);
ossimIrect getBoundingProjectedRect()const;
void buildCoverage();
void buildCoverage(const ossimString& feature);
void setName(const ossimString& name)
{
theName = name;
}
ossimString getName()const
{
return theName;
}
void setLibrary(ossimVpfLibrary* library)
{
theLibrary = library;
}
ossimVpfLibrary* getLibrary()
{
return theLibrary;
}
const ossimVpfLibrary* getLibrary()const
{
return theLibrary;
}
void drawAnnotations(ossimRgbImage* tile);
void deleteAllFeatures();
virtual bool saveState(ossimKeywordlist& kwl,
const char* prefix=0)const;
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
protected:
ossimString theName;
/*!
* Not owned.
*/
ossimVpfLibrary* theLibrary;
std::vector<ossimVpfAnnotationFeatureInfo*> theFeatureInfoArray;
};
#endif
|