16#include "LroWideAngleCameraFocalPlaneMap.h"
57 QString xkey =
"INS" +
toString(naifIkCode) +
"_TRANSX";
58 QString ykey =
"INS" +
toString(naifIkCode) +
"_TRANSY";
59 QString ixkey =
"INS" +
toString(naifIkCode) +
"_ITRANSS";
60 QString iykey =
"INS" +
toString(naifIkCode) +
"_ITRANSL";
62 for (
int i = 0; i < 3; ++i) {
69 m_transparms.push_back(trans_p);
87 if ( (vband <= 0) || (vband > m_transparms.size()) ) {
88 QString mess =
"Invalid band (" + QString::number(vband) +
" requested " +
89 " Must be <= " + QString::number(m_transparms.size());
94 int iband = vband - 1;
95 for (
int i = 0 ; i < 3 ; i++) {
96 p_transx[i] = m_transparms[iband].m_transx[i];
97 p_transy[i] = m_transparms[iband].m_transy[i];
98 p_itranss[i] = m_transparms[iband].m_itranss[i];
99 p_itransl[i] = m_transparms[iband].m_itransl[i];
Convert between distorted focal plane and detector coordinates.
Camera * p_camera
Camera of the image.
double p_itranss[3]
The x transition from distorted to detector.
double p_transx[3]
The x transition from detector to distorted.
double p_itransl[3]
The y transition from distorted to detector.
double p_transy[3]
The y transition from detector to distorted.
@ Programmer
This error is for when a programmer made an API call that was illegal.
LroWideAngleCameraFocalPlaneMap(Camera *parent, int naifIkCode)
Camera distortion map constructor.
void addFilter(int naifIkCode)
Add an additional set of parameters for a given LROC/WAC filter.
void setBand(int vband)
Implements band-dependant focal plane parameters.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
This is free and unencumbered software released into the public domain.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Namespace for the standard library.