DEIMOS
Earth Observation Mission CFI Software
Pointing Software User Manual
ESA

EECFI::DemId Class Reference

Class for the DEM parameters. More...

Inheritance diagram for EECFI::DemId:
EECFI::CfiId EECFI::CfiClass

List of all members.

Public Member Functions

 DemId ()
 Empty Class constructor.
 ~DemId () throw (CfiError)
 Class destructor.
void init (long mode, long model, const string demFile) throw (CfiError)
 Initialise the DEM parameters.
double compute (const ModelId &modelId, double lon, double lat) const throw (CfiError)
 Compute altitude over the sea level for a point in the Earth.
SatId satId () const
 Get satellite id.
DemConfFile getData () const throw (CfiError)
 Get DEM parameters.
DemInfo getInfo (const ModelId &modelId, double lon, double lat) const throw (CfiError)
 Get DEM source data.

Protected Member Functions

GenericIdgetId ()
 Get the id.

Detailed Description

Class for the DEM parameters.


Constructor & Destructor Documentation

EECFI::DemId::DemId (  ) 

Empty Class constructor.

EECFI::DemId::~DemId (  )  throw (CfiError)

Member Function Documentation

double EECFI::DemId::compute ( const ModelId modelId,
double  lon,
double  lat 
) const throw (CfiError)

Compute altitude over the sea level for a point in the Earth.

Parameters:
modelId Model id.
lon Longitude.
lat Latitude.
Returns:
Altitude corresponding to lon and lat.
GenericId * EECFI::DemId::getId (  )  [protected]

Get the id.

Returns:
Pointer to xp_dem_id.
DemInfo EECFI::DemId::getInfo ( const ModelId modelId,
double  lon,
double  lat 
) const throw (CfiError)

Get DEM source data.

Parameters:
modelId Model id.
lon Longitude.
lat Latitude.
Returns:
DEM source data corresponding to lon and lat

References EECFI::DemInfo::dataSource, and EECFI::DemInfo::demModel.

void EECFI::DemId::init ( long  mode,
long  model,
const string  demFile 
) throw (CfiError)

Initialise the DEM parameters.

The altitude is calculated from the altitudes read from a digital elevation model (DEM).

Parameters:
mode Digital elevation model initialisation mode (DemModelPointingEnum).
model Digital elevation model initialisation model (dummy in current implementation).
demFile File used for DEM initialisation.
SatId EECFI::DemId::satId (  )  const

Get satellite id.

Returns:
Satellite id.

Generated on Thu Apr 7 2011 15:40:01 for by doxygen 1.7.1