OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimQuickbirdMetaData.h>
Public Member Functions | |
ossimQuickbirdMetaData () | |
default constructor More... | |
virtual | ~ossimQuickbirdMetaData () |
virtual destructor 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 () |
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 Quickbird metadata file. More... | |
bool | parseGEOData (const ossimFilename &data_file) |
Method to parse Quickbird rpc file. More... | |
bool | parseATTData (const ossimFilename &data_file) |
bool | parseEPHData (const ossimFilename &data_file) |
ossimString | getSatID () const |
bool | getEndOfLine (char *fileBuf, ossimString lineBeginning, const char *format, ossimString &name) |
const ossimIpt & | getImageSize () const |
bool | getMapProjectionKwl (const ossimFilename &imd_file, ossimKeywordlist &kwl) |
![]() | |
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 |
Private Attributes | |
ossimString | theGenerationDate |
ossimString | theBandId |
int | theBitsPerPixel |
ossimString | theSatID |
ossimString | theTLCDate |
ossim_float64 | theSunAzimuth |
ossim_float64 | theSunElevation |
ossim_float64 | theSatAzimuth |
ossim_float64 | theSatElevation |
int | theTDILevel |
std::vector< double > | theAbsCalFactors |
ossimString | theBandNameList |
ossimIpt | theImageSize |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 27 of file ossimQuickbirdMetaData.h.
ossimQuickbirdMetaData::ossimQuickbirdMetaData | ( | ) |
default constructor
Definition at line 32 of file ossimQuickbirdMetaData.cpp.
References ossimIpt::makeNan(), theAbsCalFactors, and theImageSize.
|
virtual |
void ossimQuickbirdMetaData::clearFields | ( | ) |
Definition at line 82 of file ossimQuickbirdMetaData.cpp.
References ossimIpt::makeNan(), theAbsCalFactors, theBandId, theBandNameList, theBitsPerPixel, theGenerationDate, theImageSize, theSatAzimuth, theSatElevation, theSatID, theSunAzimuth, theSunElevation, theTDILevel, and theTLCDate.
Referenced by loadState(), and open().
bool ossimQuickbirdMetaData::getEndOfLine | ( | char * | fileBuf, |
ossimString | lineBeginning, | ||
const char * | format, | ||
ossimString & | name | ||
) |
Definition at line 1047 of file ossimQuickbirdMetaData.cpp.
References ossimString::c_str().
const ossimIpt & ossimQuickbirdMetaData::getImageSize | ( | ) | const |
Definition at line 1077 of file ossimQuickbirdMetaData.cpp.
References theImageSize.
Referenced by ossimQbTileFilesHandler::computeImageRects().
bool ossimQuickbirdMetaData::getMapProjectionKwl | ( | const ossimFilename & | imd_file, |
ossimKeywordlist & | kwl | ||
) |
Definition at line 781 of file ossimQuickbirdMetaData.cpp.
Referenced by ossimQbTileFilesHandler::getImageGeometry().
ossimString ossimQuickbirdMetaData::getSatID | ( | ) | const |
Definition at line 776 of file ossimQuickbirdMetaData.cpp.
References theSatID.
Referenced by ossimQuickbirdRpcModel::parseMetaData().
|
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 213 of file ossimQuickbirdMetaData.cpp.
References ossimKeywordNames::AZIMUTH_ANGLE_KW, clearFields(), ossimKeywordNames::ELEVATION_ANGLE_KW, ossimKeywordlist::find(), ossimString::split(), theAbsCalFactors, theBandId, theBandNameList, theBitsPerPixel, theGenerationDate, theSatAzimuth, theSatElevation, theSatID, theSunAzimuth, theSunElevation, theTDILevel, theTLCDate, ossimString::toDouble(), ossimString::toFloat64(), ossimString::toInt(), and ossimKeywordNames::TYPE_KW.
Referenced by ossimQuickbirdRpcModel::loadState().
bool ossimQuickbirdMetaData::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 56 of file ossimQuickbirdMetaData.cpp.
References clearFields(), parseMetaData(), and ossimFilename::setExtension().
Referenced by ossimQbTileFilesHandler::computeImageRects(), and ossimQuickbirdRpcModel::parseMetaData().
bool ossimQuickbirdMetaData::parseATTData | ( | const ossimFilename & | data_file | ) |
Definition at line 771 of file ossimQuickbirdMetaData.cpp.
bool ossimQuickbirdMetaData::parseEPHData | ( | const ossimFilename & | data_file | ) |
Definition at line 760 of file ossimQuickbirdMetaData.cpp.
bool ossimQuickbirdMetaData::parseGEOData | ( | const ossimFilename & | data_file | ) |
Method to parse Quickbird rpc file.
metadata | File name usually in the form of ".GEO.txt" |
Definition at line 749 of file ossimQuickbirdMetaData.cpp.
bool ossimQuickbirdMetaData::parseMetaData | ( | const ossimFilename & | metadata | ) |
Method to parse Quickbird metadata file.
metadata | File name usually in the form of ".IMD." |
Definition at line 336 of file ossimQuickbirdMetaData.cpp.
Referenced by open().
|
virtual |
Generic print method.
Derived classes should re-implement as they see fit.
Reimplemented from ossimObject.
Definition at line 99 of file ossimQuickbirdMetaData.cpp.
References theAbsCalFactors, theBandId, theBandNameList, theBitsPerPixel, theGenerationDate, theImageSize, theSatAzimuth, theSatElevation, theSatID, theSunAzimuth, theSunElevation, theTDILevel, and theTLCDate.
|
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 128 of file ossimQuickbirdMetaData.cpp.
References ossimKeywordlist::add(), ossimKeywordNames::AZIMUTH_ANGLE_KW, ossimKeywordNames::ELEVATION_ANGLE_KW, ossimString::split(), theAbsCalFactors, theBandId, theBandNameList, theBitsPerPixel, theGenerationDate, theSatAzimuth, theSatElevation, theSatID, theSunAzimuth, theSunElevation, theTDILevel, theTLCDate, and ossimKeywordNames::TYPE_KW.
Referenced by ossimQuickbirdRpcModel::saveState().
|
private |
Definition at line 125 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), ossimQuickbirdMetaData(), print(), and saveState().
|
private |
Definition at line 116 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 126 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 117 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 115 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 127 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), getImageSize(), ossimQuickbirdMetaData(), and print().
|
private |
Definition at line 122 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 123 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 118 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), getSatID(), loadState(), print(), and saveState().
|
private |
Definition at line 120 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 121 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 124 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().
|
private |
Definition at line 119 of file ossimQuickbirdMetaData.h.
Referenced by clearFields(), loadState(), print(), and saveState().