53 if (ikCode == -64361) {
57 else if (ikCode <= -64362) {
61 else if (ikCode <= -64360) {
78 QString clockCount = inst[
"SpacecraftClockStartCount"];
84 iTime centerTime = shuttertimes.first.
Et() + exposureDuration / 2.0;
174 double exposureDuration) {
void SetFocalLength()
Reads the focal length from the instrument kernel.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
This class models the behavior and attributes of the OSIRIS-REx Cameras: Mapping Camera, PolyMath Camera, and Sample Camera.
Parse and return pieces of a time string.
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.
virtual int SpkReferenceId() const
The reference frame ID for the Spacecraft Kernel is 1, representing J2000.
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
~OsirisRexOcamsCamera()
Destroys the MapCamera object.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
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.
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
virtual int CkFrameId() const
The frame ID for the spacecraft (or instrument) used by the Camera-matrix Kernel. ...
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.
Isis::Camera * OsirisRexOcamsCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a MapCamera object.
Convert between undistorted focal plane and ra/dec coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
virtual int CkReferenceId() const
The frame ID for the reference coordinate system used by the Camera-matrix Kernel.
Generic class for Framing Cameras.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
IO Handler for Isis Cubes.