Isis 3 Developer Reference
|
Convert between undistorted focal plane and ra/dec coordinates. More...
#include <CameraSkyMap.h>
Public Member Functions | |
CameraSkyMap (Camera *parent) | |
Constructor a map between focal plane x/y and right acension/declination. More... | |
virtual | ~CameraSkyMap () |
Destructor. More... | |
virtual bool | SetFocalPlane (const double ux, const double uy, const double uz) |
Compute ra/dec from focal plane coordinate. More... | |
virtual bool | SetSky (const double ra, const double dec) |
Compute undistorted focal plane coordinate from ra/dec. More... | |
double | FocalPlaneX () const |
double | FocalPlaneY () const |
Protected Attributes | |
Camera * | p_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... | |
Convert between undistorted focal plane and ra/dec coordinates.
This base class is used to convert between undistorted focal plane coordinates (x/y) in millimeters and sky (ra/dec). This class handles the case of framing cameras.
Isis::CameraSkyMap::CameraSkyMap | ( | Camera * | parent | ) |
Constructor a map between focal plane x/y and right acension/declination.
parent | parent camera which will use this map |
References p_camera, and Isis::Camera::SetSkyMap().
|
inlinevirtual |
Destructor.
|
inline |
References p_focalPlaneX.
Referenced by Isis::Camera::SetRightAscensionDeclination().
|
inline |
References p_focalPlaneY.
Referenced by Isis::Camera::SetRightAscensionDeclination().
|
virtual |
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.
ux | distorted focal plane x in millimeters |
uy | distorted focal plane y in millimeters |
uz | distorted focal plane z in millimeters |
Reimplemented in Isis::VimsSkyMap, and Isis::RadarSkyMap.
References Isis::NaifStatus::CheckErrors(), p_camera, and Isis::Sensor::SetLookDirection().
|
virtual |
Compute undistorted focal plane coordinate from ra/dec.
ra | The right ascension angle |
dec | The declination |
Reimplemented in Isis::VimsSkyMap, Isis::LineScanCameraSkyMap, and Isis::RadarSkyMap.
References Isis::Camera::FocalLength(), p_camera, p_focalPlaneX, and p_focalPlaneY.
Referenced by Isis::Camera::SetRightAscensionDeclination().
|
protected |
The main camera to calculate distortions on.
Referenced by CameraSkyMap(), Isis::VimsSkyMap::Init(), SetFocalPlane(), Isis::VimsSkyMap::SetFocalPlane(), SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().
|
protected |
Undistorted x value for the focal plane.
Referenced by FocalPlaneX(), SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().
|
protected |
Undistorted y value for the focal plane.
Referenced by FocalPlaneY(), SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().