OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimSpotDimapSupportData.h>
Public Types | |
enum | ossimSpotMetadataVersion { OSSIM_SPOT_METADATA_VERSION_UNKNOWN = 0, OSSIM_SPOT_METADATA_VERSION_1_0 = 1, OSSIM_SPOT_METADATA_VERSION_1_1 = 2 } |
metadata.dim format version More... | |
Public Member Functions | |
ossimSpotDimapSupportData () | |
ossimSpotDimapSupportData (const ossimSpotDimapSupportData &rhs) | |
ossimSpotDimapSupportData (const ossimFilename &dimapFile, bool processSwir=false) | |
virtual ossimObject * | dup () const |
void | clearFields () |
bool | loadXmlFile (const ossimFilename &file, bool processSwir=false) |
ossimString | getSensorID () const |
ossimString | getMetadataVersionString () const |
ossimString | getAcquisitionDate () const |
ossimString | getProductionDate () const |
ossimString | getImageID () const |
ossimString | getInstrument () const |
ossim_uint32 | getInstrumentIndex () const |
ossimFilename | getMetadataFile () const |
void | getSunAzimuth (ossim_float64 &az) const |
void | getSunElevation (ossim_float64 &el) const |
void | getImageSize (ossimDpt &sz) const |
void | getLineSamplingPeriod (ossim_float64 &pe) const |
void | getIncidenceAngle (ossim_float64 &ia) const |
void | getViewingAngle (ossim_float64 &va) const |
void | getSceneOrientation (ossim_float64 &so) const |
ossim_uint32 | getNumberOfBands () const |
ossim_uint32 | getStepCount () const |
bool | isStarTrackerUsed () const |
bool | isSwirDataUsed () const |
void | getRefGroundPoint (ossimGpt &gp) const |
Center of frame, sub image if there is one. More... | |
void | getRefImagePoint (ossimDpt &rp) const |
zero base center point More... | |
void | getRefLineTime (ossim_float64 &rt) const |
void | getRefLineTimeLine (ossim_float64 &rtl) const |
relative to full frame. More... | |
void | getImageRect (ossimDrect &rect) const |
Zero based image rectangle, sub image if there is one. More... | |
void | getSubImageOffset (ossimDpt &offset) const |
void | getPositionEcf (ossim_uint32 sample, ossimEcefPoint &pe) const |
void | getPositionEcf (const ossim_float64 &time, ossimEcefPoint &pe) const |
void | getVelocityEcf (ossim_uint32 sample, ossimEcefPoint &ve) const |
void | getVelocityEcf (const ossim_float64 &time, ossimEcefPoint &ve) const |
void | getEphSampTime (ossim_uint32 sample, ossim_float64 &et) const |
ossim_uint32 | getNumEphSamples () const |
void | getAttitude (ossim_uint32 sample, ossimDpt3d &at) const |
void | getAttitude (const ossim_float64 &time, ossimDpt3d &at) const |
void | getAttSampTime (ossim_uint32 sample, ossim_float64 &at) const |
ossim_uint32 | getNumAttSamples () const |
void | getPixelLookAngleX (ossim_uint32 sample, ossim_float64 &pa) const |
void | getPixelLookAngleX (const ossim_float64 &sample, ossim_float64 &pa) const |
void | getPixelLookAngleY (ossim_uint32 sample, ossim_float64 &pa) const |
void | getPixelLookAngleY (const ossim_float64 &sample, ossim_float64 &pa) const |
ossim_uint32 | getNumGeoPosPoints () const |
void | getGeoPosPoint (ossim_uint32 point, ossimDpt &ip, ossimGpt &gp) const |
void | getUlCorner (ossimGpt &pt) const |
void | getUrCorner (ossimGpt &pt) const |
void | getLrCorner (ossimGpt &pt) const |
void | getLlCorner (ossimGpt &pt) const |
void | printInfo (ostream &os) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
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 std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
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 |
![]() | |
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... | |
Protected Member Functions | |
virtual | ~ossimSpotDimapSupportData () |
![]() | |
virtual | ~ossimReferenced () |
Private Member Functions | |
void | getLagrangeInterpolation (const ossim_float64 &t, const std::vector< ossimDpt3d > &V, const std::vector< ossim_float64 > &T, ossimDpt3d &li) const |
void | getBilinearInterpolation (const ossim_float64 &t, const std::vector< ossimDpt3d > &V, const std::vector< ossim_float64 > &T, ossimDpt3d &li) const |
void | getInterpolatedLookAngle (const ossim_float64 &p, const std::vector< ossim_float64 > &angles, ossim_float64 &la) const |
ossim_float64 | convertTimeStamp (const ossimString &time_stamp) const |
void | convertTimeStamp (const ossimString &time_stamp, ossim_float64 &ti) const |
bool | initMetadataVersion (ossimRefPtr< ossimXmlDocument > xmlDocument) |
Initializes theMetadataVersion. More... | |
bool | initImageId (ossimRefPtr< ossimXmlDocument > xmlDocument) |
Initializes theImageId. More... | |
bool | initSceneSource (ossimRefPtr< ossimXmlDocument > xmlDocument) |
From xml section: /Dimap_Document/Dataset_Sources/Source_Information/Scene_Source. More... | |
bool | initFramePoints (ossimRefPtr< ossimXmlDocument > xmlDocument) |
Frame points: More... | |
void | extrapolateAttitude (const ossim_float64 &time, ossimDpt3d &at) const |
ossimGpt | createGround (const ossimString &s) const |
ossimDpt | createDpt (const ossimString &s) const |
bool | parsePart1 (ossimRefPtr< ossimXmlDocument > xmlDocument) |
Private parse methods called by loadXml. More... | |
bool | parsePart2 (ossimRefPtr< ossimXmlDocument > xmlDocument) |
bool | parsePart3 (ossimRefPtr< ossimXmlDocument > xmlDocument) |
bool | parsePart4 (ossimRefPtr< ossimXmlDocument > xmlDocument) |
Additional Inherited Members | |
![]() | |
ossimErrorCode | theErrorStatus |
Definition at line 36 of file ossimSpotDimapSupportData.h.
metadata.dim format version
Enumerator | |
---|---|
OSSIM_SPOT_METADATA_VERSION_UNKNOWN | |
OSSIM_SPOT_METADATA_VERSION_1_0 | |
OSSIM_SPOT_METADATA_VERSION_1_1 |
Definition at line 42 of file ossimSpotDimapSupportData.h.
ossimSpotDimapSupportData::ossimSpotDimapSupportData | ( | ) |
Definition at line 35 of file ossimSpotDimapSupportData.cpp.
Referenced by dup().
ossimSpotDimapSupportData::ossimSpotDimapSupportData | ( | const ossimSpotDimapSupportData & | rhs | ) |
Definition at line 77 of file ossimSpotDimapSupportData.cpp.
ossimSpotDimapSupportData::ossimSpotDimapSupportData | ( | const ossimFilename & | dimapFile, |
bool | processSwir = false |
||
) |
Definition at line 119 of file ossimSpotDimapSupportData.cpp.
|
protectedvirtual |
Definition at line 178 of file ossimSpotDimapSupportData.cpp.
void ossimSpotDimapSupportData::clearFields | ( | ) |
Definition at line 187 of file ossimSpotDimapSupportData.cpp.
References ossimErrorStatusInterface::clearErrorStatus(), ossimDpt::makeNan(), ossimGpt::makeNan(), ossim::nan(), OSSIM_SPOT_METADATA_VERSION_UNKNOWN, theAcquisitionDate, theAttitudeSamples, theAttSampTimes, theDetectorCount, theEphSampTimes, theGeoPosGroundPoints, theGeoPosImagePoints, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theLineSamplingPeriod, theLlCorner, theLrCorner, theMetadataFile, theMetadataVersion, theNumBands, thePixelLookAngleX, thePixelLookAngleY, thePosEcfSamples, theProductionDate, theRefGroundPoint, theRefImagePoint, theRefLineTime, theRefLineTimeLine, theSceneOrientation, theSensorID, theStarTrackerUsed, theStepCount, theSubImageOffset, theSunAzimuth, theSunElevation, theSwirDataFlag, theUlCorner, theUrCorner, theVelEcfSamples, and theViewingAngle.
Referenced by loadState().
|
private |
Definition at line 872 of file ossimSpotDimapSupportData.cpp.
Referenced by parsePart3().
|
private |
Definition at line 879 of file ossimSpotDimapSupportData.cpp.
References ossim::nan(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Definition at line 1660 of file ossimSpotDimapSupportData.cpp.
References ossimString::string(), x, and y.
Referenced by loadState().
|
private |
Definition at line 1645 of file ossimSpotDimapSupportData.cpp.
References ossimDatumFactory::create(), ossimDatumFactory::instance(), and ossimString::string().
Referenced by loadState().
|
virtual |
Reimplemented from ossimObject.
Definition at line 182 of file ossimSpotDimapSupportData.cpp.
References ossimSpotDimapSupportData().
Referenced by ossimSpot5Model::ossimSpot5Model().
|
private |
Definition at line 649 of file ossimSpotDimapSupportData.cpp.
References ossimDpt3d::makeNan(), theAttitudeSamples, and theAttSampTimes.
Referenced by getAttitude().
ossimString ossimSpotDimapSupportData::getAcquisitionDate | ( | ) | const |
Definition at line 971 of file ossimSpotDimapSupportData.cpp.
References theAcquisitionDate.
void ossimSpotDimapSupportData::getAttitude | ( | ossim_uint32 | sample, |
ossimDpt3d & | at | ||
) | const |
Definition at line 603 of file ossimSpotDimapSupportData.cpp.
References ossimDpt3d::makeNan(), and theAttitudeSamples.
void ossimSpotDimapSupportData::getAttitude | ( | const ossim_float64 & | time, |
ossimDpt3d & | at | ||
) | const |
Definition at line 615 of file ossimSpotDimapSupportData.cpp.
References extrapolateAttitude(), ossimDpt3d::makeNan(), theAttitudeSamples, and theAttSampTimes.
void ossimSpotDimapSupportData::getAttSampTime | ( | ossim_uint32 | sample, |
ossim_float64 & | at | ||
) | const |
Definition at line 680 of file ossimSpotDimapSupportData.cpp.
References ossim::nan(), and theAttSampTimes.
|
private |
Definition at line 760 of file ossimSpotDimapSupportData.cpp.
Referenced by getPositionEcf(), and getVelocityEcf().
void ossimSpotDimapSupportData::getEphSampTime | ( | ossim_uint32 | sample, |
ossim_float64 & | et | ||
) | const |
Definition at line 569 of file ossimSpotDimapSupportData.cpp.
References ossim::nan(), ossimDpt::samp, theEphSampTimes, and theImageSize.
void ossimSpotDimapSupportData::getGeoPosPoint | ( | ossim_uint32 | point, |
ossimDpt & | ip, | ||
ossimGpt & | gp | ||
) | const |
Definition at line 905 of file ossimSpotDimapSupportData.cpp.
References theGeoPosGroundPoints, and theGeoPosImagePoints.
ossimString ossimSpotDimapSupportData::getImageID | ( | ) | const |
Definition at line 981 of file ossimSpotDimapSupportData.cpp.
References theImageID.
void ossimSpotDimapSupportData::getImageRect | ( | ossimDrect & | rect | ) | const |
Zero based image rectangle, sub image if there is one.
Definition at line 1111 of file ossimSpotDimapSupportData.cpp.
References theImageSize, ossimDpt::x, and ossimDpt::y.
void ossimSpotDimapSupportData::getImageSize | ( | ossimDpt & | sz | ) | const |
Definition at line 1011 of file ossimSpotDimapSupportData.cpp.
References theImageSize.
void ossimSpotDimapSupportData::getIncidenceAngle | ( | ossim_float64 & | ia | ) | const |
Definition at line 1041 of file ossimSpotDimapSupportData.cpp.
References theIncidenceAngle.
ossimString ossimSpotDimapSupportData::getInstrument | ( | ) | const |
Definition at line 991 of file ossimSpotDimapSupportData.cpp.
References theInstrument.
ossim_uint32 ossimSpotDimapSupportData::getInstrumentIndex | ( | ) | const |
Definition at line 996 of file ossimSpotDimapSupportData.cpp.
References theInstrumentIndex.
|
private |
Definition at line 732 of file ossimSpotDimapSupportData.cpp.
References ossim::nan(), and ossimErrorStatusInterface::setErrorStatus().
Referenced by getPixelLookAngleX(), and getPixelLookAngleY().
|
private |
Definition at line 785 of file ossimSpotDimapSupportData.cpp.
References ossimDpt3d::makeNan(), ossimErrorStatusInterface::setErrorStatus(), and theLineSamplingPeriod.
Referenced by getPositionEcf(), and getVelocityEcf().
void ossimSpotDimapSupportData::getLineSamplingPeriod | ( | ossim_float64 & | pe | ) | const |
Definition at line 1016 of file ossimSpotDimapSupportData.cpp.
References theLineSamplingPeriod.
void ossimSpotDimapSupportData::getLlCorner | ( | ossimGpt & | pt | ) | const |
Definition at line 1106 of file ossimSpotDimapSupportData.cpp.
References theLlCorner.
void ossimSpotDimapSupportData::getLrCorner | ( | ossimGpt & | pt | ) | const |
Definition at line 1101 of file ossimSpotDimapSupportData.cpp.
References theLrCorner.
ossimFilename ossimSpotDimapSupportData::getMetadataFile | ( | ) | const |
Definition at line 986 of file ossimSpotDimapSupportData.cpp.
References theMetadataFile.
ossimString ossimSpotDimapSupportData::getMetadataVersionString | ( | ) | const |
Definition at line 958 of file ossimSpotDimapSupportData.cpp.
References OSSIM_SPOT_METADATA_VERSION_1_0, OSSIM_SPOT_METADATA_VERSION_1_1, and theMetadataVersion.
ossim_uint32 ossimSpotDimapSupportData::getNumAttSamples | ( | ) | const |
Definition at line 1081 of file ossimSpotDimapSupportData.cpp.
References theAttSampTimes.
ossim_uint32 ossimSpotDimapSupportData::getNumberOfBands | ( | ) | const |
Definition at line 1031 of file ossimSpotDimapSupportData.cpp.
References theNumBands.
ossim_uint32 ossimSpotDimapSupportData::getNumEphSamples | ( | ) | const |
Definition at line 1076 of file ossimSpotDimapSupportData.cpp.
References theEphSampTimes.
ossim_uint32 ossimSpotDimapSupportData::getNumGeoPosPoints | ( | ) | const |
Definition at line 1086 of file ossimSpotDimapSupportData.cpp.
References theGeoPosImagePoints.
void ossimSpotDimapSupportData::getPixelLookAngleX | ( | ossim_uint32 | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 691 of file ossimSpotDimapSupportData.cpp.
References ossim::nan(), ossimErrorStatusInterface::setErrorStatus(), and thePixelLookAngleX.
void ossimSpotDimapSupportData::getPixelLookAngleX | ( | const ossim_float64 & | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 705 of file ossimSpotDimapSupportData.cpp.
References getInterpolatedLookAngle(), and thePixelLookAngleX.
void ossimSpotDimapSupportData::getPixelLookAngleY | ( | ossim_uint32 | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 712 of file ossimSpotDimapSupportData.cpp.
References ossim::nan(), ossimErrorStatusInterface::setErrorStatus(), and thePixelLookAngleY.
void ossimSpotDimapSupportData::getPixelLookAngleY | ( | const ossim_float64 & | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 725 of file ossimSpotDimapSupportData.cpp.
References getInterpolatedLookAngle(), and thePixelLookAngleY.
void ossimSpotDimapSupportData::getPositionEcf | ( | ossim_uint32 | sample, |
ossimEcefPoint & | pe | ||
) | const |
Definition at line 449 of file ossimSpotDimapSupportData.cpp.
References ossimEcefPoint::makeNan(), ossimDpt::samp, theDetectorCount, theImageSize, thePosEcfSamples, x, and y.
void ossimSpotDimapSupportData::getPositionEcf | ( | const ossim_float64 & | time, |
ossimEcefPoint & | pe | ||
) | const |
Definition at line 489 of file ossimSpotDimapSupportData.cpp.
References getBilinearInterpolation(), getLagrangeInterpolation(), theEphSampTimes, thePosEcfSamples, ossimDpt3d::x, ossimDpt3d::y, and ossimDpt3d::z.
ossimString ossimSpotDimapSupportData::getProductionDate | ( | ) | const |
Definition at line 976 of file ossimSpotDimapSupportData.cpp.
References theProductionDate.
void ossimSpotDimapSupportData::getRefGroundPoint | ( | ossimGpt & | gp | ) | const |
Center of frame, sub image if there is one.
Definition at line 1056 of file ossimSpotDimapSupportData.cpp.
References theRefGroundPoint.
void ossimSpotDimapSupportData::getRefImagePoint | ( | ossimDpt & | rp | ) | const |
zero base center point
Definition at line 1061 of file ossimSpotDimapSupportData.cpp.
References theRefImagePoint.
void ossimSpotDimapSupportData::getRefLineTime | ( | ossim_float64 & | rt | ) | const |
Definition at line 1066 of file ossimSpotDimapSupportData.cpp.
References theRefLineTime.
void ossimSpotDimapSupportData::getRefLineTimeLine | ( | ossim_float64 & | rtl | ) | const |
relative to full frame.
Definition at line 1071 of file ossimSpotDimapSupportData.cpp.
References theRefLineTimeLine.
void ossimSpotDimapSupportData::getSceneOrientation | ( | ossim_float64 & | so | ) | const |
Definition at line 1051 of file ossimSpotDimapSupportData.cpp.
References theSceneOrientation.
ossimString ossimSpotDimapSupportData::getSensorID | ( | ) | const |
Definition at line 953 of file ossimSpotDimapSupportData.cpp.
References theSensorID.
ossim_uint32 ossimSpotDimapSupportData::getStepCount | ( | ) | const |
Definition at line 1036 of file ossimSpotDimapSupportData.cpp.
References theStepCount.
void ossimSpotDimapSupportData::getSubImageOffset | ( | ossimDpt & | offset | ) | const |
Definition at line 1116 of file ossimSpotDimapSupportData.cpp.
References theSubImageOffset.
void ossimSpotDimapSupportData::getSunAzimuth | ( | ossim_float64 & | az | ) | const |
Definition at line 1001 of file ossimSpotDimapSupportData.cpp.
References theSunAzimuth.
void ossimSpotDimapSupportData::getSunElevation | ( | ossim_float64 & | el | ) | const |
Definition at line 1006 of file ossimSpotDimapSupportData.cpp.
References theSunElevation.
void ossimSpotDimapSupportData::getUlCorner | ( | ossimGpt & | pt | ) | const |
Definition at line 1091 of file ossimSpotDimapSupportData.cpp.
References theUlCorner.
void ossimSpotDimapSupportData::getUrCorner | ( | ossimGpt & | pt | ) | const |
Definition at line 1096 of file ossimSpotDimapSupportData.cpp.
References theUrCorner.
void ossimSpotDimapSupportData::getVelocityEcf | ( | ossim_uint32 | sample, |
ossimEcefPoint & | ve | ||
) | const |
Definition at line 509 of file ossimSpotDimapSupportData.cpp.
References ossimEcefPoint::makeNan(), ossimDpt::samp, theDetectorCount, theImageSize, theVelEcfSamples, x, and y.
void ossimSpotDimapSupportData::getVelocityEcf | ( | const ossim_float64 & | time, |
ossimEcefPoint & | ve | ||
) | const |
Definition at line 549 of file ossimSpotDimapSupportData.cpp.
References getBilinearInterpolation(), getLagrangeInterpolation(), theEphSampTimes, theVelEcfSamples, ossimDpt3d::x, ossimDpt3d::y, and ossimDpt3d::z.
void ossimSpotDimapSupportData::getViewingAngle | ( | ossim_float64 & | va | ) | const |
Definition at line 1046 of file ossimSpotDimapSupportData.cpp.
References theViewingAngle.
|
private |
Frame points:
From xml section: /Dimap_Document/Dataset_Frame/
Initializes: theRefGroundPoint theUlCorner theUrCorner theLrCorner theLlCorner theViewingAngle
Note that the theRefImagePoint will be the zero based center of the frame.
Definition at line 2747 of file ossimSpotDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), ossimGpt::hgt, ossimGpt::lat, ossimDpt::line, ossimGpt::lon, ossimDpt::samp, ossimErrorStatusInterface::setErrorStatus(), theLlCorner, theLrCorner, theRefGroundPoint, theUlCorner, and theUrCorner.
|
private |
Initializes theImageId.
Definition at line 2556 of file ossimSpotDimapSupportData.cpp.
References ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Initializes theMetadataVersion.
Definition at line 2508 of file ossimSpotDimapSupportData.cpp.
References ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
From xml section: /Dimap_Document/Dataset_Sources/Source_Information/Scene_Source.
Initializes: theSunAzimuth theSunElevation theIncidenceAngle
Definition at line 2582 of file ossimSpotDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
bool ossimSpotDimapSupportData::isStarTrackerUsed | ( | ) | const |
Definition at line 1021 of file ossimSpotDimapSupportData.cpp.
References theStarTrackerUsed.
bool ossimSpotDimapSupportData::isSwirDataUsed | ( | ) | const |
Definition at line 1026 of file ossimSpotDimapSupportData.cpp.
References theSwirDataFlag.
|
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 1437 of file ossimSpotDimapSupportData.cpp.
References ossimKeywordNames::AZIMUTH_ANGLE_KW, clearFields(), createDpt(), createGround(), ossimKeywordNames::ELEVATION_ANGLE_KW, ossimKeywordlist::find(), ossimKeywordNames::IMAGE_DATE_KW, ossimKeywordNames::NUMBER_BANDS_KW, ossimString::string(), theAcquisitionDate, theAttitudeSamples, theAttSampTimes, theDetectorCount, theEphSampTimes, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theLineSamplingPeriod, theLlCorner, theLrCorner, theMetadataFile, theNumBands, thePhysicalBias, thePhysicalGain, thePixelLookAngleX, thePixelLookAngleY, thePosEcfSamples, theProductionDate, theRefGroundPoint, theRefImagePoint, theRefLineTime, theRefLineTimeLine, theSceneOrientation, theSensorID, theSolarIrradiance, theStarTrackerUsed, theStepCount, theSubImageOffset, theSunAzimuth, theSunElevation, theSwirDataFlag, theUlCorner, theUrCorner, theVelEcfSamples, theViewingAngle, ossimString::toDouble(), ossimString::toString(), ossimString::toUInt32(), ossimKeywordNames::TYPE_KW, x, and y.
Referenced by ossimSpot5Model::loadState().
bool ossimSpotDimapSupportData::loadXmlFile | ( | const ossimFilename & | file, |
bool | processSwir = false |
||
) |
Definition at line 240 of file ossimSpotDimapSupportData.cpp.
Referenced by ossimSpot5Model::setupOptimizer().
|
private |
Private parse methods called by loadXml.
These "parse" methods were made simply to split the loadXmlMethod into pieces. This was an attempt to troubleshoot what was thought to be a compiler issue, which turned out to be changed metadata and bad error handling within this code. Since there were lots of debug statements added I am committing this to cvs. DRB 16 Oct. 2005
Definition at line 1672 of file ossimSpotDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Definition at line 1868 of file ossimSpotDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Definition at line 2210 of file ossimSpotDimapSupportData.cpp.
References convertTimeStamp(), ossimXmlDocument::findNodes(), ossimGpt::hgt, ossimGpt::lat, ossimDpt::line, ossimGpt::lon, ossimDpt::samp, ossimErrorStatusInterface::setErrorStatus(), theEphSampTimes, theGeoPosGroundPoints, theGeoPosImagePoints, thePosEcfSamples, theStarTrackerUsed, theVelEcfSamples, ossimDpt3d::x, ossimDpt3d::y, and ossimDpt3d::z.
|
private |
Definition at line 2407 of file ossimSpotDimapSupportData.cpp.
References ossimXmlDocument::findNodes(), ossimNotify(), ossimNotifyLevel_WARN, ossimErrorStatusInterface::setErrorStatus(), theNumBands, thePhysicalBias, thePhysicalGain, and theSolarIrradiance.
void ossimSpotDimapSupportData::printInfo | ( | ostream & | os | ) | const |
Definition at line 916 of file ossimSpotDimapSupportData.cpp.
References theAcquisitionDate, theDetectorCount, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theLlCorner, theLrCorner, theNumBands, thePixelLookAngleX, thePosEcfSamples, theProductionDate, theRefGroundPoint, theSceneOrientation, theStarTrackerUsed, theStepCount, theSubImageOffset, theSunAzimuth, theSunElevation, theUlCorner, theUrCorner, and theViewingAngle.
|
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 1121 of file ossimSpotDimapSupportData.cpp.
References ossimKeywordlist::add(), ossimKeywordNames::AZIMUTH_ANGLE_KW, ossimDatum::code(), ossimGpt::datum(), ossimKeywordNames::ELEVATION_ANGLE_KW, ossimGpt::height(), ossimKeywordNames::IMAGE_DATE_KW, ossimGpt::latd(), ossimGpt::lond(), ossimKeywordNames::NUMBER_BANDS_KW, theAcquisitionDate, theAttitudeSamples, theAttSampTimes, theDetectorCount, theEphSampTimes, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theLineSamplingPeriod, theLlCorner, theLrCorner, theMetadataFile, theNumBands, thePhysicalBias, thePhysicalGain, thePixelLookAngleX, thePixelLookAngleY, thePosEcfSamples, theProductionDate, theRefGroundPoint, theRefImagePoint, theRefLineTime, theRefLineTimeLine, theSceneOrientation, theSensorID, theSolarIrradiance, theStarTrackerUsed, theStepCount, theSubImageOffset, theSunAzimuth, theSunElevation, theSwirDataFlag, theUlCorner, theUrCorner, theVelEcfSamples, theViewingAngle, ossimString::toString(), ossimKeywordNames::TYPE_KW, ossimDpt::x, x, ossimDpt::y, and y.
Referenced by ossimSpot5Model::saveState().
|
private |
Definition at line 277 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getAcquisitionDate(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 269 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), extrapolateAttitude(), getAttitude(), loadState(), and saveState().
|
private |
Definition at line 270 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), extrapolateAttitude(), getAttitude(), getAttSampTime(), getNumAttSamples(), loadState(), and saveState().
|
private |
holds the size of thePixelLookAngleX/Y
Definition at line 266 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getPositionEcf(), getVelocityEcf(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 273 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getEphSampTime(), getNumEphSamples(), getPositionEcf(), getVelocityEcf(), loadState(), parsePart3(), and saveState().
|
private |
Definition at line 293 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getGeoPosPoint(), and parsePart3().
|
private |
Definition at line 292 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getGeoPosPoint(), getNumGeoPosPoints(), and parsePart3().
|
private |
Definition at line 230 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getImageID(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 247 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getEphSampTime(), getImageRect(), getImageSize(), getPositionEcf(), getVelocityEcf(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 243 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getIncidenceAngle(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 233 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getInstrument(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 234 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getInstrumentIndex(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 263 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getLagrangeInterpolation(), getLineSamplingPeriod(), loadState(), and saveState().
|
private |
Definition at line 287 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getLlCorner(), initFramePoints(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 286 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getLrCorner(), initFramePoints(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 231 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getMetadataFile(), loadState(), and saveState().
|
private |
Definition at line 229 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), and getMetadataVersionString().
|
private |
Definition at line 276 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getNumberOfBands(), loadState(), parsePart4(), printInfo(), and saveState().
|
private |
callibration information for radiometric corrections
Definition at line 300 of file ossimSpotDimapSupportData.h.
Referenced by loadState(), parsePart4(), and saveState().
|
private |
Definition at line 301 of file ossimSpotDimapSupportData.h.
Referenced by loadState(), parsePart4(), and saveState().
|
private |
Definition at line 267 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getPixelLookAngleX(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 268 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getPixelLookAngleY(), loadState(), and saveState().
|
private |
Definition at line 271 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getPositionEcf(), loadState(), parsePart3(), printInfo(), and saveState().
|
private |
Definition at line 232 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getProductionDate(), loadState(), printInfo(), and saveState().
|
private |
Center of frame on ground, if sub image it's the center of that.
Definition at line 250 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getRefGroundPoint(), initFramePoints(), loadState(), printInfo(), and saveState().
|
private |
Zero based center of frame.
Definition at line 253 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getRefImagePoint(), loadState(), and saveState().
|
private |
relative to full image
Definition at line 258 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getRefLineTime(), loadState(), and saveState().
|
private |
relative to full image
Definition at line 261 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getRefLineTimeLine(), loadState(), and saveState().
|
private |
Definition at line 245 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getSceneOrientation(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 228 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getSensorID(), loadState(), and saveState().
|
private |
Definition at line 303 of file ossimSpotDimapSupportData.h.
Referenced by loadState(), parsePart4(), and saveState().
|
private |
Definition at line 274 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), isStarTrackerUsed(), loadState(), parsePart3(), printInfo(), and saveState().
|
private |
Definition at line 278 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getStepCount(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 255 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getSubImageOffset(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 241 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getSunAzimuth(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 242 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getSunElevation(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 275 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), isSwirDataUsed(), loadState(), and saveState().
|
private |
Definition at line 284 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getUlCorner(), initFramePoints(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 285 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getUrCorner(), initFramePoints(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 272 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getVelocityEcf(), loadState(), parsePart3(), and saveState().
|
private |
Definition at line 244 of file ossimSpotDimapSupportData.h.
Referenced by clearFields(), getViewingAngle(), loadState(), printInfo(), and saveState().