Earth Observation Mission CFI Software Visibility Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.4 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: SwathStar.h,v 1.8 2012/06/20 16:11:36 expcfi Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _SWATHSTAR_H 00010 #define _SWATHSTAR_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include <vector> 00014 #include <string> 00015 00016 #include "VisibilityData.h" 00017 #include "CfiError.h" 00018 #include "OrbitId.h" 00019 #include "VisibilityList.h" 00020 00021 //--NAMESPACES-------------------------------------------------------- 00022 using namespace std; 00023 00024 namespace EECFI 00025 { 00026 00030 class SwathStar: public CfiClass 00031 { 00032 public: 00033 00035 SwathStar(); 00036 00038 SwathStar( const OrbitId &orbitId, 00039 string swathFileUpper, string swathFileLower ) throw (CfiError); 00040 00042 SwathStar( const OrbitId &orbitId, long orbitNum, 00043 string swathFileUpper, string swathFileLower ) throw (CfiError); 00044 00046 ~SwathStar() throw (CfiError); 00047 00049 void set( const OrbitId &orbitId, 00050 string swathFileUpper, string swathFileLower ) throw (CfiError); 00051 00053 void set( const OrbitId &orbitId, long orbitNum, 00054 string swathFileUpper, string swathFileLower ) throw (CfiError); 00055 00058 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00059 string starId, string starDBFile, 00060 double minDuration, 00061 // Output 00062 double &starRaDeg, double &starDecDeg ) throw (CfiError); 00063 00065 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00066 double starRa, double starDec, 00067 double minDuration, 00068 // Output 00069 double &starRaDeg, double &starDecDeg ) throw (CfiError); 00070 00071 protected: 00072 00073 private: 00074 00075 OrbitId orbitId; 00076 long swathFlag; 00077 string swathFileUpper; 00078 string swathFileLower; 00079 00081 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00082 string starId, string starDBFile, 00083 double starRa, double starDec, 00084 double minDuration, 00085 // Output 00086 double &starRaDeg, double &starDecDeg ) throw (CfiError); 00087 00088 }; 00089 00090 } // closing namespace 00091 00092 #endif