Isis Developer Reference
MdisCamera.h
Go to the documentation of this file.
1 #ifndef MdisCamera_h
2 #define MdisCamera_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "FramingCamera.h"
13 
14 #include <QString>
15 
16 namespace Isis {
97  class MdisCamera : public FramingCamera {
98  public:
99  MdisCamera(Cube &cube);
102  virtual std::pair <iTime, iTime> ShutterOpenCloseTimes(double time,
103  double exposureDuration);
104 
111  virtual int CkFrameId() const { return (-236000); }
118  virtual int CkReferenceId() const { return (1); }
125  virtual int SpkTargetId() const { return (-236); }
132  virtual int SpkReferenceId() const { return (1); }
133 
134  private:
135  double computeFocalLength(const QString &filterCode, Pvl &label);
136  };
137 };
138 #endif
FramingCamera.h
Isis::MdisCamera
MESSENGER MDIS NAC and WAC Camera Model.
Definition: MdisCamera.h:97
Isis::IString::ToDouble
double ToDouble() const
Returns the floating point value the IString represents.
Definition: IString.cpp:799
Isis::CameraFocalPlaneMap::SetDetectorOrigin
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
Definition: CameraFocalPlaneMap.cpp:293
Isis::Camera::exposureDuration
virtual double exposureDuration() const
Return the exposure duration for the pixel that the camera is set to.
Definition: Camera.cpp:3063
Isis::Spice::time
iTime time() const
Returns the ephemeris time in seconds which was used to obtain the spacecraft and sun positions.
Definition: Spice.cpp:884
Isis::TaylorCameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: TaylorCameraDistortionMap.h:40
Isis::PvlObject::findGroup
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Isis::CameraDetectorMap
Convert between parent image coordinates and detector coordinates.
Definition: CameraDetectorMap.h:47
Isis::Spice::naifIkCode
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Definition: Spice.cpp:968
Isis::TaylorCameraDistortionMap::SetDistortion
void SetDistortion(const int naifIkCode)
Load distortion coefficients.
Definition: TaylorCameraDistortionMap.cpp:63
Isis::Spice::getString
QString getString(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1261
Isis::iTime
Parse and return pieces of a time string.
Definition: iTime.h:65
Isis::MdisCamera::SpkTargetId
virtual int SpkTargetId() const
SPK Target Body ID - MESSENGER spacecraft -236.
Definition: MdisCamera.h:125
Isis::Camera::m_instrumentNameLong
QString m_instrumentNameLong
Full instrument name.
Definition: Camera.h:496
Isis::Spice::getClockTime
virtual iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
Definition: Spice.cpp:1053
Isis::Spice::storeValue
void storeValue(QString key, int index, SpiceValueType type, QVariant value)
Definition: Spice.cpp:1190
Isis::Spice::readStoredValue
QVariant readStoredValue(QString key, SpiceValueType type, int index)
Definition: Spice.cpp:1221
Isis::CameraDetectorMap::SetDetectorSampleSumming
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Definition: CameraDetectorMap.h:108
Isis::MdisCamera::CkFrameId
virtual int CkFrameId() const
CK frame ID - - MESSENGER instrument code (MSGR_SPACECRAFT)
Definition: MdisCamera.h:111
NaifStatus.h
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::FramingCamera::ShutterOpenCloseTimes
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)=0
Returns the shutter open and close times.
Definition: FramingCamera.cpp:42
CameraDetectorMap.h
Isis::NaifStatus::CheckErrors
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Definition: NaifStatus.cpp:28
Isis::Camera
Definition: Camera.h:236
Isis::FramingCamera
Generic class for Framing Cameras.
Definition: FramingCamera.h:32
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
MdisCamera.h
IString.h
Isis::CameraGroundMap
Convert between undistorted focal plane and ground coordinates.
Definition: CameraGroundMap.h:73
Isis::CameraDetectorMap::SetDetectorLineSumming
void SetDetectorLineSumming(const double summing)
Set line summing mode.
Definition: CameraDetectorMap.h:123
Isis::CameraDetectorMap::SetStartingDetectorLine
void SetStartingDetectorLine(const double line)
Set the starting detector line.
Definition: CameraDetectorMap.h:93
Isis::PvlObject::Traverse
@ Traverse
Search child objects.
Definition: PvlObject.h:158
Isis::MdisCamera::~MdisCamera
~MdisCamera()
Destroys the MdisCamera Object.
Definition: MdisCamera.h:101
Isis::MdisCamera::SpkReferenceId
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
Definition: MdisCamera.h:132
Isis::Sensor::setTime
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Definition: Sensor.cpp:97
TaylorCameraDistortionMap.h
Isis::Camera::SetPixelPitch
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Definition: Camera.cpp:1418
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
CameraGroundMap.h
Isis::MdisCamera::MdisCamera
MdisCamera(Cube &cube)
Initialize the MDIS camera model for NAC and WAC.
Definition: MdisCamera.cpp:50
Isis::Spice::SpiceStringType
@ SpiceStringType
SpiceString type.
Definition: Spice.h:350
Isis::MdisCamera::CkReferenceId
virtual int CkReferenceId() const
CK Reference ID - J2000.
Definition: MdisCamera.h:118
CameraDistortionMap.h
CameraFocalPlaneMap.h
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::Camera::m_spacecraftNameLong
QString m_spacecraftNameLong
Full spacecraft name.
Definition: Camera.h:498
Isis::MdisCamera::ShutterOpenCloseTimes
virtual std::pair< iTime, iTime > ShutterOpenCloseTimes(double time, double exposureDuration)
Returns the shutter open and close times.
Definition: MdisCamera.cpp:257
Isis::CameraDetectorMap::SetStartingDetectorSample
void SetStartingDetectorSample(const double sample)
Set the starting detector sample.
Definition: CameraDetectorMap.h:79
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std
Namespace for the standard library.
Isis::Camera::LoadCache
void LoadCache()
This loads the spice cache big enough for this image.
Definition: Camera.cpp:2420
Isis::Camera::m_instrumentNameShort
QString m_instrumentNameShort
Shortened instrument name.
Definition: Camera.h:497
Isis::CameraFocalPlaneMap
Convert between distorted focal plane and detector coordinates.
Definition: CameraFocalPlaneMap.h:85
MdisCameraPlugin
Isis::Camera * MdisCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a MdisCamera object.
Definition: MdisCamera.cpp:363
Isis::Cube::label
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
Isis::CameraSkyMap
Convert between undistorted focal plane and ra/dec coordinates.
Definition: CameraSkyMap.h:31
iTime.h
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
Isis::Spice::getDouble
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1039
Isis::Camera::m_spacecraftNameShort
QString m_spacecraftNameShort
Shortened spacecraft name.
Definition: Camera.h:499
Isis::Camera::SetFocalLength
void SetFocalLength()
Reads the focal length from the instrument kernel.
Definition: Camera.cpp:1411
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
CameraSkyMap.h
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126