00001 #ifndef __IMAGEINF_H 00002 #define __IMAGEINF_H 00003 00004 #include "windows_defs.h" 00005 00006 #include <qdom.h> 00007 #include <string> 00008 #include "shape.h" 00009 #include "xmlserializeable.h" 00010 #include "ValidationReport.h" 00011 00041 class GV_EXPORT ImageInf : public XMLSerializeable { 00042 public: 00043 // 2007-06-14 dls - Removed image ID references and functions 00044 //std::string mImageID; //!< Image ID 00045 std::string mInstID; 00046 std::string mOrigID; 00047 std::string mLocURL; 00048 std::string mAquiDateTime; 00049 double mCenterLat; 00050 double mCenterLon; 00051 double mCenterLatUnc; 00052 double mCenterLonUnc; 00053 double mImageAzim; 00054 double mCloudPct; 00055 double mSunAzim; 00056 double mSunElev; 00057 double mInstrument_azimuth; 00058 double mInstrument_zenith; 00059 std::string mProjection; 00060 00061 Node mP1; 00062 Node mP2; 00063 Node mP3; 00064 Node mP4; 00065 00073 ImageInf( ) { 00074 mCenterLat = -999.0f ; 00075 mCenterLon = -999.0f ; 00076 mCenterLatUnc = -999.0f ; 00077 mCenterLonUnc = -999.0f ; 00078 mImageAzim = -999.0f ; 00079 mCloudPct = -999.0f ; 00080 mSunAzim = -999.0f ; 00081 mSunElev = -999.0f ; 00082 mInstrument_azimuth = -999.0f ; 00083 mInstrument_zenith = -999.0f ; 00084 } 00085 00086 virtual ~ImageInf( ) { 00087 } 00088 00089 virtual bool toXML( QDomDocument &doc, 00090 QDomElement &elem, 00091 std::string id = "" ); 00092 00093 virtual bool fromXML( QDomElement &elem ); 00094 00095 00099 bool validate (ValidationReport * valRep) ; 00100 00105 bool validIso8601DateTime (std::string str) ; 00106 00111 bool validIso8601DateTime (QString &str) ; 00112 00113 00114 00115 }; 00116 00117 00118 #endif 00119 00120 00121 00122
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |