File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
8 #include "LineScanCameraSkyMap.h"
9 #include "CameraFocalPlaneMap.h"
10 #include "CameraDistortionMap.h"
12 #include "LineScanCameraDetectorMap.h"
30 p_camera->Sensor::SetRightAscensionDeclination(ra, dec);
33 p_camera->Sensor::LookDirection(lookC);
49 p_camera->Sensor::SetRightAscensionDeclination(ra, dec);
51 p_camera->Sensor::LookDirection(lookC);
64 if((startOffset < 0.0) && (endOffset < 0.0))
return false;
65 if((startOffset > 0.0) && (endOffset > 0.0))
return false;
68 double fl, fh, xl, xh;
69 if(startOffset < endOffset) {
72 xl =
p_camera->Spice::cacheStartTime().Et();
73 xh =
p_camera->Spice::cacheEndTime().Et();
78 xl =
p_camera->Spice::cacheEndTime().Et();
79 xh =
p_camera->Spice::cacheStartTime().Et();
85 double timeTol = detectorMap->
LineRate() / 10.0;
86 for(
int j = 0; j < 30; j++) {
87 double etGuess = xl + (xh - xl) * fl / (fl - fh);
89 p_camera->Sensor::SetRightAscensionDeclination(ra, dec);
90 p_camera->Sensor::LookDirection(lookC);
104 delTime = xl - etGuess;
109 delTime = xh - etGuess;
116 if(fabs(delTime) < timeTol || f == 0.0) {
double p_focalPlaneX
Undistorted x value for the focal plane.
Camera * p_camera
The main camera to calculate distortions on.
virtual bool SetUndistortedFocalPlane(double ux, double uy)
Compute distorted focal plane x/y.
double FocalPlaneX() const
Gets the x-value in the focal plane coordinate system.
double DetectorLine() const
double FocalPlaneY() const
Gets the y-value in the focal plane coordinate system.
CameraDistortionMap * DistortionMap()
Returns a pointer to the CameraDistortionMap object.
double LineRate() const
Access the time, in seconds, between scan lines.
double p_focalPlaneY
Undistorted y value for the focal plane.
double DetectorLineOffset() const
virtual bool SetFocalPlane(const double dx, const double dy)
Compute detector position (sample,line) from focal plane coordinates.
Distort/undistort focal plane coordinates.
CameraFocalPlaneMap * FocalPlaneMap()
Returns a pointer to the CameraFocalPlaneMap object.
double FocalLength() const
Returns the focal length.
Convert between distorted focal plane and detector coordinates.
CameraDetectorMap * DetectorMap()
Returns a pointer to the CameraDetectorMap object.
virtual bool SetSky(const double ra, const double dec)
Compute undistorted focal plane coordinate from ra/dec.
This is free and unencumbered software released into the public domain.
Convert between parent image coordinates and detector coordinates.