|
Isis 3.0 Developer's Reference (API) |
Home |
Convert between undistorted focal plane and ra/dec coordinates. More...
#include <LineScanCameraSkyMap.h>
Inherits Isis::CameraSkyMap.
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 |
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.
| Isis::LineScanCameraSkyMap::LineScanCameraSkyMap | ( | Camera * | parent | ) | [inline] |
Constructor.
| virtual Isis::LineScanCameraSkyMap::~LineScanCameraSkyMap | ( | ) | [inline, virtual] |
Destructor.
| double Isis::CameraSkyMap::FocalPlaneX | ( | ) | const [inline, inherited] |
Return undistorted focal plane x.
References Isis::CameraSkyMap::p_focalPlaneX.
Referenced by Isis::Camera::SetRightAscensionDeclination().
| double Isis::CameraSkyMap::FocalPlaneY | ( | ) | const [inline, inherited] |
Return undistorted focal plane y.
References Isis::CameraSkyMap::p_focalPlaneY.
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::VimsSkyMap.
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 |
Reimplemented from Isis::CameraSkyMap.
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().
Camera* Isis::CameraSkyMap::p_camera [protected, inherited] |
double Isis::CameraSkyMap::p_focalPlaneX [protected, inherited] |
Referenced by Isis::CameraSkyMap::FocalPlaneX(), Isis::VimsSkyMap::SetSky(), SetSky(), and Isis::CameraSkyMap::SetSky().
double Isis::CameraSkyMap::p_focalPlaneY [protected, inherited] |
Referenced by Isis::CameraSkyMap::FocalPlaneY(), Isis::VimsSkyMap::SetSky(), SetSky(), and Isis::CameraSkyMap::SetSky().