OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class represents Scence coordinate. More...
#include <SceneCoord.h>
Public Member Functions | |
SceneCoord () | |
Constructor. More... | |
virtual | ~SceneCoord () |
Destructor. More... | |
SceneCoord (const SceneCoord &rhs) | |
Copy constructor. More... | |
SceneCoord & | operator= (const SceneCoord &rhs) |
Affectation operator. More... | |
bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
Method to save object state to a keyword list. More... | |
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 std::ostream & | print (std::ostream &out) const |
void | set_numberOfSceneCoord (const ossim_uint32 &numberOfSceneCoord) |
void | set_centerSceneCoord (const InfoSceneCoord ¢erSceneCoord) |
void | set_cornersSceneCoord (const std::vector< InfoSceneCoord > &cornersSceneCoord) |
Protected Attributes | |
ossim_uint32 | _numberOfSceneCoord |
Number of scene coordinate. More... | |
InfoSceneCoord | _centerSceneCoord |
Center scene coordinate. More... | |
std::vector< InfoSceneCoord > | _tabCornersSceneCoord |
Corners InfoIncidenceAngle. More... | |
This class represents Scence coordinate.
Definition at line 29 of file SceneCoord.h.
ossimplugins::SceneCoord::SceneCoord | ( | ) |
Constructor.
Definition at line 26 of file SceneCoord.cpp.
|
virtual |
ossimplugins::SceneCoord::SceneCoord | ( | const SceneCoord & | rhs | ) |
Copy constructor.
Definition at line 38 of file SceneCoord.cpp.
bool ossimplugins::SceneCoord::loadState | ( | const ossimKeywordlist & | kwl, |
const char * | prefix = 0 |
||
) |
Method to the load (recreate) the state of the object from a keyword list.
Return true if ok or false on error.
Definition at line 84 of file SceneCoord.cpp.
References _centerSceneCoord, _numberOfSceneCoord, _tabCornersSceneCoord, ossimString::c_str(), ossimKeywordlist::find(), ossimplugins::InfoSceneCoord::loadState(), ossimNotify(), ossimNotifyLevel_WARN, ossimString::toString(), and ossimString::toUInt32().
SceneCoord & ossimplugins::SceneCoord::operator= | ( | const SceneCoord & | rhs | ) |
Affectation operator.
Definition at line 46 of file SceneCoord.cpp.
References _centerSceneCoord, _numberOfSceneCoord, and _tabCornersSceneCoord.
|
virtual |
METHOD: print() Fulfills base-class pure virtual. Dumps contents of object to ostream.
Definition at line 139 of file SceneCoord.cpp.
References _centerSceneCoord, _numberOfSceneCoord, _tabCornersSceneCoord, ossimKeywordlist::add(), ossimString::c_str(), ossimplugins::InfoSceneCoord::saveState(), and ossimString::toString().
bool ossimplugins::SceneCoord::saveState | ( | ossimKeywordlist & | kwl, |
const char * | prefix = 0 |
||
) | const |
Method to save object state to a keyword list.
kwl | Keyword list to save to. |
prefix | added to keys when saved. |
Definition at line 58 of file SceneCoord.cpp.
References _centerSceneCoord, _numberOfSceneCoord, _tabCornersSceneCoord, ossimKeywordlist::add(), ossimString::c_str(), ossimplugins::InfoSceneCoord::saveState(), and ossimString::toString().
|
inline |
Definition at line 76 of file SceneCoord.h.
Referenced by ossimplugins::ossimTerraSarProductDoc::initSceneCoord().
|
inline |
Definition at line 80 of file SceneCoord.h.
Referenced by ossimplugins::ossimTerraSarProductDoc::initSceneCoord().
|
inline |
Definition at line 72 of file SceneCoord.h.
Referenced by ossimplugins::ossimTerraSarProductDoc::initSceneCoord().
|
protected |
Center scene coordinate.
Definition at line 94 of file SceneCoord.h.
Referenced by loadState(), operator=(), print(), and saveState().
|
protected |
Number of scene coordinate.
Definition at line 90 of file SceneCoord.h.
Referenced by loadState(), operator=(), print(), and saveState().
|
protected |
Corners InfoIncidenceAngle.
Definition at line 98 of file SceneCoord.h.
Referenced by loadState(), operator=(), print(), and saveState().