OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimVpfAnnotationLibraryInfo.h>
Public Member Functions | |
ossimVpfAnnotationLibraryInfo (const ossimString &libraryName="", bool enabledFlag=true) | |
virtual | ~ossimVpfAnnotationLibraryInfo () |
bool | getEnabledFlag () const |
void | setEnabledFlag (bool flag) |
const ossimString & | getName () const |
void | setName (const ossimString &libraryName) |
void | setDatabase (ossimVpfDatabase *database) |
ossimVpfDatabase * | getDatabase () |
ossimIrect | getBoundingProjectedRect () const |
void | transform (ossimImageGeometry *geom) |
void | buildLibrary () |
void | buildLibrary (const ossimString &coverageName, const ossimString &feature) |
void | deleteAllCoverage () |
void | drawAnnotations (ossimRgbImage *tile) |
void | getAllFeatures (std::vector< ossimVpfAnnotationFeatureInfo *> &features) |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
Protected Attributes | |
ossimString | theName |
bool | theEnabledFlag |
ossimVpfDatabase * | theDatabase |
std::vector< ossimVpfAnnotationCoverageInfo * > | theCoverageLayerList |
Definition at line 11 of file ossimVpfAnnotationLibraryInfo.h.
ossimVpfAnnotationLibraryInfo::ossimVpfAnnotationLibraryInfo | ( | const ossimString & | libraryName = "" , |
bool | enabledFlag = true |
||
) |
Definition at line 23 of file ossimVpfAnnotationLibraryInfo.cpp.
|
virtual |
Definition at line 31 of file ossimVpfAnnotationLibraryInfo.cpp.
References deleteAllCoverage().
void ossimVpfAnnotationLibraryInfo::buildLibrary | ( | ) |
Definition at line 132 of file ossimVpfAnnotationLibraryInfo.cpp.
void ossimVpfAnnotationLibraryInfo::buildLibrary | ( | const ossimString & | coverageName, |
const ossimString & | feature | ||
) |
Definition at line 137 of file ossimVpfAnnotationLibraryInfo.cpp.
void ossimVpfAnnotationLibraryInfo::deleteAllCoverage | ( | ) |
Definition at line 190 of file ossimVpfAnnotationLibraryInfo.cpp.
References theCoverageLayerList.
Referenced by loadState(), and ~ossimVpfAnnotationLibraryInfo().
void ossimVpfAnnotationLibraryInfo::drawAnnotations | ( | ossimRgbImage * | tile | ) |
Definition at line 182 of file ossimVpfAnnotationLibraryInfo.cpp.
References theCoverageLayerList.
void ossimVpfAnnotationLibraryInfo::getAllFeatures | ( | std::vector< ossimVpfAnnotationFeatureInfo *> & | features | ) |
Definition at line 90 of file ossimVpfAnnotationLibraryInfo.cpp.
Referenced by ossimVpfAnnotationSource::loadState().
ossimIrect ossimVpfAnnotationLibraryInfo::getBoundingProjectedRect | ( | ) | const |
Definition at line 66 of file ossimVpfAnnotationLibraryInfo.cpp.
References ossimIrect::combine(), ossimIrect::hasNans(), ossimIrect::makeNan(), and theCoverageLayerList.
ossimVpfDatabase * ossimVpfAnnotationLibraryInfo::getDatabase | ( | ) |
Definition at line 61 of file ossimVpfAnnotationLibraryInfo.cpp.
References theDatabase.
bool ossimVpfAnnotationLibraryInfo::getEnabledFlag | ( | ) | const |
Definition at line 36 of file ossimVpfAnnotationLibraryInfo.cpp.
References theEnabledFlag.
const ossimString & ossimVpfAnnotationLibraryInfo::getName | ( | ) | const |
Definition at line 46 of file ossimVpfAnnotationLibraryInfo.cpp.
References theName.
|
virtual |
Definition at line 219 of file ossimVpfAnnotationLibraryInfo.cpp.
References deleteAllCoverage(), ossimKeywordlist::find(), ossimVpfDatabase::getLibrary(), ossimKeywordlist::getSubstringKeyList(), ossimVpfAnnotationCoverageInfo::loadState(), ossimVpfAnnotationCoverageInfo::setLibrary(), size, theCoverageLayerList, theDatabase, theName, ossimString::toInt(), and ossimString::toString().
Referenced by ossimVpfAnnotationSource::loadState().
|
virtual |
Definition at line 200 of file ossimVpfAnnotationLibraryInfo.cpp.
References ossimKeywordlist::add(), theCoverageLayerList, theName, and ossimString::toString().
void ossimVpfAnnotationLibraryInfo::setDatabase | ( | ossimVpfDatabase * | database | ) |
Definition at line 56 of file ossimVpfAnnotationLibraryInfo.cpp.
References theDatabase.
Referenced by ossimVpfAnnotationSource::loadState().
void ossimVpfAnnotationLibraryInfo::setEnabledFlag | ( | bool | flag | ) |
Definition at line 41 of file ossimVpfAnnotationLibraryInfo.cpp.
References theEnabledFlag.
void ossimVpfAnnotationLibraryInfo::setName | ( | const ossimString & | libraryName | ) |
Definition at line 51 of file ossimVpfAnnotationLibraryInfo.cpp.
References theName.
void ossimVpfAnnotationLibraryInfo::transform | ( | ossimImageGeometry * | geom | ) |
Definition at line 108 of file ossimVpfAnnotationLibraryInfo.cpp.
|
protected |
Definition at line 49 of file ossimVpfAnnotationLibraryInfo.h.
Referenced by deleteAllCoverage(), drawAnnotations(), getBoundingProjectedRect(), loadState(), and saveState().
|
protected |
Definition at line 48 of file ossimVpfAnnotationLibraryInfo.h.
Referenced by getDatabase(), loadState(), and setDatabase().
|
protected |
Definition at line 47 of file ossimVpfAnnotationLibraryInfo.h.
Referenced by getEnabledFlag(), and setEnabledFlag().
|
protected |
Definition at line 46 of file ossimVpfAnnotationLibraryInfo.h.
Referenced by getName(), loadState(), saveState(), and setName().