Earth Observation Mission CFI Software Visibility Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.21 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 00042 ~SwathStar() NOEXCEPT; 00043 00045 void set(const OrbitId& orbitId, 00046 const std::string& swathFileUpper, 00047 const std::string& swathFileLower); 00048 00050 void set(const OrbitId& orbitId, long orbitNum, const std::string& swathFileUpper, const std::string& swathFileLower); 00051 00054 VisibilityList starVisTime(long startOrbit, long stopOrbit, const std::string& starId, const std::string& starDBFile, double minDuration, 00055 // Output 00056 double& starRaDeg, 00057 double& starDecDeg) const; 00058 00060 VisibilityList starVisTime(long startOrbit, long stopOrbit, double starRa, double starDec, double minDuration, 00061 // Output 00062 double& starRaDeg, 00063 double& starDecDeg) const; 00064 00065 protected: 00066 private: 00067 OrbitId orbitId; 00068 long swathFlag; 00069 std::string swathFileUpper; 00070 std::string swathFileLower; 00071 00073 VisibilityList starVisTime(long startOrbit, long stopOrbit, const std::string& starId, const std::string& starDBFile, double starRa, double starDec, double minDuration, 00074 // Output 00075 double& starRaDeg, 00076 double& starDecDeg) const; 00077 }; 00078 00079 } // namespace EECFI 00080 00081 #endif