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


This base class is used to convert between undistorted focal plane coordinates (x/y) in millimeters and ground coordinates lat/lon. This class handles the case of framing cameras.
For internal use only.
Definition at line 50 of file VimsSkyMap.h.
Public Member Functions | |
| VimsSkyMap (Camera *parent, Pvl &lab) | |
| virtual | ~VimsSkyMap () |
| Destructor. | |
| virtual bool | SetFocalPlane (const double ux, const double uy, const double uz) |
| Compute ground position from focal plane coordinate. | |
| virtual bool | SetSky (const double ra, const double dec) |
| Sets the sky position to the given ra and dec. | |
| void | Init (Pvl &lab) |
| Initialize vims sky model. | |
| 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 |
Private Attributes | |
| SpiceDouble | p_etStart |
| double | p_exposureDuration |
| double | p_interlineDelay |
| std::string | p_channel |
| double | p_visExp |
| double | p_irExp |
| int | p_nsUv |
| int | p_nlUv |
| int | p_swathWidth |
| int | p_swathLength |
| int | p_camSampOffset |
| int | p_camLineOffset |
| double | p_unitVector [192][192][3] |
| double | p_minRa |
| double | p_maxRa |
| double | p_minDec |
| double | p_maxDec |
| double | p_raMap [64][64] |
| double | p_decMap [64][64] |
| virtual Isis::Cassini::VimsSkyMap::~VimsSkyMap | ( | ) | [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().
| void Isis::Cassini::VimsSkyMap::Init | ( | Pvl & | lab | ) |
Initialize vims sky model.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! / DONT FORGET TO TAKE THIS OUT WHEN WE HAVE UNIT VECTORS FOR ALL BANDS. / This needs to be smartened up for different summing modes.
Definition at line 58 of file VimsSkyMap.cpp.
References _FILEINFO_, band, Isis::Sensor::Declination(), Isis::Filename::Expanded(), fin, Isis::PvlObject::FindGroup(), Isis::Camera::IgnoreProjection(), in, line, Isis::iException::Message(), Isis::NULL8, Isis::CameraSkyMap::p_camera, p_camLineOffset, p_camSampOffset, p_channel, p_decMap, p_etStart, p_interlineDelay, p_irExp, p_maxDec, p_maxRa, p_minDec, p_minRa, p_nlUv, p_nsUv, p_raMap, p_swathLength, p_swathWidth, p_unitVector, p_visExp, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Preference::Preferences(), Isis::Sensor::RightAscension(), Isis::Sensor::SetEphemerisTime(), Isis::Camera::SetImage(), Isis::iString::ToDouble(), Isis::iString::Token(), and Isis::PvlObject::Traverse.
| bool Isis::Cassini::VimsSkyMap::SetFocalPlane | ( | const double | ux, | |
| const double | uy, | |||
| const double | uz | |||
| ) | [virtual] |
Compute ground position from focal plane coordinate.
This method will compute the ground position given an undistorted focal plane coordinate. Note that the latitude/longitude value can be obtained from the 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 from Isis::CameraSkyMap.
Definition at line 257 of file VimsSkyMap.cpp.
References Isis::CameraSkyMap::p_camera, p_camLineOffset, p_camSampOffset, p_channel, p_etStart, p_interlineDelay, p_irExp, p_nlUv, p_nsUv, p_swathWidth, p_unitVector, p_visExp, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Sensor::SetEphemerisTime(), and Isis::Sensor::SetLookDirection().
| bool Isis::Cassini::VimsSkyMap::SetSky | ( | const double | ra, | |
| const double | dec | |||
| ) | [virtual] |
Sets the sky position to the given ra and dec.
| ra | the right ascension | |
| dec | the declination |
Reimplemented from Isis::CameraSkyMap.
Definition at line 310 of file VimsSkyMap.cpp.
References Isis::LeastSquares::AddKnown(), dist, Isis::LeastSquares::Evaluate(), Isis::Camera::IgnoreProjection(), Isis::LeastSquares::Knowns(), line, minLine, Isis::NULL8, Isis::CameraSkyMap::p_camera, p_decMap, Isis::CameraSkyMap::p_focalPlaneX, Isis::CameraSkyMap::p_focalPlaneY, p_maxDec, p_maxRa, p_raMap, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Camera::SetImage(), and Isis::LeastSquares::Solve().