OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimIkonosMetaData.h>
Public Member Functions | |
ossimIkonosMetaData () | |
default constructor More... | |
bool | open (const ossimFilename &imageFile) |
Open method that takes the image file, derives the metadata, header and rpc files, then calls parse methods parseMetaData, parseHdrData, and parseRpcData. More... | |
void | clearFields () |
ossimString | getSensorID () const |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
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... | |
bool | parseMetaData (const ossimFilename &metadata) |
Method to parse Ikonos metadata file. More... | |
bool | parseHdrData (const ossimFilename &data_file) |
Method to parse Ikonos header file. More... | |
bool | parseRpcData (const ossimFilename &data_file) |
Method to parse Ikonos rpc file. More... | |
![]() | |
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 | 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 |
Protected Member Functions | |
virtual | ~ossimIkonosMetaData () |
virtual destructor More... | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 27 of file ossimIkonosMetaData.h.
ossimIkonosMetaData::ossimIkonosMetaData | ( | ) |
default constructor
Definition at line 30 of file ossimIkonosMetaData.cpp.
|
protectedvirtual |
void ossimIkonosMetaData::clearFields | ( | ) |
Definition at line 116 of file ossimIkonosMetaData.cpp.
References theAcquisitionDate, theAcquisitionTime, theBandName, theNominalCollectionAzimuth, theNominalCollectionElevation, theNumBands, theProductionDate, theSensorID, theSunAzimuth, and theSunElevation.
Referenced by loadState(), and open().
ossimString ossimIkonosMetaData::getSensorID | ( | ) | const |
|
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 218 of file ossimIkonosMetaData.cpp.
References ossimKeywordNames::AZIMUTH_ANGLE_KW, clearFields(), ossimKeywordNames::ELEVATION_ANGLE_KW, ossimKeywordlist::find(), ossimKeywordNames::NUMBER_BANDS_KW, theAcquisitionDate, theAcquisitionTime, theBandName, theNominalCollectionAzimuth, theNominalCollectionElevation, theNumBands, theProductionDate, theSensorID, theSunAzimuth, theSunElevation, ossimString::toFloat64(), ossimString::toUInt32(), and ossimKeywordNames::TYPE_KW.
Referenced by ossimIkonosRpcModel::loadState().
bool ossimIkonosMetaData::open | ( | const ossimFilename & | imageFile | ) |
Open method that takes the image file, derives the metadata, header and rpc files, then calls parse methods parseMetaData, parseHdrData, and parseRpcData.
imageFile | Usually in the form of "po_2619900_pan_0000000.tif". |
Definition at line 49 of file ossimIkonosMetaData.cpp.
References clearFields(), ossimFilename::fileNoExtension(), and ossimString::split().
Referenced by ossimIkonosRpcModel::parseTiffFile().
bool ossimIkonosMetaData::parseHdrData | ( | const ossimFilename & | data_file | ) |
Method to parse Ikonos header file.
metadata | File name usually in the form of "po_149875_pan_0000000.hdr" |
Definition at line 506 of file ossimIkonosMetaData.cpp.
bool ossimIkonosMetaData::parseMetaData | ( | const ossimFilename & | metadata | ) |
Method to parse Ikonos metadata file.
metadata | File name usually in the form of "po_149875_metadata.txt." |
Definition at line 310 of file ossimIkonosMetaData.cpp.
bool ossimIkonosMetaData::parseRpcData | ( | const ossimFilename & | data_file | ) |
Method to parse Ikonos rpc file.
metadata | File name usually in the form of "po_149875_pan_0000000_rpc.txt" |
Definition at line 596 of file ossimIkonosMetaData.cpp.
|
virtual |
Generic print method.
Derived classes should re-implement as they see fit.
Reimplemented from ossimObject.
Definition at line 130 of file ossimIkonosMetaData.cpp.
References theAcquisitionDate, theAcquisitionTime, theBandName, theNominalCollectionAzimuth, theNominalCollectionElevation, theNumBands, theProductionDate, theSensorID, theSunAzimuth, and theSunElevation.
|
virtual |
Method to save the state of the object to a keyword list.
Return true if ok or false on error.
Reimplemented from ossimObject.
Definition at line 156 of file ossimIkonosMetaData.cpp.
References ossimKeywordlist::add(), ossimKeywordNames::AZIMUTH_ANGLE_KW, ossimKeywordNames::ELEVATION_ANGLE_KW, ossimKeywordNames::NUMBER_BANDS_KW, theAcquisitionDate, theAcquisitionTime, theBandName, theNominalCollectionAzimuth, theNominalCollectionElevation, theNumBands, theProductionDate, theSensorID, theSunAzimuth, theSunElevation, and ossimKeywordNames::TYPE_KW.
Referenced by ossimIkonosRpcModel::saveState().
|
private |
Definition at line 113 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 114 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 111 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 106 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 107 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 110 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 112 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 115 of file ossimIkonosMetaData.h.
Referenced by clearFields(), getSensorID(), loadState(), print(), and saveState().
|
private |
Definition at line 108 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 109 of file ossimIkonosMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().