|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimGeoidManager.h>
Public Member Functions | |
| virtual | ~ossimGeoidManager () |
| virtual bool | open (const ossimFilename &dir, ossimByteOrder byteOrder) |
| Permits initialization of geoids from directory name. More... | |
| virtual double | offsetFromEllipsoid (const ossimGpt &gpt) |
| virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
| Method to save the state of the object to a keyword list. More... | |
| virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
| Method to the load (recreate) the state of the object from a keyword list. More... | |
| virtual void | addGeoid (ossimRefPtr< ossimGeoid > geoid, bool toFrontFlag=false) |
| Permits adding additional geoids to the list: More... | |
| ossimGeoid * | findGeoidByShortName (const ossimString &shortName, bool caseSensitive=true) |
| virtual void | clear () |
| Permits to clear the GeoidList. More... | |
Public Member Functions inherited from ossimGeoid | |
| ossimGeoid () | |
Public Member Functions inherited from ossimObject | |
| 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 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) |
Public Member Functions inherited from ossimReferenced | |
| 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 |
Public Member Functions inherited from ossimErrorStatusInterface | |
| ossimErrorStatusInterface () | |
| virtual | ~ossimErrorStatusInterface () |
| virtual ossimErrorCode | getErrorStatus () const |
| virtual ossimString | getErrorStatusString () const |
| virtual void | setErrorStatus (ossimErrorCode error_status) const |
| virtual void | setErrorStatus () const |
| virtual void | clearErrorStatus () const |
| bool | hasError () const |
| virtual std::ostream & | print (std::ostream &out) const |
| Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
Static Public Member Functions | |
| static ossimGeoidManager * | instance () |
| Implements singelton pattern: More... | |
Private Member Functions | |
| ossimGeoidManager () | |
| Private constructor. More... | |
Private Attributes | |
| std::vector< ossimRefPtr< ossimGeoid > > | theGeoidList |
| ossimRefPtr< ossimGeoid > | theIdentityGeoid |
Additional Inherited Members | |
Protected Member Functions inherited from ossimGeoid | |
| virtual | ~ossimGeoid () |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Protected Attributes inherited from ossimErrorStatusInterface | |
| ossimErrorCode | theErrorStatus |
Definition at line 26 of file ossimGeoidManager.h.
|
virtual |
Definition at line 54 of file ossimGeoidManager.cpp.
References clear().
|
private |
Private constructor.
Use "instance" method.
Definition at line 44 of file ossimGeoidManager.cpp.
References theIdentityGeoid.
|
virtual |
Permits adding additional geoids to the list:
Definition at line 94 of file ossimGeoidManager.cpp.
References theGeoidList.
|
virtual |
Permits to clear the GeoidList.
Definition at line 69 of file ossimGeoidManager.cpp.
References theGeoidList.
Referenced by ~ossimGeoidManager().
| ossimGeoid * ossimGeoidManager::findGeoidByShortName | ( | const ossimString & | shortName, |
| bool | caseSensitive = true |
||
| ) |
Definition at line 328 of file ossimGeoidManager.cpp.
References ossimString::downcase(), ossimRefPtr< T >::get(), ossimObject::getShortName(), theGeoidList, and theIdentityGeoid.
Referenced by ossimElevationDatabase::loadState().
|
static |
Implements singelton pattern:
Definition at line 78 of file ossimGeoidManager.cpp.
Referenced by ossimElevRemapper::elevRemap(), ossimElevManager::getHeightAboveEllipsoid(), ossimElevManager::getHeightAboveMSL(), ossimElevationDatabase::getOffsetFromEllipsoid(), ossimGpt::heightMSL(), ossimElevationDatabase::loadState(), ossimIpodSensor::loadState(), ossimSkyBoxLearSensor::loadState(), ossimSonomaSensor::loadState(), and ossimInfo::outputHeight().
|
virtual |
Method to the load (recreate) the state of the object from a keyword list.
Return true if ok or false on error.
Reimplemented from ossimObject.
Definition at line 116 of file ossimGeoidManager.cpp.
|
virtual |
Implements ossimGeoid.
Definition at line 313 of file ossimGeoidManager.cpp.
References ossim::isnan(), ossim::nan(), and theGeoidList.
Referenced by ossimElevRemapper::elevRemap(), ossimElevManager::getHeightAboveEllipsoid(), ossimElevManager::getHeightAboveMSL(), ossimElevationDatabase::getOffsetFromEllipsoid(), ossimGpt::heightMSL(), ossimIpodSensor::loadState(), ossimSkyBoxLearSensor::loadState(), ossimSonomaSensor::loadState(), and ossimInfo::outputHeight().
|
virtual |
Permits initialization of geoids from directory name.
Should never be called since called on specific geoid types:
Implements ossimGeoid.
Definition at line 296 of file ossimGeoidManager.cpp.
References ossim::byteOrder(), status, and theGeoidList.
|
virtual |
Method to save the state of the object to a keyword list.
Return true if ok or false on error. DO NOTHING
Reimplemented from ossimObject.
Definition at line 106 of file ossimGeoidManager.cpp.
|
mutableprivate |
Definition at line 84 of file ossimGeoidManager.h.
Referenced by addGeoid(), clear(), findGeoidByShortName(), offsetFromEllipsoid(), and open().
|
private |
Definition at line 88 of file ossimGeoidManager.h.
Referenced by findGeoidByShortName(), and ossimGeoidManager().
1.8.14