OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This is our default elevation factory in the ossim core. More...
#include <ossimElevationDatabaseFactory.h>
Public Member Functions | |
ossimElevationDatabaseFactory () | |
ossimElevationDatabase * | createDatabase (const ossimString &typeName) const |
ossimElevationDatabase * | createDatabase (const ossimKeywordlist &kwl, const char *prefix=0) const |
virtual ossimElevationDatabase * | open (const ossimString &connectionString) const |
virtual void | getTypeNameList (std::vector< ossimString > &typeList) const |
![]() | |
virtual ossimObject * | createObject (const ossimString &typeName) const |
Creates an object given a type name. More... | |
virtual ossimObject * | createObject (const ossimKeywordlist &kwl, const char *prefix=0) const |
Creates and object given a keyword list. More... | |
![]() | |
virtual | ~ossimObjectFactory () |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Static Public Member Functions | |
static ossimElevationDatabaseFactory * | instance () |
Static Protected Attributes | |
static ossimElevationDatabaseFactory * | m_instance = 0 |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
This is our default elevation factory in the ossim core.
It supports general_raster, general imagery, DTED and SRTM directory layouts.
Example DTED Keywordlist:
Note: only use memory_map_cells to true if they are small files. DTED0 is small so we set it to true. Where the dted file tree has the form: <rootdir>/w056/n49.dt0
Example General Raster directory:
where the directory is a flat directory with general raster files
Example SRTM directory:
where the directory has files of the form N39W112.hgt and are 1x1 degree cells
Example image directory format:
where the directory can have any image the ossim supports and is a flat directory
Definition at line 57 of file ossimElevationDatabaseFactory.h.
|
inline |
Definition at line 60 of file ossimElevationDatabaseFactory.h.
Referenced by instance().
|
virtual |
typeName | is the type name of the database you wish to create. |
Implements ossimElevationDatabaseFactoryBase.
Definition at line 20 of file ossimElevationDatabaseFactory.cpp.
References STATIC_TYPE_NAME.
Referenced by createDatabase().
|
virtual |
kwl | kewyord list that has state information about how to create a database |
prefix | prefix key to use when loading the state information. |
Implements ossimElevationDatabaseFactoryBase.
Definition at line 53 of file ossimElevationDatabaseFactory.cpp.
References createDatabase(), ossimString::empty(), ossimKeywordlist::find(), ossimElevationDatabase::loadState(), ossimRefPtr< T >::release(), ossimKeywordNames::TYPE_KW, and ossimRefPtr< T >::valid().
|
virtual |
typeList | appends to the typeList all the type names this factory supports |
Implements ossimObjectFactory.
Definition at line 106 of file ossimElevationDatabaseFactory.cpp.
References STATIC_TYPE_NAME.
|
static |
Definition at line 10 of file ossimElevationDatabaseFactory.cpp.
References m_instance, and ossimElevationDatabaseFactory().
Referenced by ossimElevationDatabaseRegistry::instance().
|
virtual |
connectionString | used to determine which database can support that connection. |
Implements ossimElevationDatabaseFactoryBase.
Definition at line 73 of file ossimElevationDatabaseFactory.cpp.
References ossimFilename::isFile(), ossimElevationDatabase::open(), and ossimRefPtr< T >::release().
|
staticprotected |
Definition at line 99 of file ossimElevationDatabaseFactory.h.
Referenced by instance().