Isis 3 Developer Reference
Isis::LineScanCameraSkyMap Class Reference

Convert between undistorted focal plane and ra/dec coordinates. More...

#include <LineScanCameraSkyMap.h>

Inheritance diagram for Isis::LineScanCameraSkyMap:
Inheritance graph
Collaboration diagram for Isis::LineScanCameraSkyMap:
Collaboration graph

Public Member Functions

 LineScanCameraSkyMap (Camera *parent)
 Constructor. More...
 
virtual ~LineScanCameraSkyMap ()
 Destructor. More...
 
virtual bool SetSky (const double ra, const double dec)
 Compute undistorted focal plane coordinate from ra/dec. More...
 
virtual bool SetFocalPlane (const double ux, const double uy, const double uz)
 Compute ra/dec from focal plane coordinate. More...
 
double FocalPlaneX () const
 
double FocalPlaneY () const
 

Protected Attributes

Camerap_camera
 The main camera to calculate distortions on. More...
 
double p_focalPlaneX
 Undistorted x value for the focal plane. More...
 
double p_focalPlaneY
 Undistorted y value for the focal plane. More...
 

Detailed Description

Convert between undistorted focal plane and ra/dec coordinates.

This class is used to convert between undistorted focal plane coordinates (x/y) in millimeters and sky (ra/dec). This class handles the case of line scan cameras.

See also
Camera
Author
2005-02-08 Jeff Anderson

Constructor & Destructor Documentation

◆ LineScanCameraSkyMap()

Isis::LineScanCameraSkyMap::LineScanCameraSkyMap ( Camera parent)
inline

Constructor.

◆ ~LineScanCameraSkyMap()

virtual Isis::LineScanCameraSkyMap::~LineScanCameraSkyMap ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ FocalPlaneX()

double Isis::CameraSkyMap::FocalPlaneX ( ) const
inlineinherited
Returns
The undistorted focal plane x

References Isis::CameraSkyMap::p_focalPlaneX.

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

◆ FocalPlaneY()

double Isis::CameraSkyMap::FocalPlaneY ( ) const
inlineinherited
Returns
The undistorted focal plane y

References Isis::CameraSkyMap::p_focalPlaneY.

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

◆ SetFocalPlane()

bool Isis::CameraSkyMap::SetFocalPlane ( const double  ux,
const double  uy,
const double  uz 
)
virtualinherited

Compute ra/dec from focal plane coordinate.

This method will compute the right ascension and declination given an undistorted focal plane coordinate. Note that the ra/dec values can be obtained from the parent camera class passed into the constructor.

Parameters
uxdistorted focal plane x in millimeters
uydistorted focal plane y in millimeters
uzdistorted focal plane z in millimeters
Returns
conversion was successful

Reimplemented in Isis::VimsSkyMap, and Isis::RadarSkyMap.

References Isis::NaifStatus::CheckErrors(), Isis::CameraSkyMap::p_camera, and Isis::Sensor::SetLookDirection().

◆ SetSky()

Member Data Documentation

◆ p_camera

◆ p_focalPlaneX

double Isis::CameraSkyMap::p_focalPlaneX
protectedinherited

Undistorted x value for the focal plane.

Referenced by Isis::CameraSkyMap::FocalPlaneX(), Isis::CameraSkyMap::SetSky(), SetSky(), and Isis::VimsSkyMap::SetSky().

◆ p_focalPlaneY

double Isis::CameraSkyMap::p_focalPlaneY
protectedinherited

Undistorted y value for the focal plane.

Referenced by Isis::CameraSkyMap::FocalPlaneY(), Isis::CameraSkyMap::SetSky(), SetSky(), and Isis::VimsSkyMap::SetSky().


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