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


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 55 of file VimsGroundMap.h.
Public Member Functions | |
| VimsGroundMap (Camera *parent, Pvl &lab) | |
| virtual | ~VimsGroundMap () |
| Destructor. | |
| virtual bool | SetFocalPlane (const double ux, const double uy, const double uz) |
| Compute ground position from focal plane coordinate. | |
| virtual bool | SetGround (const double lat, const double lon) |
| Compute undistorted focal plane coordinate from ground position. | |
| void | Init (Pvl &lab) |
| Initialize vims camera model. | |
| virtual bool | SetGround (const double lat, const double lon, const double radius) |
| Compute undistorted focal plane coordinate from ground position that includes a local radius. | |
| 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 Member Functions | |
| void | LookDirection (double v[3]) |
| Returns the look direction in the camera coordinate system. | |
Private Attributes | |
| SpiceDouble | p_etStart |
| double | p_exposureDuration |
| double | p_interlineDelay |
| double | p_ux |
| double | p_uy |
| double | p_uz |
| double | p_xPixSize |
| double | p_yPixSize |
| double | p_xBore |
| double | p_yBore |
| 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_minLat |
| double | p_maxLat |
| double | p_minLon |
| double | p_maxLon |
| double | p_latMap [64][64] |
| double | p_lonMap [64][64] |
| virtual Isis::Cassini::VimsGroundMap::~VimsGroundMap | ( | ) | [inline, virtual] |
| double Isis::CameraGroundMap::FocalPlaneX | ( | ) | const [inline, inherited] |
Return undistorted focal plane x.
Definition at line 68 of file CameraGroundMap.h.
References Isis::CameraGroundMap::p_focalPlaneX.
Referenced by Isis::Camera::RawFocalPlanetoImage().
| double Isis::CameraGroundMap::FocalPlaneY | ( | ) | const [inline, inherited] |
Return undistorted focal plane y.
Definition at line 71 of file CameraGroundMap.h.
Referenced by Isis::Camera::RawFocalPlanetoImage().
| void Isis::Cassini::VimsGroundMap::Init | ( | Pvl & | lab | ) |
Initialize vims camera model.
Definition at line 68 of file VimsGroundMap.cpp.
References _FILEINFO_, Isis::PvlObject::FindGroup(), Isis::Camera::IgnoreProjection(), latitude, line, longitude, Isis::iException::Message(), Isis::NULL8, Isis::CameraGroundMap::p_camera, p_camLineOffset, p_camSampOffset, p_channel, p_etStart, p_interlineDelay, p_irExp, p_latMap, p_lonMap, p_maxLat, p_maxLon, p_minLat, p_minLon, p_swathLength, p_swathWidth, p_visExp, p_xBore, p_xPixSize, p_yBore, p_yPixSize, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Sensor::SetEphemerisTime(), Isis::Camera::SetImage(), Isis::iString::ToDouble(), Isis::iString::Token(), Isis::PvlObject::Traverse, Isis::Sensor::UniversalLatitude(), and Isis::Sensor::UniversalLongitude().
| void Isis::Cassini::VimsGroundMap::LookDirection | ( | double | v[3] | ) | [private] |
Returns the look direction in the camera coordinate system.
| [out] | v | Look direction vector in camera coordinates |
Definition at line 445 of file VimsGroundMap.cpp.
References Isis::HALFPI(), p_camLineOffset, p_camSampOffset, p_ux, p_uy, p_xBore, p_xPixSize, p_yBore, p_yPixSize, x, and y.
Referenced by SetFocalPlane().
| bool Isis::Cassini::VimsGroundMap::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::CameraGroundMap.
Definition at line 224 of file VimsGroundMap.cpp.
References LookDirection(), Isis::CameraGroundMap::p_camera, p_channel, p_etStart, p_interlineDelay, p_irExp, p_swathWidth, p_ux, p_uy, p_uz, p_visExp, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Sensor::SetEphemerisTime(), and Isis::Sensor::SetLookDirection().
| bool Isis::CameraGroundMap::SetGround | ( | const double | lat, | |
| const double | lon, | |||
| const double | radius | |||
| ) | [virtual, inherited] |
Compute undistorted focal plane coordinate from ground position that includes a local radius.
| lat | planetocentric latitude in degrees | |
| lon | planetocentric longitude in degrees | |
| radius | local radius in meters |
Reimplemented in Isis::LineScanCameraGroundMap, and Isis::RadarGroundMap.
Definition at line 93 of file CameraGroundMap.cpp.
References Isis::CameraGroundMap::LookCtoFocalPlaneXY(), and Isis::CameraGroundMap::p_camera.
| bool Isis::Cassini::VimsGroundMap::SetGround | ( | const double | lat, | |
| const double | lon | |||
| ) | [virtual] |
Compute undistorted focal plane coordinate from ground position.
| lat | planetocentric latitude in degrees | |
| lon | planetocentric longitude in degrees |
Reimplemented from Isis::CameraGroundMap.
Definition at line 289 of file VimsGroundMap.cpp.
References Isis::LeastSquares::AddKnown(), dist, Isis::LeastSquares::Evaluate(), Isis::Sensor::HasSurfaceIntersection(), Isis::Camera::IgnoreProjection(), Isis::LeastSquares::Knowns(), line, Isis::Camera::LineResolution(), minLine, Isis::NULL8, Isis::CameraGroundMap::p_camera, Isis::CameraGroundMap::p_focalPlaneX, Isis::CameraGroundMap::p_focalPlaneY, p_latMap, p_lonMap, p_maxLat, p_maxLon, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Spice::Radii(), Isis::Camera::SampleResolution(), Isis::Camera::SetImage(), and Isis::LeastSquares::Solve().