OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimFormosatDimapSupportData.h>
Public Types | |
enum | ossimFormosatMetadataVersion { OSSIM_FORMOSAT_METADATA_VERSION_UNKNOWN = 0, OSSIM_FORMOSAT_METADATA_VERSION_1_0 = 1, OSSIM_FORMOSAT_METADATA_VERSION_1_1 = 2 } |
metadata.dim format version More... | |
Public Member Functions | |
ossimFormosatDimapSupportData () | |
ossimFormosatDimapSupportData (const ossimFormosatDimapSupportData &rhs) | |
ossimFormosatDimapSupportData (const ossimFilename &dimapFile) | |
virtual ossimObject * | dup () const |
void | clearFields () |
bool | loadXmlFile (const ossimFilename &file) |
ossimString | getSensorID () const |
ossimString | getMetadataVersionString () const |
ossimString | getAcquisitionDate () const |
ossimString | getProductionDate () const |
ossimString | getSoftwareVersion () 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 | getSatAzimuth (ossim_float64 &az) 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 | getViewingAngleAlongTrack (ossim_float64 &va) const |
void | getViewingAngleAcrossTrack (ossim_float64 &va) const |
void | getSceneOrientation (ossim_float64 &so) const |
ossim_uint32 | getNumberOfBands () 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 | ~ossimFormosatDimapSupportData () |
![]() | |
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... | |
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 ossimFormosatDimapSupportData.h.
metadata.dim format version
Enumerator | |
---|---|
OSSIM_FORMOSAT_METADATA_VERSION_UNKNOWN | |
OSSIM_FORMOSAT_METADATA_VERSION_1_0 | |
OSSIM_FORMOSAT_METADATA_VERSION_1_1 |
Definition at line 42 of file ossimFormosatDimapSupportData.h.
ossimFormosatDimapSupportData::ossimFormosatDimapSupportData | ( | ) |
Definition at line 33 of file ossimFormosatDimapSupportData.cpp.
Referenced by dup().
ossimFormosatDimapSupportData::ossimFormosatDimapSupportData | ( | const ossimFormosatDimapSupportData & | rhs | ) |
Definition at line 74 of file ossimFormosatDimapSupportData.cpp.
ossimFormosatDimapSupportData::ossimFormosatDimapSupportData | ( | const ossimFilename & | dimapFile | ) |
Definition at line 115 of file ossimFormosatDimapSupportData.cpp.
|
protectedvirtual |
Definition at line 173 of file ossimFormosatDimapSupportData.cpp.
void ossimFormosatDimapSupportData::clearFields | ( | ) |
Definition at line 182 of file ossimFormosatDimapSupportData.cpp.
References ossimErrorStatusInterface::clearErrorStatus(), ossimDpt::makeNan(), ossimGpt::makeNan(), ossim::nan(), OSSIM_FORMOSAT_METADATA_VERSION_UNKNOWN, theAcquisitionDate, theAttitudeSamples, theAttSampTimes, theEphSampTimes, theFrameVertexPosGroundPoints, theFrameVertexPosImagePoints, theGeoPosGroundPoints, theGeoPosImagePoints, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theLineSamplingPeriod, theMetadataFile, theMetadataVersion, theNumBands, thePolynomialLookAngleX, thePolynomialLookAngleY, thePosEcfSamples, theProductionDate, theRefGroundPoint, theRefImagePoint, theRefLineTime, theRefLineTimeLine, theSatAzimuth, theSceneOrientation, theSensorID, theSoftwareVersion, theStarTrackerUsed, theSubImageOffset, theSunAzimuth, theSunElevation, theVelEcfSamples, theViewingAngle, theViewingAngleAcrossTrack, and theViewingAngleAlongTrack.
Referenced by loadState().
|
private |
Definition at line 747 of file ossimFormosatDimapSupportData.cpp.
|
private |
Definition at line 754 of file ossimFormosatDimapSupportData.cpp.
References ossim::nan(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Definition at line 1492 of file ossimFormosatDimapSupportData.cpp.
Referenced by loadState().
|
private |
Definition at line 1477 of file ossimFormosatDimapSupportData.cpp.
References ossimDatumFactory::create(), ossimDatumFactory::instance(), and ossimString::toDouble().
Referenced by loadState().
|
virtual |
Reimplemented from ossimObject.
Definition at line 177 of file ossimFormosatDimapSupportData.cpp.
References ossimFormosatDimapSupportData().
Referenced by ossimplugins::ossimFormosatModel::ossimFormosatModel().
ossimString ossimFormosatDimapSupportData::getAcquisitionDate | ( | ) | const |
Definition at line 844 of file ossimFormosatDimapSupportData.cpp.
References theAcquisitionDate.
void ossimFormosatDimapSupportData::getAttitude | ( | ossim_uint32 | sample, |
ossimDpt3d & | at | ||
) | const |
Definition at line 536 of file ossimFormosatDimapSupportData.cpp.
References ossimDpt3d::makeNan(), and theAttitudeSamples.
void ossimFormosatDimapSupportData::getAttitude | ( | const ossim_float64 & | time, |
ossimDpt3d & | at | ||
) | const |
Definition at line 548 of file ossimFormosatDimapSupportData.cpp.
References ossimDpt3d::makeNan(), theAttitudeSamples, and theAttSampTimes.
void ossimFormosatDimapSupportData::getAttSampTime | ( | ossim_uint32 | sample, |
ossim_float64 & | at | ||
) | const |
Definition at line 582 of file ossimFormosatDimapSupportData.cpp.
References ossim::nan(), and theAttSampTimes.
|
private |
Definition at line 635 of file ossimFormosatDimapSupportData.cpp.
Referenced by getPositionEcf(), and getVelocityEcf().
void ossimFormosatDimapSupportData::getEphSampTime | ( | ossim_uint32 | sample, |
ossim_float64 & | et | ||
) | const |
Definition at line 502 of file ossimFormosatDimapSupportData.cpp.
References ossim::nan(), ossimDpt::samp, theEphSampTimes, and theImageSize.
void ossimFormosatDimapSupportData::getGeoPosPoint | ( | ossim_uint32 | point, |
ossimDpt & | ip, | ||
ossimGpt & | gp | ||
) | const |
Definition at line 780 of file ossimFormosatDimapSupportData.cpp.
References theGeoPosGroundPoints, and theGeoPosImagePoints.
ossimString ossimFormosatDimapSupportData::getImageID | ( | ) | const |
Definition at line 859 of file ossimFormosatDimapSupportData.cpp.
References theImageID.
void ossimFormosatDimapSupportData::getImageRect | ( | ossimDrect & | rect | ) | const |
Zero based image rectangle, sub image if there is one.
Definition at line 975 of file ossimFormosatDimapSupportData.cpp.
References theImageSize, ossimDpt::x, and ossimDpt::y.
void ossimFormosatDimapSupportData::getImageSize | ( | ossimDpt & | sz | ) | const |
Definition at line 894 of file ossimFormosatDimapSupportData.cpp.
References theImageSize.
void ossimFormosatDimapSupportData::getIncidenceAngle | ( | ossim_float64 & | ia | ) | const |
Definition at line 915 of file ossimFormosatDimapSupportData.cpp.
References theIncidenceAngle.
ossimString ossimFormosatDimapSupportData::getInstrument | ( | ) | const |
Definition at line 869 of file ossimFormosatDimapSupportData.cpp.
References theInstrument.
ossim_uint32 ossimFormosatDimapSupportData::getInstrumentIndex | ( | ) | const |
Definition at line 874 of file ossimFormosatDimapSupportData.cpp.
References theInstrumentIndex.
|
private |
Definition at line 619 of file ossimFormosatDimapSupportData.cpp.
References ossim::nan(), and ossimErrorStatusInterface::setErrorStatus().
Referenced by getPixelLookAngleX(), and getPixelLookAngleY().
|
private |
Definition at line 660 of file ossimFormosatDimapSupportData.cpp.
References ossimDpt3d::makeNan(), ossimErrorStatusInterface::setErrorStatus(), and theLineSamplingPeriod.
Referenced by getPositionEcf(), and getVelocityEcf().
void ossimFormosatDimapSupportData::getLineSamplingPeriod | ( | ossim_float64 & | pe | ) | const |
Definition at line 899 of file ossimFormosatDimapSupportData.cpp.
References theLineSamplingPeriod.
void ossimFormosatDimapSupportData::getLlCorner | ( | ossimGpt & | pt | ) | const |
void ossimFormosatDimapSupportData::getLrCorner | ( | ossimGpt & | pt | ) | const |
ossimFilename ossimFormosatDimapSupportData::getMetadataFile | ( | ) | const |
Definition at line 864 of file ossimFormosatDimapSupportData.cpp.
References theMetadataFile.
ossimString ossimFormosatDimapSupportData::getMetadataVersionString | ( | ) | const |
Definition at line 831 of file ossimFormosatDimapSupportData.cpp.
References OSSIM_FORMOSAT_METADATA_VERSION_1_0, OSSIM_FORMOSAT_METADATA_VERSION_1_1, and theMetadataVersion.
ossim_uint32 ossimFormosatDimapSupportData::getNumAttSamples | ( | ) | const |
Definition at line 965 of file ossimFormosatDimapSupportData.cpp.
References theAttSampTimes.
ossim_uint32 ossimFormosatDimapSupportData::getNumberOfBands | ( | ) | const |
Definition at line 909 of file ossimFormosatDimapSupportData.cpp.
References theNumBands.
ossim_uint32 ossimFormosatDimapSupportData::getNumEphSamples | ( | ) | const |
Definition at line 960 of file ossimFormosatDimapSupportData.cpp.
References theEphSampTimes.
ossim_uint32 ossimFormosatDimapSupportData::getNumGeoPosPoints | ( | ) | const |
Definition at line 970 of file ossimFormosatDimapSupportData.cpp.
References theGeoPosImagePoints.
void ossimFormosatDimapSupportData::getPixelLookAngleX | ( | ossim_uint32 | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 593 of file ossimFormosatDimapSupportData.cpp.
References getInterpolatedLookAngle(), and thePolynomialLookAngleX.
void ossimFormosatDimapSupportData::getPixelLookAngleX | ( | const ossim_float64 & | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 599 of file ossimFormosatDimapSupportData.cpp.
References getInterpolatedLookAngle(), and thePolynomialLookAngleX.
void ossimFormosatDimapSupportData::getPixelLookAngleY | ( | ossim_uint32 | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 606 of file ossimFormosatDimapSupportData.cpp.
References getInterpolatedLookAngle(), and thePolynomialLookAngleY.
void ossimFormosatDimapSupportData::getPixelLookAngleY | ( | const ossim_float64 & | sample, |
ossim_float64 & | pa | ||
) | const |
Definition at line 612 of file ossimFormosatDimapSupportData.cpp.
References getInterpolatedLookAngle(), and thePolynomialLookAngleY.
void ossimFormosatDimapSupportData::getPositionEcf | ( | ossim_uint32 | sample, |
ossimEcefPoint & | pe | ||
) | const |
Definition at line 444 of file ossimFormosatDimapSupportData.cpp.
References ossimEcefPoint::makeNan(), thePosEcfSamples, x, and y.
void ossimFormosatDimapSupportData::getPositionEcf | ( | const ossim_float64 & | time, |
ossimEcefPoint & | pe | ||
) | const |
Definition at line 454 of file ossimFormosatDimapSupportData.cpp.
References getBilinearInterpolation(), getLagrangeInterpolation(), theEphSampTimes, thePosEcfSamples, ossimDpt3d::x, ossimDpt3d::y, and ossimDpt3d::z.
ossimString ossimFormosatDimapSupportData::getProductionDate | ( | ) | const |
Definition at line 849 of file ossimFormosatDimapSupportData.cpp.
References theProductionDate.
void ossimFormosatDimapSupportData::getRefGroundPoint | ( | ossimGpt & | gp | ) | const |
Center of frame, sub image if there is one.
Definition at line 940 of file ossimFormosatDimapSupportData.cpp.
References theRefGroundPoint.
void ossimFormosatDimapSupportData::getRefImagePoint | ( | ossimDpt & | rp | ) | const |
zero base center point
Definition at line 945 of file ossimFormosatDimapSupportData.cpp.
References theRefImagePoint.
void ossimFormosatDimapSupportData::getRefLineTime | ( | ossim_float64 & | rt | ) | const |
Definition at line 950 of file ossimFormosatDimapSupportData.cpp.
References theRefLineTime.
void ossimFormosatDimapSupportData::getRefLineTimeLine | ( | ossim_float64 & | rtl | ) | const |
relative to full frame.
Definition at line 955 of file ossimFormosatDimapSupportData.cpp.
References theRefLineTimeLine.
void ossimFormosatDimapSupportData::getSatAzimuth | ( | ossim_float64 & | az | ) | const |
Definition at line 889 of file ossimFormosatDimapSupportData.cpp.
References theSatAzimuth.
void ossimFormosatDimapSupportData::getSceneOrientation | ( | ossim_float64 & | so | ) | const |
Definition at line 935 of file ossimFormosatDimapSupportData.cpp.
References theSceneOrientation.
ossimString ossimFormosatDimapSupportData::getSensorID | ( | ) | const |
Definition at line 826 of file ossimFormosatDimapSupportData.cpp.
References theSensorID.
ossimString ossimFormosatDimapSupportData::getSoftwareVersion | ( | ) | const |
Definition at line 854 of file ossimFormosatDimapSupportData.cpp.
References theSoftwareVersion.
void ossimFormosatDimapSupportData::getSubImageOffset | ( | ossimDpt & | offset | ) | const |
Definition at line 980 of file ossimFormosatDimapSupportData.cpp.
References theSubImageOffset.
void ossimFormosatDimapSupportData::getSunAzimuth | ( | ossim_float64 & | az | ) | const |
Definition at line 879 of file ossimFormosatDimapSupportData.cpp.
References theSunAzimuth.
void ossimFormosatDimapSupportData::getSunElevation | ( | ossim_float64 & | el | ) | const |
Definition at line 884 of file ossimFormosatDimapSupportData.cpp.
References theSunElevation.
void ossimFormosatDimapSupportData::getUlCorner | ( | ossimGpt & | pt | ) | const |
void ossimFormosatDimapSupportData::getUrCorner | ( | ossimGpt & | pt | ) | const |
void ossimFormosatDimapSupportData::getVelocityEcf | ( | ossim_uint32 | sample, |
ossimEcefPoint & | ve | ||
) | const |
Definition at line 474 of file ossimFormosatDimapSupportData.cpp.
References ossimEcefPoint::makeNan(), theVelEcfSamples, x, and y.
void ossimFormosatDimapSupportData::getVelocityEcf | ( | const ossim_float64 & | time, |
ossimEcefPoint & | ve | ||
) | const |
Definition at line 482 of file ossimFormosatDimapSupportData.cpp.
References getBilinearInterpolation(), getLagrangeInterpolation(), theEphSampTimes, theVelEcfSamples, ossimDpt3d::x, ossimDpt3d::y, and ossimDpt3d::z.
void ossimFormosatDimapSupportData::getViewingAngle | ( | ossim_float64 & | va | ) | const |
Definition at line 920 of file ossimFormosatDimapSupportData.cpp.
References theViewingAngle.
void ossimFormosatDimapSupportData::getViewingAngleAcrossTrack | ( | ossim_float64 & | va | ) | const |
Definition at line 930 of file ossimFormosatDimapSupportData.cpp.
References theViewingAngleAcrossTrack.
void ossimFormosatDimapSupportData::getViewingAngleAlongTrack | ( | ossim_float64 & | va | ) | const |
Definition at line 925 of file ossimFormosatDimapSupportData.cpp.
References theViewingAngleAlongTrack.
|
private |
Frame points:
From xml section: /Dimap_Document/Dataset_Frame/
Initializes: theRefGroundPoint theViewingAngle theViewingAngleAlongTrack theViewingAngleAcrossTrack
Note that the theRefImagePoint will be the zero based center of the frame.
Definition at line 2575 of file ossimFormosatDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), ossimGpt::hgt, ossimGpt::lat, ossimDpt::line, ossimGpt::lon, ossimDpt::samp, ossimErrorStatusInterface::setErrorStatus(), theFrameVertexPosGroundPoints, theFrameVertexPosImagePoints, and theRefGroundPoint.
|
private |
Initializes theImageId.
Definition at line 2370 of file ossimFormosatDimapSupportData.cpp.
References ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Initializes theMetadataVersion.
Definition at line 2322 of file ossimFormosatDimapSupportData.cpp.
References ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
From xml section: /Dimap_Document/Dataset_Sources/Source_Information/Scene_Source.
Initializes: theSunAzimuth theSunElevation theSatAzimuth; theIncidenceAngle
Definition at line 2396 of file ossimFormosatDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
bool ossimFormosatDimapSupportData::isStarTrackerUsed | ( | ) | const |
Definition at line 904 of file ossimFormosatDimapSupportData.cpp.
References theStarTrackerUsed.
bool ossimFormosatDimapSupportData::isSwirDataUsed | ( | ) | const |
|
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 1275 of file ossimFormosatDimapSupportData.cpp.
References ossimKeywordNames::AZIMUTH_ANGLE_KW, clearFields(), createDpt(), createGround(), ossimKeywordNames::ELEVATION_ANGLE_KW, ossimKeywordlist::find(), ossimKeywordNames::IMAGE_DATE_KW, ossimKeywordNames::NUMBER_BANDS_KW, theAcquisitionDate, theAttitudeSamples, theAttSampTimes, theEphSampTimes, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theLineSamplingPeriod, theMetadataFile, theNumBands, thePhysicalBias, thePhysicalGain, thePolynomialLookAngleX, thePolynomialLookAngleY, thePosEcfSamples, theProductionDate, theRefGroundPoint, theRefImagePoint, theRefLineTime, theRefLineTimeLine, theSatAzimuth, theSceneOrientation, theSensorID, theSoftwareVersion, theSolarIrradiance, theStarTrackerUsed, theSubImageOffset, theSunAzimuth, theSunElevation, theVelEcfSamples, theViewingAngle, theViewingAngleAcrossTrack, theViewingAngleAlongTrack, ossimString::toDouble(), ossimString::toString(), ossimKeywordNames::TYPE_KW, x, and y.
bool ossimFormosatDimapSupportData::loadXmlFile | ( | const ossimFilename & | file | ) |
Definition at line 236 of file ossimFormosatDimapSupportData.cpp.
Referenced by ossimplugins::ossimPluginProjectionFactory::createProjection(), and ossimplugins::ossimFormosatModel::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 1504 of file ossimFormosatDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Definition at line 1706 of file ossimFormosatDimapSupportData.cpp.
References ossimString::clear(), ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::setErrorStatus().
|
private |
Definition at line 1994 of file ossimFormosatDimapSupportData.cpp.
References ossimXmlDocument::findNodes(), ossimErrorStatusInterface::setErrorStatus(), theEphSampTimes, thePosEcfSamples, and theVelEcfSamples.
|
private |
Definition at line 2198 of file ossimFormosatDimapSupportData.cpp.
References ossimXmlDocument::findNodes(), ossimErrorStatusInterface::setErrorStatus(), theNumBands, thePhysicalBias, and thePhysicalGain.
void ossimFormosatDimapSupportData::printInfo | ( | ostream & | os | ) | const |
Definition at line 791 of file ossimFormosatDimapSupportData.cpp.
References theAcquisitionDate, theFrameVertexPosImagePoints, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theNumBands, thePolynomialLookAngleX, thePosEcfSamples, theProductionDate, theRefGroundPoint, theSatAzimuth, theSceneOrientation, theSoftwareVersion, theStarTrackerUsed, theSubImageOffset, theSunAzimuth, theSunElevation, theViewingAngle, theViewingAngleAcrossTrack, and theViewingAngleAlongTrack.
|
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 985 of file ossimFormosatDimapSupportData.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, theEphSampTimes, theImageID, theImageSize, theIncidenceAngle, theInstrument, theInstrumentIndex, theLineSamplingPeriod, theMetadataFile, theNumBands, thePhysicalBias, thePhysicalGain, thePolynomialLookAngleX, thePolynomialLookAngleY, thePosEcfSamples, theProductionDate, theRefGroundPoint, theRefImagePoint, theRefLineTime, theRefLineTimeLine, theSatAzimuth, theSceneOrientation, theSensorID, theSoftwareVersion, theSolarIrradiance, theStarTrackerUsed, theSubImageOffset, theSunAzimuth, theSunElevation, theVelEcfSamples, theViewingAngle, theViewingAngleAcrossTrack, theViewingAngleAlongTrack, ossimString::toString(), ossimKeywordNames::TYPE_KW, ossimDpt::x, x, ossimDpt::y, and y.
|
private |
Definition at line 275 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getAcquisitionDate(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 268 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getAttitude(), loadState(), and saveState().
|
private |
Definition at line 269 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getAttitude(), getAttSampTime(), getNumAttSamples(), loadState(), and saveState().
|
private |
Definition at line 272 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getEphSampTime(), getNumEphSamples(), getPositionEcf(), getVelocityEcf(), loadState(), parsePart3(), and saveState().
|
private |
Definition at line 286 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), and initFramePoints().
|
private |
Definition at line 285 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), initFramePoints(), and printInfo().
|
private |
Definition at line 293 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), and getGeoPosPoint().
|
private |
Definition at line 292 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getGeoPosPoint(), and getNumGeoPosPoints().
|
private |
Definition at line 226 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getImageID(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 247 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getEphSampTime(), getImageRect(), getImageSize(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 241 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getIncidenceAngle(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 230 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getInstrument(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 231 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getInstrumentIndex(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 263 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getLagrangeInterpolation(), getLineSamplingPeriod(), loadState(), and saveState().
|
private |
Definition at line 227 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getMetadataFile(), loadState(), and saveState().
|
private |
Definition at line 225 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), and getMetadataVersionString().
|
private |
Definition at line 274 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getNumberOfBands(), loadState(), parsePart4(), printInfo(), and saveState().
|
private |
callibration information for radiometric corrections
Definition at line 300 of file ossimFormosatDimapSupportData.h.
Referenced by loadState(), parsePart4(), and saveState().
|
private |
Definition at line 301 of file ossimFormosatDimapSupportData.h.
Referenced by loadState(), parsePart4(), and saveState().
|
private |
holds the size of thePixelLookAngleX/Y
Definition at line 266 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getPixelLookAngleX(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 267 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getPixelLookAngleY(), loadState(), and saveState().
|
private |
Definition at line 270 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getPositionEcf(), loadState(), parsePart3(), printInfo(), and saveState().
|
private |
Definition at line 228 of file ossimFormosatDimapSupportData.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 ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getRefGroundPoint(), initFramePoints(), loadState(), printInfo(), and saveState().
|
private |
Zero based center of frame.
Definition at line 253 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getRefImagePoint(), loadState(), and saveState().
|
private |
relative to full image
Definition at line 258 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getRefLineTime(), loadState(), and saveState().
|
private |
relative to full image
Definition at line 261 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getRefLineTimeLine(), loadState(), and saveState().
|
private |
Definition at line 240 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getSatAzimuth(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 245 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getSceneOrientation(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 224 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getSensorID(), loadState(), and saveState().
|
private |
Definition at line 229 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getSoftwareVersion(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 303 of file ossimFormosatDimapSupportData.h.
Referenced by loadState(), and saveState().
|
private |
Definition at line 273 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), isStarTrackerUsed(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 255 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getSubImageOffset(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 238 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getSunAzimuth(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 239 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getSunElevation(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 271 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getVelocityEcf(), loadState(), parsePart3(), and saveState().
|
private |
Definition at line 242 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getViewingAngle(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 244 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getViewingAngleAcrossTrack(), loadState(), printInfo(), and saveState().
|
private |
Definition at line 243 of file ossimFormosatDimapSupportData.h.
Referenced by clearFields(), getViewingAngleAlongTrack(), loadState(), printInfo(), and saveState().