An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis 3 Programmer Reference
|
Convert between undistorted focal plane and ra/dec coordinates. More...
#include <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 |
double | FocalPlaneY () const |
Protected Attributes | |
Camera * | p_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. | |
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.
2005-10-13 Jeff Anderson - Fixed a bug. Removed failure comparsion test on Sensor::SetRightAscensionDeclination calls. A failure indicated we didn't hit the target but we don't care here since the target is the sky.
2012-07-06 Debbie A. Cook, Updated Spice members to be more compliant with Isis coding standards. References #972.
Definition at line 34 of file LineScanCameraSkyMap.h.
|
inline |
Constructor.
Definition at line 37 of file LineScanCameraSkyMap.h.
|
inlinevirtual |
Destructor.
Definition at line 40 of file LineScanCameraSkyMap.h.
|
inlineinherited |
Definition at line 47 of file CameraSkyMap.h.
References p_focalPlaneX.
|
inlineinherited |
Definition at line 54 of file CameraSkyMap.h.
References p_focalPlaneY.
|
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.
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.
Definition at line 34 of file CameraSkyMap.cpp.
References Isis::NaifStatus::CheckErrors(), and p_camera.
|
virtual |
Compute undistorted focal plane coordinate from ra/dec.
ra | right ascension in degrees |
dec | declination in degrees |
what happens if we are looking behind the focal plane?????
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 27 of file LineScanCameraSkyMap.cpp.
References Isis::CameraFocalPlaneMap::DetectorLine(), Isis::CameraFocalPlaneMap::DetectorLineOffset(), 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().
|
protectedinherited |
The main camera to calculate distortions on.
Definition at line 59 of file CameraSkyMap.h.
Referenced by CameraSkyMap(), Isis::CSMSkyMap::CSMSkyMap(), Isis::VimsSkyMap::Init(), SetFocalPlane(), Isis::VimsSkyMap::SetFocalPlane(), SetSky(), Isis::CSMSkyMap::SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().
|
protectedinherited |
Undistorted x value for the focal plane.
Definition at line 60 of file CameraSkyMap.h.
Referenced by FocalPlaneX(), SetSky(), Isis::CSMSkyMap::SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().
|
protectedinherited |
Undistorted y value for the focal plane.
Definition at line 61 of file CameraSkyMap.h.
Referenced by FocalPlaneY(), SetSky(), Isis::CSMSkyMap::SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().