![]()  | 
  
    Isis Developer Reference
    
   | 
 
Convert between undistorted focal plane and ra/dec coordinates. More...
#include <CSMSkyMap.h>


Public Member Functions | |
| CSMSkyMap (Camera *parent) | |
| Constructor a map between focal plane x/y and right acension/declination.   | |
| 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 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::CSMSkyMap::CSMSkyMap | ( | Camera * | parent | ) | 
Constructor a map between focal plane x/y and right acension/declination.
| parent | parent camera which will use this map | 
References Isis::CameraSkyMap::p_camera, and Isis::Camera::SetSkyMap().
      
  | 
  inlineinherited | 
References Isis::CameraSkyMap::p_focalPlaneX.
Referenced by Isis::Camera::SetRightAscensionDeclination().
      
  | 
  inlineinherited | 
References Isis::CameraSkyMap::p_focalPlaneY.
Referenced by Isis::Camera::SetRightAscensionDeclination().
      
  | 
  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.
References Isis::NaifStatus::CheckErrors(), Isis::CameraSkyMap::p_camera, and Isis::Sensor::SetLookDirection().
      
  | 
  virtual | 
Compute undistorted focal plane coordinate from ra/dec.
| ra | The right ascension angle | 
| dec | The declination | 
Reimplemented from Isis::CameraSkyMap.
References Isis::Camera::FocalLength(), Isis::CameraSkyMap::p_camera, Isis::CameraSkyMap::p_focalPlaneX, and Isis::CameraSkyMap::p_focalPlaneY.
      
  | 
  protectedinherited | 
The main camera to calculate distortions on.
Referenced by Isis::CameraSkyMap::CameraSkyMap(), CSMSkyMap(), Isis::VimsSkyMap::Init(), Isis::CameraSkyMap::SetFocalPlane(), Isis::VimsSkyMap::SetFocalPlane(), Isis::CameraSkyMap::SetSky(), SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().
      
  | 
  protectedinherited | 
Undistorted x value for the focal plane.
Referenced by Isis::CameraSkyMap::FocalPlaneX(), Isis::CameraSkyMap::SetSky(), SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().
      
  | 
  protectedinherited | 
Undistorted y value for the focal plane.
Referenced by Isis::CameraSkyMap::FocalPlaneY(), Isis::CameraSkyMap::SetSky(), SetSky(), Isis::LineScanCameraSkyMap::SetSky(), and Isis::VimsSkyMap::SetSky().