| Earth Observation Mission CFI Software Pointing Software User Manual |

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# Z:/work/code/expcfidev/cplusplusWrapper/Pointing/include/DemId.h

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.4
    00003 //--------------------------------------------------------
    00004
    00005 //--------------------------------------------------------------------
    00006 // CVS Info: $Id: DemId.h,v 1.8 2012/06/20 16:11:28 expcfi Exp $
    00007 //--------------------------------------------------------------------
    00008
    00009 #ifndef _DEMID_H
    00010 #define _DEMID_H
    00011
    00012 //--INCLUDE-----------------------------------------------------------
    00013 #include <vector>
    00014 #include <string>
    00015
    00016 #include "PointingData.h"
    00017 #include "CfiError.h"
    00018 #include "CfiId.h"
    00019 #include "SatId.h"
    00020 #include "ModelId.h"
    00021 #include "DemConfFile.h"
    00022
    00023 //--NAMESPACES--------------------------------------------------------
    00024 using namespace std;
    00025
    00026 namespace EECFI
    00027 {
    00031   class DemInfo
    00032   {
    00033     public:
    00034
    00036       DemInfo(){};
    00037
    00039       ~DemInfo(){};
    00040
    00042       long  demModel;    // According to DemModelEnum
    00043       long  dataSource;  // According to DemGetasseDataSourceEnum and DemAce2DataSourceEnum
    00044
    00045   };
    00046
    00050   class DemId: public CfiId
    00051   {
    00052     friend class Target;
    00053
    00054     public:
    00055
    00057       DemId();
    00058
    00060       ~DemId() throw (CfiError);
    00061
    00063       void init( long mode, long model, const string demFile ) throw (CfiError);
    00064
    00066       double compute( const ModelId &modelId, double lon, double lat ) const throw (CfiError);
    00067
    00069       SatId satId() const;
    00070
    00072       DemConfFile getData() const throw (CfiError);
    00073
    00075       DemInfo getInfo(const ModelId &modelId, double lon, double lat ) const throw (CfiError);
    00076
    00078       void configure(DemIdConfig &config) throw (CfiError); // AN-487
    00079
    00080     protected:
    00081
    00083       GenericId* getId();
    00084
    00085     private:
    00086
    00087   };
    00088
    00089 } // closing namespace
    00090
    00091 #endif