|
Isis 3.0 Object Programmers' Reference |
Home |
#include <LineScanCameraSkyMap.h>
Inheritance diagram for Isis::LineScanCameraSkyMap:


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.
For internal use only.
Definition at line 52 of file LineScanCameraSkyMap.h.
Public Member Functions | |
| LineScanCameraSkyMap (Camera *parent) | |
| Constructor. | |
| virtual | ~LineScanCameraSkyMap () |
| Destructor. | |
| virtual bool | SetSky (const double ra, const double dec) |
| Compute undistorted focal plane coordinate from ra/dec. | |
| virtual bool | SetFocalPlane (const double ux, const double uy, const double uz) |
| Compute ra/dec from focal plane coordinate. | |
| double | FocalPlaneX () const |
| Return undistorted focal plane x. | |
| double | FocalPlaneY () const |
| Return undistorted focal plane y. | |
Protected Attributes | |
| Camera * | p_camera |
| double | p_focalPlaneX |
| double | p_focalPlaneY |
| Isis::LineScanCameraSkyMap::LineScanCameraSkyMap | ( | Camera * | parent | ) | [inline] |
| virtual Isis::LineScanCameraSkyMap::~LineScanCameraSkyMap | ( | ) | [inline, virtual] |
| double Isis::CameraSkyMap::FocalPlaneX | ( | ) | const [inline, inherited] |
Return undistorted focal plane x.
Definition at line 58 of file CameraSkyMap.h.
References Isis::CameraSkyMap::p_focalPlaneX.
Referenced by Isis::Camera::SetRightAscensionDeclination().
| double Isis::CameraSkyMap::FocalPlaneY | ( | ) | const [inline, inherited] |
Return undistorted focal plane y.
Definition at line 61 of file CameraSkyMap.h.
Referenced by Isis::Camera::SetRightAscensionDeclination().
| bool Isis::CameraSkyMap::SetFocalPlane | ( | const double | ux, | |
| const double | uy, | |||
| const double | uz | |||
| ) | [virtual, inherited] |
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::RadarSkyMap, and Isis::Cassini::VimsSkyMap.
Definition at line 50 of file CameraSkyMap.cpp.
References Isis::NaifStatus::CheckErrors(), Isis::CameraSkyMap::p_camera, and Isis::Sensor::SetLookDirection().
| bool Isis::LineScanCameraSkyMap::SetSky | ( | const double | ra, | |
| const double | dec | |||
| ) | [virtual] |
Compute undistorted focal plane coordinate from ra/dec.
| ra | right ascension in degrees | |
| dec | declination in degrees |
what happens if we are looking parallel to the focal plane??
can lookC[2] == zero imply parallel
can this all be solved by restricting the physical size of the focal plane?
Reimplemented from Isis::CameraSkyMap.
Definition at line 42 of file LineScanCameraSkyMap.cpp.
References Isis::CameraFocalPlaneMap::DetectorLine(), Isis::CameraFocalPlaneMap::DetectorLineOffset(), Isis::Camera::DetectorMap(), Isis::Camera::DistortionMap(), Isis::Camera::FocalLength(), Isis::Camera::FocalPlaneMap(), Isis::CameraDistortionMap::FocalPlaneX(), Isis::CameraDistortionMap::FocalPlaneY(), Isis::LineScanCameraDetectorMap::LineRate(), Isis::CameraSkyMap::p_camera, Isis::CameraSkyMap::p_focalPlaneX, Isis::CameraSkyMap::p_focalPlaneY, Isis::CameraFocalPlaneMap::SetFocalPlane(), and Isis::CameraDistortionMap::SetUndistortedFocalPlane().