![]() |
Earth Observation Mission CFI Software Pointing Software User Manual |
![]() |
00001 //-------------------------------------------------------------------- 00002 // CVS Info: $Id: DemId.h,v 1.4 2009/04/13 13:46:50 expcfi Exp $ 00003 //-------------------------------------------------------------------- 00004 00005 #ifndef _DEMID_H 00006 #define _DEMID_H 00007 00008 //--INCLUDE----------------------------------------------------------- 00009 #include <vector> 00010 #include <string> 00011 00012 #include "PointingData.h" 00013 #include "CfiError.h" 00014 #include "CfiId.h" 00015 #include "SatId.h" 00016 #include "ModelId.h" 00017 #include "DemConfFile.h" 00018 00019 //--NAMESPACES-------------------------------------------------------- 00020 using namespace std; 00021 00022 namespace EECFI 00023 { 00024 00028 class DemId: public CfiId 00029 { 00030 friend class Target; 00031 00032 public: 00033 00035 DemId(); 00036 00038 ~DemId() throw (CfiError); 00039 00041 void init( long mode, long model, const string demFile ) throw (CfiError); 00042 00044 double compute( const ModelId &modelId, double lon, double lat ) const throw (CfiError); 00045 00047 SatId satId() const; 00048 00050 DemConfFile getData() const throw (CfiError); 00051 00052 protected: 00053 00055 GenericId* getId(); 00056 00057 private: 00058 00059 }; 00060 00061 } // closing namespace 00062 00063 #endif