Earth Observation Mission CFI Software Visibility Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 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 <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 00023 namespace EECFI 00024 { 00025 00029 class XV_DECL SwathStar: public CfiClass 00030 { 00031 public: 00032 00034 SwathStar(); 00035 00037 SwathStar( const OrbitId &orbitId, 00038 const std::string &swathFileUpper, const std::string &swathFileLower ) ; 00039 00041 SwathStar( const OrbitId &orbitId, long orbitNum, 00042 const std::string &swathFileUpper, const std::string &swathFileLower ) ; 00043 00045 ~SwathStar() NOEXCEPT; 00046 00048 void set( const OrbitId &orbitId, 00049 const std::string &swathFileUpper, const std::string &swathFileLower ) ; 00050 00052 void set( const OrbitId &orbitId, long orbitNum, 00053 const std::string &swathFileUpper, const std::string &swathFileLower ) ; 00054 00057 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00058 const std::string &starId, const std::string &starDBFile, 00059 double minDuration, 00060 // Output 00061 double &starRaDeg, double &starDecDeg ) const; 00062 00064 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00065 double starRa, double starDec, 00066 double minDuration, 00067 // Output 00068 double &starRaDeg, double &starDecDeg ) const; 00069 00070 protected: 00071 00072 private: 00073 00074 OrbitId orbitId; 00075 long swathFlag; 00076 std::string swathFileUpper; 00077 std::string swathFileLower; 00078 00080 VisibilityList starVisTime( long startOrbit, long stopOrbit, 00081 const std::string &starId, const std::string &starDBFile, 00082 double starRa, double starDec, 00083 double minDuration, 00084 // Output 00085 double &starRaDeg, double &starDecDeg ) const; 00086 00087 }; 00088 00089 } // closing namespace 00090 00091 #endif