72     QString channel = (QString) inst [
"Channel"];
 
   77     if (channel == 
"VIS") {
 
   81       if (QString((QString)inst[
"SamplingMode"]).toUpper() == 
"NORMAL") {
 
   84         m_pixelPitchX = 0.024 * 3;
 
   85         m_pixelPitchY = 0.024 * 3;
 
   87       else if (QString((QString)inst[
"SamplingMode"]).toUpper() == 
"HI-RES") {
 
   89         m_pixelPitchX = 0.024;
 
   90         m_pixelPitchY = 0.024;
 
   92       else if (QString((QString)inst[
"SamplingMode"]).toUpper() == 
"UNDER") {
 
   93         QString msg = 
"Isis cannot process images with a SamplingMode = \"UNDER\" (or NYQUIST)";
 
   97         QString msg = 
"Unknown SamplingMode [" + (QString) inst[
"SamplingMode"] + 
"]";
 
  101     else if (channel == 
"IR") {
 
  106       if (QString((QString)inst[
"SamplingMode"]).toUpper() == 
"NORMAL") {
 
  110       else if (QString((QString)inst[
"SamplingMode"]).toUpper() == 
"HI-RES") {
 
  111         m_pixelPitchX = 0.103;
 
  114       else if (QString((QString)inst[
"SamplingMode"]).toUpper() == 
"UNDER") {
 
  115         QString msg = 
"Isis cannot process images with a SamplingMode = \"UNDER\" (or NYQUIST)";
 
  119         QString msg = 
"Unknown SamplingMode [" + (QString) inst[
"SamplingMode"] + 
"]";
 
  125     QString stime = inst [
"NativeStartTime"][0];
 
  126     QString intTime = stime.split(
".").first();
 
  127     stime = stime.split(
".").last();
 
  134     etStart += 
toDouble(stime) / 15959.0 - 2.;
 
  137     QString etime = (QString) inst [
"NativeStopTime"];
 
  138     intTime = etime.split(
".").first();
 
  139     etime = etime.split(
".").last();
 
  146     etStop += 
toDouble(stime) / 15959.0 + 2.;
 
  171     if (channel == 
"VIS") 
createCache(etStart, etStop, 64 * 64, tol);
 
  172     if (channel == 
"IR") 
createCache(etStart, etStop, 64 * 64, tol);
 
  200      for (
double x = -m_pixelPitchX / 2.0; x <= m_pixelPitchX / 2.0; x += m_pixelPitchX / (npts-1)) {
 
  201        offsets.append(QPointF(x, -m_pixelPitchY / 2.0));
 
  204      for (
double y = -m_pixelPitchY / 2.0; y <= m_pixelPitchY / 2.0; y += m_pixelPitchY / (npts-1)) {
 
  205        offsets.append(QPointF(m_pixelPitchX / 2.0, y));
 
  208      for (
double x = m_pixelPitchX / 2.0; x >= -m_pixelPitchX / 2.0; x -= m_pixelPitchX / (npts-1)) {
 
  209        offsets.append(QPointF(x, m_pixelPitchY / 2.0));
 
  212      for (
double y = m_pixelPitchY / 2.0; y >= -m_pixelPitchY / 2.0; y -= m_pixelPitchY / (npts-1)) {
 
  213        offsets.append(QPointF(-m_pixelPitchX / 2.0, y));
 
void SetFocalLength()
Reads the focal length from the instrument kernel. 
 
virtual QList< QPointF > PixelIfovOffsets()
Returns the pixel ifov offsets from center of pixel. 
 
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes. 
 
Isis::Camera * VimsCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a VimsCamera object. 
 
QString m_instrumentNameLong
Full instrument name. 
 
Pvl * label() const 
Returns a pointer to the IsisLabel object associated with the cube. 
 
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel. 
 
Convert between undistorted focal plane and ground coordinates. 
 
void createCache(iTime startTime, iTime endTime, const int size, double tol)
This method creates an internal cache of spacecraft and sun positions over a specified time range...
 
double toDouble(const QString &string)
Global function to convert from a string to a double. 
 
This error is for when a programmer made an API call that was illegal. 
 
double FocalLength() const 
Returns the focal length. 
 
double Et() const 
Returns the ephemeris time (TDB) representation of the time as a double. 
 
CameraSkyMap * SkyMap()
Returns a pointer to the CameraSkyMap object. 
 
bool SetImage(const double sample, const double line)
Sets the sample/line values of the image to get the lat/lon values. 
 
Convert between parent image coordinates and detector coordinates. 
 
Convert between distorted focal plane and detector coordinates. 
 
QString m_instrumentNameShort
Shortened instrument name. 
 
CameraGroundMap * GroundMap()
Returns a pointer to the CameraGroundMap object. 
 
Contains multiple PvlContainers. 
 
#define _FILEINFO_
Macro for the filename and line number. 
 
Convert between undistorted focal plane and ground coordinates. 
 
Distort/undistort focal plane coordinates. 
 
Container for cube-like labels. 
 
double SpacecraftAltitude()
Returns the distance from the spacecraft to the subspacecraft point in km. 
 
Unless noted otherwise, the portions of Isis written by the USGS are public domain. 
 
QString m_spacecraftNameLong
Full spacecraft name. 
 
double PixelPitch() const 
Returns the pixel pitch. 
 
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred. 
 
double PixelResolution()
Returns the pixel resolution at the current position in meters/pixel. 
 
SpiceInt naifIkCode() const 
This returns the NAIF IK code to use when reading from instrument kernels. 
 
iTime getClockTime(QString clockValue, int sclkCode=-1)
This converts the spacecraft clock ticks value (clockValue) to an iTime. 
 
QString m_spacecraftNameShort
Shortened spacecraft name. 
 
void IgnoreProjection(bool ignore)
Set whether or not the camera should ignore the Projection. 
 
Cassini Vims camera model. 
 
IO Handler for Isis Cubes.