Earth Observation Mission CFI Software Visibility Software User Manual |
00001 //-------------------------------------------------------------------- 00002 // CVS Info: $Id: SwathStar.h,v 1.5 2009/04/13 13:50:28 expcfi Exp $ 00003 //-------------------------------------------------------------------- 00004 00005 #ifndef _SWATHSTAR_H 00006 #define _SWATHSTAR_H 00007 00008 //--INCLUDE----------------------------------------------------------- 00009 #include <vector> 00010 #include <string> 00011 00012 #include "VisibilityData.h" 00013 #include "CfiError.h" 00014 #include "OrbitId.h" 00015 #include "VisibilityList.h" 00016 00017 //--NAMESPACES-------------------------------------------------------- 00018 using namespace std; 00019 00020 namespace EECFI 00021 { 00022 00026 class SwathStar: public CfiClass 00027 { 00028 public: 00029 00031 SwathStar(); 00032 00034 SwathStar( const OrbitId &orbitId, 00035 string swathFileUpper, string swathFileLower ) throw (CfiError); 00036 00038 SwathStar( const OrbitId &orbitId, long orbitNum, 00039 string swathFileUpper, string swathFileLower ) throw (CfiError); 00040 00042 ~SwathStar() throw (CfiError); 00043 00045 void set( const OrbitId &orbitId, 00046 string swathFileUpper, string swathFileLower ) throw (CfiError); 00047 00049 void set( const OrbitId &orbitId, long orbitNum, 00050 string swathFileUpper, string swathFileLower ) throw (CfiError); 00051 00054 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00055 string starId, string starDBFile, 00056 double minDuration, 00057 // Output 00058 double &starRaDeg, double &starDecDeg ) throw (CfiError); 00059 00061 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00062 double starRa, double starDec, 00063 double minDuration, 00064 // Output 00065 double &starRaDeg, double &starDecDeg ) throw (CfiError); 00066 00067 protected: 00068 00069 private: 00070 00071 OrbitId orbitId; 00072 long swathFlag; 00073 string swathFileUpper; 00074 string swathFileLower; 00075 00077 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00078 string starId, string starDBFile, 00079 double starRa, double starDec, 00080 double minDuration, 00081 // Output 00082 double &starRaDeg, double &starDecDeg ) throw (CfiError); 00083 00084 }; 00085 00086 } // closing namespace 00087 00088 #endif