OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimFfL7.h>
Public Member Functions | |
ossimFfL7 () | |
ossimFfL7 (const char *headerFile) | |
void | dump (std::ostream &os) const |
void | writeHeader (std::ostream &os) const |
int | path () const |
int | row () const |
ossimString | pathRow () const |
void | getBias (vector< double > &bias) const |
double | getBias (long bandIdx) const |
void | getGain (vector< double > &gain) const |
double | getGain (long bandIdx) const |
double | getParam (ossim_uint32 i) const |
virtual unsigned int | getBandCount () const |
long | getJulianDay () const |
ossimString | getAcquisitionDate () const |
void | getAcquisitionDate (ossimDate &date) const |
Gets the date as an ossimDate. More... | |
ossimString | getSatelliteName () const |
ossimFilename | getBandFilename (ossim_uint32 idx) const |
int | getLinesPerBand () const |
int | getPixelsPerLine () const |
void | getSunElevation (double &elevation) const |
Gets the sun elevation in degrees. More... | |
void | getSunAzimuth (double &azimuth) const |
Gets the sun azimuth in degrees. More... | |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
Gets a property for matching name. More... | |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
Gets a list of property names available. More... | |
![]() | |
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 |
![]() | |
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 |
virtual std::ostream & | print (std::ostream &out) const |
Outputs theErrorStatus as an ossimErrorCode and an ossimString. More... | |
![]() | |
ossimPropertyInterface () | |
virtual | ~ossimPropertyInterface () |
virtual void | setProperty (const ossimString &name, const ossimString &value) |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimString | getPropertyValueAsString (const ossimString &name) const |
void | getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const |
void | setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList) |
Public Attributes | |
char | theRequestNumber [21] |
char | theLocationCode [18] |
int | thePathNumber |
int | theRowNumber |
char | theAcquisitionDate [20] |
char | theSatName [11] |
char | theSensorName [11] |
char | theSensorMode [7] |
double | theOffNadirAngle |
char | theProductType [19] |
char | theProductSize [11] |
char | theProcessingType [12] |
char | theResampAlgorithm [3] |
int | thePixelsPerLine |
int | theLinesPerBand |
int | theRecordSize |
double | theGsd |
int | theOutputBitsPerPixel |
int | theAcquiredBitsPerPixel |
char | theBandsPresentString [33] |
char | theBandFileNames [8][30] |
vector< double > | theBias |
vector< double > | theGain |
char | theMapProjectionName [5] |
char | theEllipsoid [19] |
char | theDatum [7] |
double | theProjectionParams [15] |
int | theUsgsMapZone |
ossimGpt | theUL_Corner |
ossimGpt | theUR_Corner |
ossimGpt | theLR_Corner |
ossimGpt | theLL_Corner |
ossimGpt | theCenterGP |
ossimIpt | theCenterImagePoint |
int | theHorizontalOffset |
double | theOrientationAngle |
double | theSunElevation |
double | theSunAzimuth |
Protected Member Functions | |
virtual | ~ossimFfL7 () |
![]() | |
virtual | ~ossimReferenced () |
Private Member Functions | |
void | initialize () |
void | readAdminRecord (FILE *fptr) |
void | readRadiomRecord (FILE *fptr) |
void | readGeomRecord (FILE *fptr) |
int | convertGeoPoint (FILE *, ossimGpt &) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const ossimFfL7 &head) |
Additional Inherited Members | |
![]() | |
ossimErrorCode | theErrorStatus |
Definition at line 36 of file ossimFfL7.h.
ossimFfL7::ossimFfL7 | ( | ) |
Definition at line 38 of file ossimFfL7.cpp.
References initialize().
ossimFfL7::ossimFfL7 | ( | const char * | headerFile | ) |
Definition at line 45 of file ossimFfL7.cpp.
References initialize(), ossimErrorCodes::OSSIM_ERROR, readAdminRecord(), readGeomRecord(), readRadiomRecord(), and ossimErrorStatusInterface::theErrorStatus.
|
protectedvirtual |
Definition at line 70 of file ossimFfL7.cpp.
|
private |
Definition at line 458 of file ossimFfL7.cpp.
References ossimGpt::lat, ossimGpt::lon, ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, and ossimErrorStatusInterface::theErrorStatus.
Referenced by readGeomRecord().
void ossimFfL7::dump | ( | std::ostream & | os | ) | const |
Definition at line 83 of file ossimFfL7.cpp.
References theAcquiredBitsPerPixel, theAcquisitionDate, theBandFileNames, theBandsPresentString, theBias, theCenterGP, theCenterImagePoint, theDatum, theEllipsoid, theGain, theGsd, theHorizontalOffset, theLinesPerBand, theLL_Corner, theLocationCode, theLR_Corner, theMapProjectionName, theOffNadirAngle, theOrientationAngle, theOutputBitsPerPixel, thePixelsPerLine, theProcessingType, theProductSize, theProductType, theProjectionParams, theRecordSize, theRequestNumber, theResampAlgorithm, theSatName, theSensorMode, theSensorName, theSunAzimuth, theSunElevation, theUL_Corner, and theUR_Corner.
Referenced by operator<<().
ossimString ossimFfL7::getAcquisitionDate | ( | ) | const |
Definition at line 582 of file ossimFfL7.cpp.
References theAcquisitionDate.
Referenced by getJulianDay().
void ossimFfL7::getAcquisitionDate | ( | ossimDate & | date | ) | const |
Gets the date as an ossimDate.
date | to initialize. |
Definition at line 587 of file ossimFfL7.cpp.
References theAcquisitionDate, ossimString::toInt(), and y.
|
virtual |
Definition at line 690 of file ossimFfL7.cpp.
References ossimString::length(), theBandsPresentString, and ossimString::trim().
Referenced by getBandFilename().
ossimFilename ossimFfL7::getBandFilename | ( | ossim_uint32 | idx | ) | const |
Definition at line 606 of file ossimFfL7.cpp.
References getBandCount(), and theBandFileNames.
void ossimFfL7::getBias | ( | vector< double > & | bias | ) | const |
Initializes "bias" with "theBias" from the radiometry record. Contains eight bands; although, only bands present will be initialized.
Definition at line 546 of file ossimFfL7.cpp.
References theBias.
Referenced by ossimLandsatTopoCorrectionFilter::setLandsatHeader().
double ossimFfL7::getBias | ( | long | bandIdx | ) | const |
void ossimFfL7::getGain | ( | vector< double > & | gain | ) | const |
Initializes "bias" with "theBias" from the radiometry record. Contains eight bands; although, only bands present will be initialized.
Definition at line 556 of file ossimFfL7.cpp.
References theGain.
Referenced by ossimLandsatTopoCorrectionFilter::setLandsatHeader().
double ossimFfL7::getGain | ( | long | bandIdx | ) | const |
long ossimFfL7::getJulianDay | ( | ) | const |
Definition at line 575 of file ossimFfL7.cpp.
References getAcquisitionDate(), and ossimLocalTm::getJulian().
Referenced by ossimLandsatTopoCorrectionFilter::setLandsatHeader().
int ossimFfL7::getLinesPerBand | ( | ) | const |
Definition at line 616 of file ossimFfL7.cpp.
References theLinesPerBand.
double ossimFfL7::getParam | ( | ossim_uint32 | i | ) | const |
int ossimFfL7::getPixelsPerLine | ( | ) | const |
Definition at line 621 of file ossimFfL7.cpp.
References thePixelsPerLine.
|
virtual |
Gets a property for matching name.
name | The name of the property to get. |
Reimplemented from ossimPropertyInterface.
Definition at line 636 of file ossimFfL7.cpp.
|
virtual |
Gets a list of property names available.
propertyNames | The list to push back names to. |
Reimplemented from ossimPropertyInterface.
Definition at line 680 of file ossimFfL7.cpp.
ossimString ossimFfL7::getSatelliteName | ( | ) | const |
Definition at line 601 of file ossimFfL7.cpp.
References theSatName.
void ossimFfL7::getSunAzimuth | ( | double & | azimuth | ) | const |
Gets the sun azimuth in degrees.
azimuth | The azimuth to initialize. |
Definition at line 631 of file ossimFfL7.cpp.
References theSunAzimuth.
Referenced by ossimLandsatTopoCorrectionFilter::setLandsatHeader().
void ossimFfL7::getSunElevation | ( | double & | elevation | ) | const |
Gets the sun elevation in degrees.
elevation | The elevation to initialize. |
Definition at line 626 of file ossimFfL7.cpp.
References theSunElevation.
Referenced by ossimLandsatTopoCorrectionFilter::setLandsatHeader().
|
private |
Definition at line 494 of file ossimFfL7.cpp.
References theAcquiredBitsPerPixel, theAcquisitionDate, theBandFileNames, theBandsPresentString, theBias, theDatum, theEllipsoid, theGain, theGsd, theHorizontalOffset, theLinesPerBand, theLocationCode, theMapProjectionName, theOffNadirAngle, theOrientationAngle, theOutputBitsPerPixel, thePathNumber, thePixelsPerLine, theProcessingType, theProductSize, theProductType, theProjectionParams, theRecordSize, theRequestNumber, theResampAlgorithm, theRowNumber, theSatName, theSensorMode, theSensorName, theSunAzimuth, theSunElevation, and theUsgsMapZone.
Referenced by ossimFfL7().
int ossimFfL7::path | ( | ) | const |
ossimString ossimFfL7::pathRow | ( | ) | const |
Definition at line 73 of file ossimFfL7.cpp.
References ossimString::gsub(), and theLocationCode.
|
private |
Definition at line 185 of file ossimFfL7.cpp.
References ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, ossimString::split(), theAcquiredBitsPerPixel, theAcquisitionDate, theBandFileNames, theBandsPresentString, ossimErrorStatusInterface::theErrorStatus, theGsd, theLinesPerBand, theLocationCode, theOffNadirAngle, theOutputBitsPerPixel, thePathNumber, thePixelsPerLine, theProcessingType, theProductSize, theProductType, theRecordSize, theRequestNumber, theResampAlgorithm, theRowNumber, theSatName, theSensorMode, and theSensorName.
Referenced by ossimFfL7().
|
private |
Definition at line 373 of file ossimFfL7.cpp.
References convertGeoPoint(), ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, theCenterGP, theCenterImagePoint, theDatum, theEllipsoid, ossimErrorStatusInterface::theErrorStatus, theHorizontalOffset, theLL_Corner, theLR_Corner, theMapProjectionName, theOrientationAngle, theProjectionParams, theSunAzimuth, theSunElevation, theUL_Corner, theUR_Corner, theUsgsMapZone, ossimIpt::x, x, ossimIpt::y, and y.
Referenced by ossimFfL7().
|
private |
Definition at line 313 of file ossimFfL7.cpp.
References MAX, ossimErrorCodes::OSSIM_ERROR, SPACE, ossimString::split(), theBias, ossimErrorStatusInterface::theErrorStatus, and theGain.
Referenced by ossimFfL7().
int ossimFfL7::row | ( | ) | const |
void ossimFfL7::writeHeader | ( | std::ostream & | os | ) | const |
Definition at line 177 of file ossimFfL7.cpp.
References ossimNotify(), and ossimNotifyLevel_WARN.
|
friend |
Definition at line 702 of file ossimFfL7.cpp.
int ossimFfL7::theAcquiredBitsPerPixel |
Definition at line 152 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theAcquisitionDate[20] |
Definition at line 138 of file ossimFfL7.h.
Referenced by dump(), getAcquisitionDate(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theBandFileNames[8][30] |
Definition at line 154 of file ossimFfL7.h.
Referenced by dump(), getBandFilename(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theBandsPresentString[33] |
Definition at line 153 of file ossimFfL7.h.
Referenced by dump(), getBandCount(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
vector<double> ossimFfL7::theBias |
Definition at line 157 of file ossimFfL7.h.
Referenced by dump(), getBias(), initialize(), ossimFfL5::readHeaderRevB(), and readRadiomRecord().
ossimGpt ossimFfL7::theCenterGP |
Definition at line 171 of file ossimFfL7.h.
Referenced by dump(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
ossimIpt ossimFfL7::theCenterImagePoint |
Definition at line 173 of file ossimFfL7.h.
Referenced by dump(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theDatum[7] |
Definition at line 163 of file ossimFfL7.h.
Referenced by dump(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theEllipsoid[19] |
Definition at line 162 of file ossimFfL7.h.
Referenced by dump(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
vector<double> ossimFfL7::theGain |
Definition at line 158 of file ossimFfL7.h.
Referenced by dump(), getGain(), initialize(), ossimFfL5::readHeaderRevB(), and readRadiomRecord().
double ossimFfL7::theGsd |
Definition at line 150 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::theHorizontalOffset |
Definition at line 175 of file ossimFfL7.h.
Referenced by dump(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::theLinesPerBand |
Definition at line 148 of file ossimFfL7.h.
Referenced by dump(), getLinesPerBand(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
ossimGpt ossimFfL7::theLL_Corner |
Definition at line 170 of file ossimFfL7.h.
Referenced by dump(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theLocationCode[18] |
Definition at line 135 of file ossimFfL7.h.
Referenced by dump(), initialize(), pathRow(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
ossimGpt ossimFfL7::theLR_Corner |
Definition at line 169 of file ossimFfL7.h.
Referenced by dump(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theMapProjectionName[5] |
Definition at line 161 of file ossimFfL7.h.
Referenced by dump(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
double ossimFfL7::theOffNadirAngle |
Definition at line 142 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
double ossimFfL7::theOrientationAngle |
Definition at line 176 of file ossimFfL7.h.
Referenced by dump(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::theOutputBitsPerPixel |
Definition at line 151 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::thePathNumber |
Definition at line 136 of file ossimFfL7.h.
Referenced by initialize(), path(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::thePixelsPerLine |
Definition at line 147 of file ossimFfL7.h.
Referenced by dump(), getPixelsPerLine(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theProcessingType[12] |
Definition at line 145 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theProductSize[11] |
Definition at line 144 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theProductType[19] |
Definition at line 143 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
double ossimFfL7::theProjectionParams[15] |
Definition at line 164 of file ossimFfL7.h.
Referenced by dump(), getParam(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::theRecordSize |
Definition at line 149 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theRequestNumber[21] |
Definition at line 134 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theResampAlgorithm[3] |
Definition at line 146 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::theRowNumber |
Definition at line 137 of file ossimFfL7.h.
Referenced by initialize(), readAdminRecord(), ossimFfL5::readHeaderRevB(), and row().
char ossimFfL7::theSatName[11] |
Definition at line 139 of file ossimFfL7.h.
Referenced by dump(), getSatelliteName(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theSensorMode[7] |
Definition at line 141 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
char ossimFfL7::theSensorName[11] |
Definition at line 140 of file ossimFfL7.h.
Referenced by dump(), initialize(), readAdminRecord(), and ossimFfL5::readHeaderRevB().
double ossimFfL7::theSunAzimuth |
Definition at line 178 of file ossimFfL7.h.
Referenced by dump(), getSunAzimuth(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
double ossimFfL7::theSunElevation |
Definition at line 177 of file ossimFfL7.h.
Referenced by dump(), getSunElevation(), initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
ossimGpt ossimFfL7::theUL_Corner |
Definition at line 167 of file ossimFfL7.h.
Referenced by dump(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
ossimGpt ossimFfL7::theUR_Corner |
Definition at line 168 of file ossimFfL7.h.
Referenced by dump(), readGeomRecord(), and ossimFfL5::readHeaderRevB().
int ossimFfL7::theUsgsMapZone |
Definition at line 165 of file ossimFfL7.h.
Referenced by initialize(), readGeomRecord(), and ossimFfL5::readHeaderRevB().