Isis Developer Reference
Isis::VimsSkyMap Class Reference

Convert between undistorted focal plane and ground coordinates. More...

#include <VimsSkyMap.h>

Inheritance diagram for Isis::VimsSkyMap:
Inheritance graph
Collaboration diagram for Isis::VimsSkyMap:
Collaboration graph

Public Member Functions

 VimsSkyMap (Camera *parent, Pvl &lab)
 Constructs the VimsSkyMap object.
 
virtual ~VimsSkyMap ()
 Destroys the VimsSkyMap object.
 
virtual bool SetFocalPlane (const double ux, const double uy, const double uz)
 Compute ground position from focal plane coordinate.
 
virtual bool SetSky (const double ra, const double dec)
 Sets the sky position to the given ra and dec.
 
void Init (Pvl &lab)
 Initialize vims sky model.
 
double FocalPlaneX () const
 
double FocalPlaneY () const
 

Protected Attributes

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

Detailed Description

Convert between undistorted focal plane and ground coordinates.

This base class is used to convert between undistorted focal plane coordinates (x/y) in millimeters and ground coordinates lat/lon. This class handles the case of framing cameras.

See also
Camera
VimsCamera
Author
2006-04-05 Tracie Sucharski

Constructor & Destructor Documentation

◆ VimsSkyMap()

Isis::VimsSkyMap::VimsSkyMap ( Camera * parent,
Pvl & lab )

Constructs the VimsSkyMap object.

Parameters
parentA pointer to the parent Camera object
labPvl labels for the image

◆ ~VimsSkyMap()

virtual Isis::VimsSkyMap::~VimsSkyMap ( )
inlinevirtual

Destroys the VimsSkyMap object.

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().

◆ Init()

void Isis::VimsSkyMap::Init ( Pvl & lab)

◆ SetFocalPlane()

bool Isis::VimsSkyMap::SetFocalPlane ( const double ux,
const double uy,
const double uz )
virtual

Compute ground position from focal plane coordinate.

This method will compute the ground position given an undistorted focal plane coordinate. Note that the latitude/longitude value can be obtained from the 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 from Isis::CameraSkyMap.

References Isis::CameraSkyMap::p_camera, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Sensor::SetLookDirection(), and Isis::Sensor::setTime().

◆ SetSky()

bool Isis::VimsSkyMap::SetSky ( const double ra,
const double dec )
virtual

Sets the sky position to the given ra and dec.

Parameters
rathe right ascension
decthe declination
Returns
set sky was successful

Reimplemented from Isis::CameraSkyMap.

References Isis::Camera::IgnoreProjection(), Isis::NULL8, Isis::CameraSkyMap::p_camera, Isis::CameraSkyMap::p_focalPlaneX, Isis::CameraSkyMap::p_focalPlaneY, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), and Isis::Camera::SetImage().

Member Data Documentation

◆ p_camera

◆ p_focalPlaneX

double Isis::CameraSkyMap::p_focalPlaneX
protectedinherited

◆ p_focalPlaneY

double Isis::CameraSkyMap::p_focalPlaneY
protectedinherited

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