45 QString odkkey =
"INS" +
toString(naifIkCode) +
"_OD_K";
65 double dk1 =
p_odk[0];
67 double den = 1 + dk1 * dy * dy;
96 double yprevious = 1000000.0;
97 double tolerance = 1.0e-10;
99 bool bConverged =
false;
101 double dk1 =
p_odk[0];
117 for(
int i = 0; i < 50; i++) {
133 if(fabs(yt - yprevious) <= tolerance) {
double p_focalPlaneX
Distorted focal plane x.
void SetDistortion(const int naifIkCode)
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
double p_undistortedFocalPlaneX
Undistorted focal plane x.
Camera * p_camera
The camera to distort/undistort.
Distort/undistort focal plane coordinates.
LroNarrowAngleDistortionMap(Camera *parent)
Camera distortion map constructor.
double p_focalPlaneY
Distorted focal plane y.
double p_undistortedFocalPlaneY
Undistorted focal plane y.
Namespace for ISIS/Bullet specific routines.
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
std::vector< double > p_odk
Vector of distortion coefficients.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.