60 QString fl =
"INS" + ikCode +
"_FOCAL_LENGTH";
66 QString pp =
"INS" + ikCode +
"_PIXEL_SIZE";
80 double boresightSample =
Spice::getDouble(
"INS" + ikCode +
"_BORESIGHT",0) + 1.0;
81 double boresightLine =
Spice::getDouble(
"INS" + ikCode +
"_BORESIGHT",1) + 1.0;
94 QString clockStartCount = inst[
"SpacecraftClockStartCount"];
98 double exposureTime = (double) inst[
"ExposureDuration"];
100 iTime centerTime = start + (exposureTime / 2.0);
129 double exposureDuration) {
void SetFocalLength()
Reads the focal length from the instrument kernel.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Isis::Camera * RosettaOsirisCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate an OsirisNacCamera object.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Parse and return pieces of a time string.
This is the camera model for the Osiris NAC Framing Camera.
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.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
Convert between parent image coordinates and detector coordinates.
Convert between undistorted focal plane and ground coordinates.
Convert between distorted focal plane and detector coordinates.
QString m_instrumentNameShort
Shortened instrument name.
Contains multiple PvlContainers.
Distort/undistort focal plane coordinates.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Container for cube-like labels.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_spacecraftNameLong
Full spacecraft name.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
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.
Convert between undistorted focal plane and ra/dec coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Reimplemented from FrameCamera.
Generic class for Framing Cameras.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.