USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::RadarGroundMap Class Reference

#include <RadarGroundMap.h>

Inheritance diagram for Isis::RadarGroundMap:

Inheritance graph
[legend]
Collaboration diagram for Isis::RadarGroundMap:
[legend]
List of all members.

Detailed Description

Convert between undistorted focal plane coordinate (slant range) and ground coordinates.

This class is used to convert between undistorted focal plane coordinate (the slant range) and ground coordinates lat/lon. This class handles the case of Radar instruments.

See also:
Camera

For internal use only.

History:
2008-06-16 Jeff Anderson Original version
History:
2009-07-01 Janet Barrett - Fixed intrack, crosstrack, and radial coordinate calculations; changed boundary check to use radius instead of lat,lon; updated calculation of Doppler shift

Definition at line 61 of file RadarGroundMap.h.

Public Member Functions

 RadarGroundMap (Camera *parent, Radar::LookDirection ldir, double waveLength)
virtual ~RadarGroundMap ()
 Destructor.
virtual bool SetFocalPlane (const double ux, const double uy, const double uz)
 Compute ground position from slant range.
virtual bool SetGround (const double lat, const double lon)
 Compute undistorted focal plane coordinate from ground position.
virtual bool SetGround (const double lat, const double lon, const double radius)
 Compute undistorted focal plane coordinate from ground position that includes a local radius.
void SetWeightFactors (double range_sigma, double doppler_sigma)
 Set the weight factors for slant range and Doppler shift.
double FocalPlaneX () const
 Return undistorted focal plane x.
double FocalPlaneY () const
 Return undistorted focal plane y.

Protected Attributes

double p_focalPlaneX
double p_focalPlaneY

Private Member Functions

double ComputeXv (SpiceDouble X[3])
double GetRadius (double lat, double lon)

Private Attributes

Radar::LookDirection p_lookDirection
double p_tolerance
double p_slantRange
double p_timeTolerance
double p_rangeSigma
double p_dopplerSigma
double p_waveLength
Camerap_camera


Constructor & Destructor Documentation

virtual Isis::RadarGroundMap::~RadarGroundMap (  )  [inline, virtual]

Destructor.

Definition at line 66 of file RadarGroundMap.h.


Member Function Documentation

double Isis::CameraGroundMap::FocalPlaneX (  )  const [inline, inherited]

Return undistorted focal plane x.

Definition at line 68 of file CameraGroundMap.h.

References Isis::CameraGroundMap::p_focalPlaneX.

Referenced by Isis::Camera::RawFocalPlanetoImage().

double Isis::CameraGroundMap::FocalPlaneY (  )  const [inline, inherited]

Return undistorted focal plane y.

Definition at line 71 of file CameraGroundMap.h.

Referenced by Isis::Camera::RawFocalPlanetoImage().

bool Isis::RadarGroundMap::SetFocalPlane ( const double  ux,
const double  uy,
const double  uz 
) [virtual]

Compute ground position from slant range.

Parameters:
ux Slant range distance
uy Doppler shift (always 0.0)
uz Not used
Returns:
conversion was successful

Reimplemented from Isis::CameraGroundMap.

Definition at line 55 of file RadarGroundMap.cpp.

References Isis::Spice::BodyRotation(), c, Isis::SpicePosition::Coordinate(), GetRadius(), Isis::Spice::InstrumentPosition(), Isis::Spice::InstrumentRotation(), p_camera, p_lookDirection, p_rangeSigma, p_tolerance, Isis::PI(), Isis::Spice::Radii(), Isis::Sensor::SetLookDirection(), and Isis::SpicePosition::Velocity().

bool Isis::RadarGroundMap::SetGround ( const double  lat,
const double  lon,
const double  radius 
) [virtual]

Compute undistorted focal plane coordinate from ground position that includes a local radius.

Parameters:
lat planetocentric latitude in degrees
lon planetocentric longitude in degrees
radius local radius in meters
Returns:
conversion was successful

Reimplemented from Isis::CameraGroundMap.

Definition at line 164 of file RadarGroundMap.cpp.

References Isis::Spice::BodyRotation(), ComputeXv(), Isis::SpicePosition::Coordinate(), Isis::Spice::InstrumentPosition(), Isis::Spice::InstrumentRotation(), p_camera, Isis::CameraGroundMap::p_focalPlaneX, Isis::CameraGroundMap::p_focalPlaneY, p_rangeSigma, p_slantRange, p_timeTolerance, Isis::PI(), Isis::Camera::SetFocalLength(), Isis::Sensor::SetLookDirection(), and Isis::SpicePosition::Velocity().

bool Isis::RadarGroundMap::SetGround ( const double  lat,
const double  lon 
) [virtual]

Compute undistorted focal plane coordinate from ground position.

Parameters:
lat planetocentric latitude in degrees
lon planetocentric longitude in degrees
Returns:
conversion was successful

Reimplemented from Isis::CameraGroundMap.

Definition at line 152 of file RadarGroundMap.cpp.

References GetRadius().

void Isis::RadarGroundMap::SetWeightFactors ( double  range_sigma,
double  doppler_sigma 
)

Set the weight factors for slant range and Doppler shift.

Definition at line 294 of file RadarGroundMap.cpp.

References p_dopplerSigma, and p_rangeSigma.

Referenced by Isis::Lro::MiniRF::MiniRF().


The documentation for this class was generated from the following files: