|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimERS.h>
Public Member Functions | |
| ossimERS () | |
| ossimERS (const char *file) | |
| virtual | ~ossimERS () |
| void | clearFields () |
| virtual std::ostream & | print (std::ostream &out) const |
| Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
| bool | writeFile (const ossimFilename &file) |
| bool | toOssimProjectionGeom (ossimKeywordlist &kwl, const char *prefix=NULL) const |
| ossimString | toOssimProjection () const |
| ossimString | toOssimDatum () const |
| ossim_int32 | errorStatus () 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 |
Public Attributes | |
| double | theVersion |
| ossimString | theFilename |
| ossimString | theDescription |
| ossimString | theSensorname |
| ossim_int32 | theHeaderOffset |
| ossimString | theDatasetType |
| ossimString | theDatatype |
| ossimString | theByteorder |
| ossimString | theComments |
| ossimString | theDatum |
| ossimString | theProjection |
| ossimString | theCoordSysType |
| ossimString | theUnits |
| double | theRotation |
| ossimUnitType | theTieUnitType |
| ossimScalarType | theCelltype |
| ossim_int32 | theCellsizeof |
| bool | theHasNullCells |
| double | theNullCell |
| double | theCellSizeX |
| double | theCellSizeY |
| ossim_int32 | theLine |
| ossim_int32 | theSample |
| double | theOriginX |
| double | theOriginY |
| ossim_int32 | theBands |
| std::vector< ossimString > | theBandID |
Private Member Functions | |
| void | parseError (const char *msg) |
| std::vector< ossimString > | parseLine (std::istream &in) |
| void | parseHeader (std::istream &fptr) |
| void | parseRasterInfo (std::istream &fptr) |
| void | parseCoordinateSpace (std::istream &fptr) |
Additional Inherited Members | |
Protected Attributes inherited from ossimErrorStatusInterface | |
| ossimErrorCode | theErrorStatus |
Definition at line 26 of file ossimERS.h.
| ossimERS::ossimERS | ( | ) |
Definition at line 29 of file ossimERS.cpp.
References clearFields().
| ossimERS::ossimERS | ( | const char * | file | ) |
Definition at line 36 of file ossimERS.cpp.
References clearFields(), ossimErrorCodes::OSSIM_ERROR, parseHeader(), and ossimErrorStatusInterface::theErrorStatus.
|
inlinevirtual |
Definition at line 32 of file ossimERS.h.
| void ossimERS::clearFields | ( | ) |
Definition at line 647 of file ossimERS.cpp.
References ossimErrorCodes::OSSIM_OK, OSSIM_SCALAR_UNKNOWN, OSSIM_UNIT_UNKNOWN, theBandID, theBands, theByteorder, theCellsizeof, theCellSizeX, theCellSizeY, theCelltype, theComments, theCoordSysType, theDatasetType, theDatatype, theDatum, theDescription, ossimErrorStatusInterface::theErrorStatus, theFilename, theHasNullCells, theHeaderOffset, theLine, theNullCell, theOriginX, theOriginY, theProjection, theRotation, theSample, theSensorname, theTieUnitType, theUnits, and theVersion.
Referenced by ossimERS().
|
inline |
Definition at line 79 of file ossimERS.h.
References ossimErrorStatusInterface::theErrorStatus.
Referenced by ossimERSTileSource::open().
|
private |
Definition at line 186 of file ossimERS.cpp.
References min, parseError(), parseLine(), theDatum, theProjection, and theRotation.
Referenced by parseHeader().
|
private |
Definition at line 66 of file ossimERS.cpp.
References ossimErrorCodes::OSSIM_ERROR, and ossimErrorStatusInterface::theErrorStatus.
Referenced by parseCoordinateSpace(), parseHeader(), and parseRasterInfo().
|
private |
Definition at line 245 of file ossimERS.cpp.
References ossimString::contains(), OSSIM_DEGREES, ossimErrorCodes::OSSIM_OK, parseCoordinateSpace(), parseError(), parseLine(), parseRasterInfo(), theByteorder, theDatasetType, theDatatype, ossimErrorStatusInterface::theErrorStatus, theProjection, theTieUnitType, and theVersion.
Referenced by ossimERS().
|
private |
Definition at line 351 of file ossimERS.cpp.
References ossimString::split(), and ossimString::trim().
Referenced by parseCoordinateSpace(), parseHeader(), and parseRasterInfo().
|
private |
Definition at line 71 of file ossimERS.cpp.
References abs, ossimString::join(), min, OSSIM_DEGREES, OSSIM_DOUBLE, OSSIM_FLOAT, OSSIM_METERS, OSSIM_SSHORT16, OSSIM_UCHAR, OSSIM_USHORT16, parseError(), parseLine(), theBandID, theBands, theCellSizeX, theCellSizeY, theCelltype, theHasNullCells, theLine, theNullCell, theOriginX, theOriginY, theSample, and theTieUnitType.
Referenced by parseHeader().
|
virtual |
Outputs theErrorStatus as an ossimErrorCode and an ossimString.
Reimplemented from ossimErrorStatusInterface.
Definition at line 431 of file ossimERS.cpp.
References min, OSSIM_DEGREES, OSSIM_METERS, OSSIM_SINT16, OSSIM_SINT32, OSSIM_SINT8, OSSIM_UINT16, OSSIM_UINT32, OSSIM_UINT8, OSSIM_USHORT11, OSSIM_USHORT12, OSSIM_USHORT13, OSSIM_USHORT14, OSSIM_USHORT15, OSSIM_USHORT16, theBands, theByteorder, theCellSizeX, theCellSizeY, theCelltype, theCoordSysType, theDatasetType, theDatatype, theDatum, theLine, theOriginX, theOriginY, theProjection, theSample, and theTieUnitType.
Referenced by writeFile().
| ossimString ossimERS::toOssimDatum | ( | ) | const |
Definition at line 630 of file ossimERS.cpp.
References ossimNotify(), ossimNotifyLevel_WARN, and theDatum.
Referenced by toOssimProjectionGeom().
| ossimString ossimERS::toOssimProjection | ( | ) | const |
Definition at line 614 of file ossimERS.cpp.
References ossimString::contains(), and theProjection.
Referenced by toOssimProjectionGeom().
| bool ossimERS::toOssimProjectionGeom | ( | ossimKeywordlist & | kwl, |
| const char * | prefix = NULL |
||
| ) | const |
Definition at line 531 of file ossimERS.cpp.
References ossimKeywordlist::add(), ossimString::begin(), ossimString::c_str(), ossimKeywordNames::DATUM_KW, ossimKeywordNames::DECIMAL_DEGREES_PER_PIXEL_LAT, ossimKeywordNames::DECIMAL_DEGREES_PER_PIXEL_LON, ossimString::end(), ossimKeywordNames::HEMISPHERE_KW, ossimKeywordNames::METERS_PER_PIXEL_X_KW, ossimKeywordNames::METERS_PER_PIXEL_Y_KW, OSSIM_DEGREES, OSSIM_METERS, theCellSizeX, theCellSizeY, theOriginX, theOriginY, theProjection, theTieUnitType, ossimKeywordNames::TIE_POINT_EASTING_KW, ossimKeywordNames::TIE_POINT_LAT_KW, ossimKeywordNames::TIE_POINT_LON_KW, ossimKeywordNames::TIE_POINT_NORTHING_KW, toOssimDatum(), toOssimProjection(), ossimKeywordNames::TYPE_KW, and ossimKeywordNames::ZONE_KW.
Referenced by ossimERSTileSource::getImageGeometry().
| bool ossimERS::writeFile | ( | const ossimFilename & | file | ) |
Definition at line 411 of file ossimERS.cpp.
References ossimString::c_str(), ossimString::empty(), print(), and theDescription.
Referenced by ossimERSFileWriter::writeFile().
| std::vector<ossimString> ossimERS::theBandID |
Definition at line 69 of file ossimERS.h.
Referenced by clearFields(), and parseRasterInfo().
| ossim_int32 ossimERS::theBands |
Definition at line 68 of file ossimERS.h.
Referenced by clearFields(), ossimERSTileSource::open(), parseRasterInfo(), print(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theByteorder |
Definition at line 46 of file ossimERS.h.
Referenced by clearFields(), parseHeader(), print(), and ossimERSFileWriter::writeFile().
| ossim_int32 ossimERS::theCellsizeof |
Definition at line 59 of file ossimERS.h.
Referenced by clearFields().
| double ossimERS::theCellSizeX |
Definition at line 62 of file ossimERS.h.
Referenced by clearFields(), parseRasterInfo(), print(), toOssimProjectionGeom(), and ossimERSFileWriter::writeFile().
| double ossimERS::theCellSizeY |
Definition at line 63 of file ossimERS.h.
Referenced by clearFields(), parseRasterInfo(), print(), toOssimProjectionGeom(), and ossimERSFileWriter::writeFile().
| ossimScalarType ossimERS::theCelltype |
Definition at line 58 of file ossimERS.h.
Referenced by clearFields(), ossimERSTileSource::open(), parseRasterInfo(), print(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theComments |
Definition at line 47 of file ossimERS.h.
Referenced by clearFields().
| ossimString ossimERS::theCoordSysType |
Definition at line 52 of file ossimERS.h.
Referenced by clearFields(), print(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theDatasetType |
Definition at line 44 of file ossimERS.h.
Referenced by clearFields(), parseHeader(), print(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theDatatype |
Definition at line 45 of file ossimERS.h.
Referenced by clearFields(), parseHeader(), print(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theDatum |
Definition at line 50 of file ossimERS.h.
Referenced by clearFields(), parseCoordinateSpace(), print(), toOssimDatum(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theDescription |
Definition at line 38 of file ossimERS.h.
Referenced by clearFields(), and writeFile().
| ossimString ossimERS::theFilename |
Definition at line 37 of file ossimERS.h.
Referenced by clearFields().
| bool ossimERS::theHasNullCells |
Definition at line 60 of file ossimERS.h.
Referenced by clearFields(), ossimERSTileSource::open(), and parseRasterInfo().
| ossim_int32 ossimERS::theHeaderOffset |
Definition at line 43 of file ossimERS.h.
Referenced by clearFields().
| ossim_int32 ossimERS::theLine |
Definition at line 64 of file ossimERS.h.
Referenced by clearFields(), ossimERSTileSource::open(), parseRasterInfo(), print(), and ossimERSFileWriter::writeFile().
| double ossimERS::theNullCell |
Definition at line 61 of file ossimERS.h.
Referenced by clearFields(), ossimERSTileSource::open(), and parseRasterInfo().
| double ossimERS::theOriginX |
Definition at line 66 of file ossimERS.h.
Referenced by clearFields(), parseRasterInfo(), print(), toOssimProjectionGeom(), and ossimERSFileWriter::writeFile().
| double ossimERS::theOriginY |
Definition at line 67 of file ossimERS.h.
Referenced by clearFields(), parseRasterInfo(), print(), toOssimProjectionGeom(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theProjection |
Definition at line 51 of file ossimERS.h.
Referenced by clearFields(), parseCoordinateSpace(), parseHeader(), print(), toOssimProjection(), toOssimProjectionGeom(), and ossimERSFileWriter::writeFile().
| double ossimERS::theRotation |
Definition at line 54 of file ossimERS.h.
Referenced by clearFields(), and parseCoordinateSpace().
| ossim_int32 ossimERS::theSample |
Definition at line 65 of file ossimERS.h.
Referenced by clearFields(), ossimERSTileSource::open(), parseRasterInfo(), print(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theSensorname |
Definition at line 41 of file ossimERS.h.
Referenced by clearFields().
| ossimUnitType ossimERS::theTieUnitType |
Definition at line 56 of file ossimERS.h.
Referenced by clearFields(), parseHeader(), parseRasterInfo(), print(), toOssimProjectionGeom(), and ossimERSFileWriter::writeFile().
| ossimString ossimERS::theUnits |
Definition at line 53 of file ossimERS.h.
Referenced by clearFields().
| double ossimERS::theVersion |
Definition at line 36 of file ossimERS.h.
Referenced by clearFields(), and parseHeader().
1.8.14