![]() |
Earth Observation Mission CFI Software Pointing Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.20 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------------- 00006 // CVS Info: $Id: DemId.h,v 1.11 2014-02-20 20:02:33 cavm Exp $ 00007 //-------------------------------------------------------------------- 00008 00009 #ifndef _DEMID_H 00010 #define _DEMID_H 00011 00012 //--INCLUDE----------------------------------------------------------- 00013 #include <CfiError.h> 00014 #include <CfiId.h> 00015 #include <DemConfFile.h> 00016 #include <ModelId.h> 00017 #include <PointingData.h> 00018 #include <SatId.h> 00019 #include <string> 00020 #include <vector> 00021 00022 //--NAMESPACES-------------------------------------------------------- 00023 00024 namespace EECFI 00025 { 00029 class XP_DECL DemInfo 00030 { 00031 public: 00033 DemInfo(){}; 00034 00036 ~DemInfo() NOEXCEPT{}; 00037 00039 long demModel; // According to DemModelEnum 00040 long dataSource; // According to DemGetasseDataSourceEnum and DemAce2DataSourceEnum 00041 }; 00042 00046 class XP_DECL DemId : public CfiId 00047 { 00048 friend class Target; 00049 00050 public: 00052 DemId(); 00053 00055 ~DemId() EXCEPT; 00056 00058 void init(long mode, long model, const std::string& demFile); 00059 00061 double compute(const ModelId& modelId, double lon, double lat) const; 00062 00064 SatId satId() const; 00065 00067 DemConfFile getData() const; 00068 00070 DemInfo getInfo(const ModelId& modelId, double lon, double lat) const; 00071 00073 void configure(const DemIdConfig& config); // AN-487 00074 00076 double getCellValue(long row, 00077 long column) const; 00078 00080 void getCellGeod(long row, 00081 long column, 00082 double& lat, 00083 double& lon) const; 00084 00086 void operator=(const DemId& demIdIn); // AN-872 00087 00088 protected: 00090 void eraseObject(); 00091 00093 GenericId* getId() const; 00094 00095 private: 00096 }; 00097 00098 } // namespace EECFI 00099 00100 #endif