|
Isis 3 Programmer Reference
|
12 #include "LroNarrowAngleDistortionMap.h"
34 QString odkkey =
"INS" +
toString(naifIkCode) +
"_OD_K";
54 double dk1 =
p_odk[0];
56 double den = 1 + dk1 * dy * dy;
85 double yprevious = 1000000.0;
86 double tolerance = 1.0e-10;
88 bool bConverged =
false;
90 double dk1 =
p_odk[0];
106 for(
int i = 0; i < 50; i++) {
122 if(fabs(yt - yprevious) <= tolerance) {
double p_focalPlaneX
Distorted focal plane x.
void SetDistortion(const int naifIkCode)
double p_undistortedFocalPlaneY
Undistorted focal plane y.
double p_undistortedFocalPlaneX
Undistorted focal plane x.
virtual bool SetUndistortedFocalPlane(const double ux, const double uy)
Compute distorted focal plane x/y.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Camera * p_camera
The camera to distort/undistort.
Distort/undistort focal plane coordinates.
LroNarrowAngleDistortionMap(Camera *parent)
Camera distortion map constructor.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
virtual bool SetFocalPlane(const double dx, const double dy)
Compute undistorted focal plane x/y.
std::vector< double > p_odk
Vector of distortion coefficients.
double p_focalPlaneY
Distorted focal plane y.
This is free and unencumbered software released into the public domain.