Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 00003 //-------------------------------------------------------- 00004 00005 //---------------------------------------------------------------- 00006 // CVS Info: $Id: OrbitFile.h,v 1.13 2014-02-20 20:02:23 cavm Exp $ 00007 //---------------------------------------------------------------- 00008 00009 #ifndef _ORBITFILE_H 00010 #define _ORBITFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include "EEFile.h" 00014 #include "OsvRec.h" 00015 #include "CfiError.h" 00016 00017 #include <string> 00018 #include <vector> 00019 00020 //-NAMESPACES------------------------------------------ 00021 00022 namespace EECFI 00023 { 00024 00028 class XD_DECL OrbitFile:public EEFile 00029 { 00030 public: 00031 00032 std::vector<OsvRec> osvRec; 00033 00035 OrbitFile(); 00036 00038 explicit OrbitFile(const std::string &fileNam); 00039 00041 ~OrbitFile() NOEXCEPT; 00042 00044 void read(const bool readFroFlag, 00045 const bool readingOsvFlag) ; 00046 00048 void read(const bool readFroFlag, 00049 const double startRange, 00050 const double stopRange, 00051 const bool readingOsvFlag) ; 00052 00054 void read(const bool readFroFlag, 00055 const long timeRef, 00056 const double startRange, 00057 const double stopRange, 00058 const bool readingOsvFlag) ; 00059 00061 void write( const std::string &fileNam, 00062 const FixedHeader &fixedHead, 00063 const std::vector<OsvRec> &osvData) ; 00064 00072 void decimate( double decimationDeltaTime, 00073 OrbitFile &osvOut ) ; 00074 00076 long xsltAdd() ; /* AN-546 */ 00077 00078 00079 protected: 00080 00081 private: 00082 00083 00084 };//class OrbitFile 00085 }//namespace EECFI 00086 00087 #endif