Isis 3.0 Developer's Reference (API) |
Home |
Convert between undistorted focal plane and ground coordinates. More...
#include <VimsSkyMap.h>
Inherits Isis::CameraSkyMap.
Public Member Functions | |
VimsSkyMap (Camera *parent, Pvl &lab) | |
Constructs the VimsSkyMap object. | |
virtual | ~VimsSkyMap () |
Destroys the VimsSkyMap object. | |
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 |
Convert between undistorted focal plane and ground coordinates.
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.
Constructs the VimsSkyMap object.
virtual Isis::VimsSkyMap::~VimsSkyMap | ( | ) | [inline, virtual] |
Destroys the VimsSkyMap object.
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().
void Isis::VimsSkyMap::Init | ( | Pvl & | lab | ) |
Initialize vims sky model.
iException::Io | - "Cannot process NYQUIST(undersampled) mode " | |
iException::Io | - "Can't open unit vector file" |
References _FILEINFO_, Isis::Sensor::Declination(), Isis::iTime::Et(), Isis::PvlObject::findGroup(), Isis::Spice::getClockTime(), Isis::Camera::IgnoreProjection(), Isis::NULL8, Isis::CameraSkyMap::p_camera, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::IException::Programmer, Isis::Sensor::RightAscension(), Isis::Camera::SetImage(), Isis::Sensor::setTime(), Isis::toDouble(), and Isis::PvlObject::Traverse.
bool Isis::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.
References Isis::CameraSkyMap::p_camera, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Sensor::SetLookDirection(), and Isis::Sensor::setTime().
bool Isis::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.
References Isis::LeastSquares::AddKnown(), Isis::LeastSquares::Evaluate(), Isis::Camera::IgnoreProjection(), Isis::LeastSquares::Knowns(), Isis::NULL8, Isis::CameraSkyMap::p_camera, Isis::CameraSkyMap::p_focalPlaneX, Isis::CameraSkyMap::p_focalPlaneY, Isis::Camera::ParentLines(), Isis::Camera::ParentSamples(), Isis::Camera::SetImage(), and Isis::LeastSquares::Solve().
Camera* Isis::CameraSkyMap::p_camera [protected, inherited] |
double Isis::CameraSkyMap::p_focalPlaneX [protected, inherited] |
double Isis::CameraSkyMap::p_focalPlaneY [protected, inherited] |