|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimApplanixEOFile.h>
Public Member Functions | |
| ossimApplanixEOFile () | |
| bool | parseFile (const ossimFilename &file) |
| Will parse the entire Exterior orientation file and then index any record ID's found. More... | |
| bool | parseStream (ossim::istream &in) |
| Will parse the stream and set internal queriable parameters. More... | |
| bool | isEOFile (const ossimFilename &file) const |
| Utility method that just checks for an APPlanix exterior orientation header. More... | |
| bool | isEOFile (ossim::istream &in) const |
| Utility method that just checks for an APPlanix exterior orientation header. More... | |
| bool | parseHeader (const ossimFilename &file, ossimString &header) const |
| Parses the header of the exterior orientation file. More... | |
| bool | parseHeader (ossim::istream &in, ossimString &header) const |
| Parses the header of the exterior orientation file. More... | |
| ossim_int32 | getFieldIdxLike (const ossimString &searchKey) const |
| Is a case insensitive parse of the column names for the orientation record. More... | |
| ossim_int32 | getFieldIdx (const ossimString &searchKey) const |
| Is a case insensitive parse of the column names for the orientation record. More... | |
| void | indexRecordIds () |
| Will index all records based on the "ID #" field for fast searching. More... | |
| const ossimRefPtr< ossimApplanixEORecord > | getRecordGivenId (const ossimString &id) const |
| Given an ID it will search and find an EO record that matches the ID. More... | |
| ossim_uint32 | getNumberOfRecords () const |
| const ossimRefPtr< ossimApplanixEORecord > | getRecord (ossim_uint32 idx) const |
| bool | isHeightAboveMSL () const |
| bool | isEcefModel () const |
| bool | isUtmFrame () const |
| ossim_int32 | getUtmZone () const |
| ossimString | getUtmHemisphere () const |
| ossimString | getSbetField () const |
| double | getBoreSightTx () const |
| double | getBoreSightTy () const |
| double | getBoreSightTz () const |
| double | getLeverArmLx () const |
| double | getLeverArmLy () const |
| double | getLeverArmLz () const |
| double | getKardinalKappa () const |
| double | getShiftValuesX () const |
| double | getShiftValuesY () const |
| double | getShiftValuesZ () const |
| ossimString | getMappingFrameDatum () const |
| ossimString | getMappingFrameProjection () const |
| double | getMappingFrameCentralMeridian () const |
| double | getMappingFrameOriginLatitude () const |
| double | getMappingFrameGridScaleFactor () const |
| double | getMappingFrameFalseEasting () const |
| double | getMappingFrameFalseNorthing () const |
| ossimString | convertToOssimDatumCode (const ossimString &datum) const |
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 |
Friends | |
| OSSIM_DLL friend std::ostream & | operator<< (std::ostream &out, const ossimApplanixEOFile &src) |
Additional Inherited Members | |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Definition at line 53 of file ossimApplanixEOFile.h.
| ossimApplanixEOFile::ossimApplanixEOFile | ( | ) |
Definition at line 105 of file ossimApplanixEOFile.cpp.
References ossim::nan(), theMaxLat, theMaxLon, theMinLat, and theMinLon.
| ossimString ossimApplanixEOFile::convertToOssimDatumCode | ( | const ossimString & | datum | ) | const |
Definition at line 705 of file ossimApplanixEOFile.cpp.
References ossimString::upcase().
| double ossimApplanixEOFile::getBoreSightTx | ( | ) | const |
Definition at line 620 of file ossimApplanixEOFile.cpp.
References theBoreSightTx, and ossimString::toDouble().
| double ossimApplanixEOFile::getBoreSightTy | ( | ) | const |
Definition at line 625 of file ossimApplanixEOFile.cpp.
References theBoreSightTy, and ossimString::toDouble().
| double ossimApplanixEOFile::getBoreSightTz | ( | ) | const |
Definition at line 630 of file ossimApplanixEOFile.cpp.
References theBoreSightTz, and ossimString::toDouble().
| ossim_int32 ossimApplanixEOFile::getFieldIdx | ( | const ossimString & | searchKey | ) | const |
Is a case insensitive parse of the column names for the orientation record.
Note this will check to see if the search key exactly matches a column heading. So if a Heading has something like "ID MORE TEXT" then you can call this with just "ID MORE TEXT" to have a match
| searchKey | the substring to search for |
Definition at line 503 of file ossimApplanixEOFile.cpp.
References theRecordFormat, and ossimString::upcase().
Referenced by getRecordGivenId(), isEcefModel(), and isHeightAboveMSL().
| ossim_int32 ossimApplanixEOFile::getFieldIdxLike | ( | const ossimString & | searchKey | ) | const |
Is a case insensitive parse of the column names for the orientation record.
Note this will check to see if the search key is contained within any column heading. So if a Heading has something like "ID MORE TEXT" then you can call this with just "ID" and get a match
| searchKey | the substring to search for |
Definition at line 486 of file ossimApplanixEOFile.cpp.
References ossimString::contains(), theRecordFormat, and ossimString::upcase().
Referenced by indexRecordIds(), and isUtmFrame().
| double ossimApplanixEOFile::getKardinalKappa | ( | ) | const |
Definition at line 650 of file ossimApplanixEOFile.cpp.
References theKappaCardinal, and ossimString::toDouble().
| double ossimApplanixEOFile::getLeverArmLx | ( | ) | const |
Definition at line 635 of file ossimApplanixEOFile.cpp.
References theLeverArmLx, and ossimString::toDouble().
| double ossimApplanixEOFile::getLeverArmLy | ( | ) | const |
Definition at line 640 of file ossimApplanixEOFile.cpp.
References theLeverArmLy, and ossimString::toDouble().
| double ossimApplanixEOFile::getLeverArmLz | ( | ) | const |
Definition at line 645 of file ossimApplanixEOFile.cpp.
References theLeverArmLz, and ossimString::toDouble().
| double ossimApplanixEOFile::getMappingFrameCentralMeridian | ( | ) | const |
Definition at line 680 of file ossimApplanixEOFile.cpp.
References theCentralMeridian, and ossimString::toDouble().
| ossimString ossimApplanixEOFile::getMappingFrameDatum | ( | ) | const |
Definition at line 670 of file ossimApplanixEOFile.cpp.
References theMappingFrameDatum.
| double ossimApplanixEOFile::getMappingFrameFalseEasting | ( | ) | const |
Definition at line 695 of file ossimApplanixEOFile.cpp.
References theFalseEasting, and ossimString::toDouble().
| double ossimApplanixEOFile::getMappingFrameFalseNorthing | ( | ) | const |
Definition at line 700 of file ossimApplanixEOFile.cpp.
References theFalseNorthing, and ossimString::toDouble().
| double ossimApplanixEOFile::getMappingFrameGridScaleFactor | ( | ) | const |
Definition at line 690 of file ossimApplanixEOFile.cpp.
References theGridScaleFactor, and ossimString::toDouble().
| double ossimApplanixEOFile::getMappingFrameOriginLatitude | ( | ) | const |
Definition at line 685 of file ossimApplanixEOFile.cpp.
References theOriginLatitude, and ossimString::toDouble().
| ossimString ossimApplanixEOFile::getMappingFrameProjection | ( | ) | const |
Definition at line 675 of file ossimApplanixEOFile.cpp.
References theMappingFrameProjection.
| ossim_uint32 ossimApplanixEOFile::getNumberOfRecords | ( | ) | const |
Definition at line 555 of file ossimApplanixEOFile.cpp.
References theApplanixRecordList.
| const ossimRefPtr< ossimApplanixEORecord > ossimApplanixEOFile::getRecord | ( | ossim_uint32 | idx | ) | const |
Definition at line 560 of file ossimApplanixEOFile.cpp.
References theApplanixRecordList.
| const ossimRefPtr< ossimApplanixEORecord > ossimApplanixEOFile::getRecordGivenId | ( | const ossimString & | id | ) | const |
Given an ID it will search and find an EO record that matches the ID.
If the records are not indexed it will do a linear search on the record array.
| id | The id of the record to find. |
Definition at line 522 of file ossimApplanixEOFile.cpp.
References getFieldIdx(), theApplanixRecordList, and theRecordIdMap.
| ossimString ossimApplanixEOFile::getSbetField | ( | ) | const |
| double ossimApplanixEOFile::getShiftValuesX | ( | ) | const |
Definition at line 655 of file ossimApplanixEOFile.cpp.
References theShiftValuesX, and ossimString::toDouble().
| double ossimApplanixEOFile::getShiftValuesY | ( | ) | const |
Definition at line 660 of file ossimApplanixEOFile.cpp.
References theShiftValuesY, and ossimString::toDouble().
| double ossimApplanixEOFile::getShiftValuesZ | ( | ) | const |
Definition at line 665 of file ossimApplanixEOFile.cpp.
References theShiftValuesZ, and ossimString::toDouble().
| ossimString ossimApplanixEOFile::getUtmHemisphere | ( | ) | const |
Definition at line 610 of file ossimApplanixEOFile.cpp.
References theUtmHemisphere.
| ossim_int32 ossimApplanixEOFile::getUtmZone | ( | ) | const |
Definition at line 605 of file ossimApplanixEOFile.cpp.
References theUtmZone, and ossimString::toInt32().
Referenced by isUtmFrame().
| void ossimApplanixEOFile::indexRecordIds | ( | ) |
Will index all records based on the "ID #" field for fast searching.
Definition at line 469 of file ossimApplanixEOFile.cpp.
References getFieldIdxLike(), size, theApplanixRecordList, and theRecordIdMap.
| bool ossimApplanixEOFile::isEcefModel | ( | ) | const |
Definition at line 575 of file ossimApplanixEOFile.cpp.
References getFieldIdx().
| bool ossimApplanixEOFile::isEOFile | ( | const ossimFilename & | file | ) | const |
Utility method that just checks for an APPlanix exterior orientation header.
Will call the isEOFile(istream) method.
| file | theExterior orientation file. |
Definition at line 128 of file ossimApplanixEOFile.cpp.
References ossim::StreamFactoryRegistry::instance().
| bool ossimApplanixEOFile::isEOFile | ( | ossim::istream & | in | ) | const |
Utility method that just checks for an APPlanix exterior orientation header.
| bool ossimApplanixEOFile::isHeightAboveMSL | ( | ) | const |
Definition at line 570 of file ossimApplanixEOFile.cpp.
References getFieldIdx().
| bool ossimApplanixEOFile::isUtmFrame | ( | ) | const |
Definition at line 593 of file ossimApplanixEOFile.cpp.
References getFieldIdxLike(), and getUtmZone().
| bool ossimApplanixEOFile::parseFile | ( | const ossimFilename & | file | ) |
Will parse the entire Exterior orientation file and then index any record ID's found.
This calls the parseStream method.
| file | The exterior orientation file |
Definition at line 113 of file ossimApplanixEOFile.cpp.
References ossim::StreamFactoryRegistry::instance(), and parseStream().
| bool ossimApplanixEOFile::parseHeader | ( | const ossimFilename & | file, |
| ossimString & | header | ||
| ) | const |
Parses the header of the exterior orientation file.
Calls the parseHeader(istream, header) method.
| file | The filename that is an Applanix Exterior orientation file. |
| header | The resulting header that was parsed out. |
Definition at line 402 of file ossimApplanixEOFile.cpp.
References ossim::StreamFactoryRegistry::instance().
Referenced by parseStream().
| bool ossimApplanixEOFile::parseHeader | ( | ossim::istream & | in, |
| ossimString & | header | ||
| ) | const |
Parses the header of the exterior orientation file.
Calls the parseHeader(istream, header) method.
| in | The input stream That contains an exterior orientation |
| header | The resulting header that was parsed out. |
| bool ossimApplanixEOFile::parseStream | ( | ossim::istream & | in | ) |
Will parse the stream and set internal queriable parameters.
| inThe | input stream containing the Applanix format exterior orientation file |
Definition at line 150 of file ossimApplanixEOFile.cpp.
References parseHeader(), theHeader, and theRecordIdMap.
Referenced by parseFile().
|
friend |
Definition at line 53 of file ossimApplanixEOFile.cpp.
|
protected |
Definition at line 209 of file ossimApplanixEOFile.h.
Referenced by getNumberOfRecords(), getRecord(), getRecordGivenId(), indexRecordIds(), and operator<<().
|
protected |
Definition at line 182 of file ossimApplanixEOFile.h.
Referenced by getBoreSightTx(), and operator<<().
|
protected |
Definition at line 183 of file ossimApplanixEOFile.h.
Referenced by getBoreSightTy(), and operator<<().
|
protected |
Definition at line 184 of file ossimApplanixEOFile.h.
Referenced by getBoreSightTz(), and operator<<().
|
protected |
Definition at line 196 of file ossimApplanixEOFile.h.
Referenced by getMappingFrameCentralMeridian(), and operator<<().
|
protected |
Definition at line 199 of file ossimApplanixEOFile.h.
Referenced by getMappingFrameFalseEasting(), and operator<<().
|
protected |
Definition at line 200 of file ossimApplanixEOFile.h.
Referenced by getMappingFrameFalseNorthing(), and operator<<().
|
protected |
Definition at line 198 of file ossimApplanixEOFile.h.
Referenced by getMappingFrameGridScaleFactor(), and operator<<().
|
protected |
Definition at line 180 of file ossimApplanixEOFile.h.
Referenced by operator<<(), and parseStream().
|
protected |
Definition at line 185 of file ossimApplanixEOFile.h.
Referenced by getKardinalKappa(), and operator<<().
|
protected |
Definition at line 186 of file ossimApplanixEOFile.h.
Referenced by getLeverArmLx(), and operator<<().
|
protected |
Definition at line 187 of file ossimApplanixEOFile.h.
Referenced by getLeverArmLy(), and operator<<().
|
protected |
Definition at line 188 of file ossimApplanixEOFile.h.
Referenced by getLeverArmLz(), and operator<<().
|
protected |
Definition at line 194 of file ossimApplanixEOFile.h.
Referenced by getMappingFrameDatum(), and operator<<().
|
protected |
Definition at line 195 of file ossimApplanixEOFile.h.
Referenced by getMappingFrameProjection(), and operator<<().
|
protected |
Definition at line 206 of file ossimApplanixEOFile.h.
Referenced by ossimApplanixEOFile().
|
protected |
Definition at line 207 of file ossimApplanixEOFile.h.
Referenced by ossimApplanixEOFile().
|
protected |
Definition at line 204 of file ossimApplanixEOFile.h.
Referenced by ossimApplanixEOFile().
|
protected |
Definition at line 205 of file ossimApplanixEOFile.h.
Referenced by ossimApplanixEOFile().
|
protected |
Definition at line 197 of file ossimApplanixEOFile.h.
Referenced by getMappingFrameOriginLatitude(), and operator<<().
|
protected |
Definition at line 208 of file ossimApplanixEOFile.h.
Referenced by getFieldIdx(), getFieldIdxLike(), and operator<<().
|
protected |
Definition at line 210 of file ossimApplanixEOFile.h.
Referenced by getRecordGivenId(), indexRecordIds(), and parseStream().
|
protected |
Definition at line 192 of file ossimApplanixEOFile.h.
Referenced by getSbetField().
|
protected |
Definition at line 189 of file ossimApplanixEOFile.h.
Referenced by getShiftValuesX(), and operator<<().
|
protected |
Definition at line 190 of file ossimApplanixEOFile.h.
Referenced by getShiftValuesY(), and operator<<().
|
protected |
Definition at line 191 of file ossimApplanixEOFile.h.
Referenced by getShiftValuesZ(), and operator<<().
|
protected |
Definition at line 202 of file ossimApplanixEOFile.h.
Referenced by getUtmHemisphere(), and operator<<().
|
protected |
Definition at line 201 of file ossimApplanixEOFile.h.
Referenced by getUtmZone(), and operator<<().
|
protected |
Definition at line 181 of file ossimApplanixEOFile.h.
1.8.14