Earth Observation Mission CFI Software Visibility Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.26 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: SwathStar.h,v 1.11 2014-02-20 20:02:37 cavm Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef SWATHSTAR_H 00010 #define SWATHSTAR_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include <CfiError.h> 00014 #include <OrbitId.h> 00015 #include <VisibilityData.h> 00016 #include <VisibilityList.h> 00017 #include <string> 00018 #include <vector> 00019 00020 //--NAMESPACES-------------------------------------------------------- 00021 00022 namespace EECFI 00023 { 00027 class XV_DECL SwathStar : public CfiClass 00028 { 00029 public: 00031 SwathStar(); 00032 00034 SwathStar(const OrbitId& orbitId, 00035 const std::string& swathFileUpper, 00036 const std::string& swathFileLower); 00037 00039 SwathStar(const OrbitId& orbitId, long orbitNum, const std::string& swathFileUpper, const std::string& swathFileLower); 00040 00043 SwathStar(const SwathStar& other); 00044 00046 ~SwathStar() NOEXCEPT; 00047 00050 SwathStar& operator=(const SwathStar& other); 00051 00053 void set(const OrbitId& orbitId, 00054 const std::string& swathFileUpper, 00055 const std::string& swathFileLower); 00056 00058 void set(const OrbitId& orbitId, long orbitNum, const std::string& swathFileUpper, const std::string& swathFileLower); 00059 00062 VisibilityList starVisTime(long startOrbit, long stopOrbit, const std::string& starId, const std::string& starDBFile, double minDuration, 00063 // Output 00064 double& starRaDeg, 00065 double& starDecDeg) const; 00066 00068 VisibilityList starVisTime(long startOrbit, long stopOrbit, double starRa, double starDec, double minDuration, 00069 // Output 00070 double& starRaDeg, 00071 double& starDecDeg) const; 00072 00073 protected: 00074 private: 00075 OrbitId orbitId; 00076 long swathFlag; 00077 std::string swathFileUpper; 00078 std::string swathFileLower; 00079 00081 VisibilityList starVisTime(long startOrbit, long stopOrbit, const std::string& starId, const std::string& starDBFile, double starRa, double starDec, double minDuration, 00082 // Output 00083 double& starRaDeg, 00084 double& starDecDeg) const; 00085 }; 00086 00087 } // namespace EECFI 00088 00089 #endif