Isis Developer Reference
MarciCamera.h
Go to the documentation of this file.
1 #ifndef MarciCamera_h
2 #define MarciCamera_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "PushFrameCamera.h"
13 
14 namespace Isis {
51  class MarciCamera : public PushFrameCamera {
52  public:
53  // constructor
54  MarciCamera(Cube &cube);
55  ~MarciCamera();
56 
57  // Sets the band to the band number given
58  void SetBand(const int band);
59  bool IsBandIndependent();
60 
61  virtual int CkFrameId() const;
62  virtual int CkReferenceId() const;
63  virtual int SpkReferenceId() const;
64 
65  private:
66  void StoreCoefficients(int naifIkCode);
67  void RestoreCoefficients(int vband);
68 
69  double p_etStart;
70  double p_bandTimeOffset;
71  double p_exposureDur;
72  double p_interframeDelay;
73  int p_nframelets;
74  std::vector<int> p_detectorStartLines;
75  std::vector<int> p_filterNumbers;
76  std::vector<int> p_frameletOffsets;
77  };
78 };
79 #endif
Isis::Camera::SetBand
virtual void SetBand(const int band)
Virtual method that sets the band number.
Definition: Camera.cpp:2680
Isis::MarciCamera::~MarciCamera
~MarciCamera()
Destroys the Themis Vis Camera object.
Definition: MarciCamera.cpp:170
Isis::MarciCamera::CkReferenceId
virtual int CkReferenceId() const
CK Reference ID - MRO_MME_OF_DATE.
Definition: MarciCamera.cpp:222
Isis::CameraFocalPlaneMap::SetDetectorOrigin
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
Definition: CameraFocalPlaneMap.cpp:293
Isis::PushFrameCameraDetectorMap::SetFrameletOffset
void SetFrameletOffset(int frameletOffset)
Reset the frame offset.
Definition: PushFrameCameraDetectorMap.cpp:270
Isis::Camera::SetGeometricTilingHint
void SetGeometricTilingHint(int startSize=128, int endSize=8)
This method sets the best geometric tiling size for projecting from this camera model.
Definition: Camera.cpp:2554
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
PushFrameCamera.h
Isis::MarciCamera::SetBand
void SetBand(const int band)
Sets the band in the camera model.
Definition: MarciCamera.cpp:180
Isis::Camera::ParentLines
int ParentLines() const
Returns the number of lines in the parent alphacube.
Definition: Camera.cpp:2806
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
MarciCamera.h
Isis::MarciDistortionMap::SetFilter
void SetFilter(int filter)
Definition: MarciDistortionMap.h:45
MarciCameraPlugin
Isis::Camera * MarciCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a MarciCamera object.
Definition: MarciCamera.cpp:249
Isis::Spice::naifIkCode
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Definition: Spice.cpp:968
Isis::PushFrameCameraDetectorMap::SetFrameletOrderReversed
void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets)
Changes the direction of the framelets.
Definition: PushFrameCameraDetectorMap.cpp:340
PushFrameCameraGroundMap.h
Isis::PushFrameCameraDetectorMap::SetFrameletsGeometricallyFlipped
void SetFrameletsGeometricallyFlipped(bool frameletsFlipped)
Mirrors the each framelet in the file.
Definition: PushFrameCameraDetectorMap.cpp:359
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::CameraDetectorMap::SetDetectorSampleSumming
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Definition: CameraDetectorMap.h:108
MarciDistortionMap.h
NaifStatus.h
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::Camera::DistortionMap
CameraDistortionMap * DistortionMap()
Returns a pointer to the CameraDistortionMap object.
Definition: Camera.cpp:2826
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::MarciCamera::SpkReferenceId
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
Definition: MarciCamera.cpp:234
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Isis::MarciCamera
Marci Camera Model.
Definition: MarciCamera.h:51
Isis::CameraDetectorMap::SetDetectorLineSumming
void SetDetectorLineSumming(const double summing)
Set line summing mode.
Definition: CameraDetectorMap.h:123
Isis::PvlObject::Traverse
@ Traverse
Search child objects.
Definition: PvlObject.h:158
Isis::PushFrameCamera::DetectorMap
PushFrameCameraDetectorMap * DetectorMap()
Returns a pointer to the PushFrameCameraDetectorMap object.
Definition: PushFrameCamera.h:62
Isis::MarciDistortionMap
Distort/undistort focal plane coordinates.
Definition: MarciDistortionMap.h:34
Isis::iTime::Et
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:126
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
Isis::MarciCamera::CkFrameId
virtual int CkFrameId() const
CK frame ID - - Instrument Code from spacit run on CK.
Definition: MarciCamera.cpp:210
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::PushFrameCamera
Generic class for Push Frame Cameras.
Definition: PushFrameCamera.h:35
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::MarciCamera::IsBandIndependent
bool IsBandIndependent()
The camera model is band dependent, so this method returns false.
Definition: MarciCamera.cpp:198
PushFrameCameraDetectorMap.h
IException.h
Isis::Camera::FocalPlaneMap
CameraFocalPlaneMap * FocalPlaneMap()
Returns a pointer to the CameraFocalPlaneMap object.
Definition: Camera.cpp:2836
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
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
Isis::PushFrameCameraDetectorMap::SetBandFirstDetectorLine
void SetBandFirstDetectorLine(int firstLine)
Change the starting line in the detector based on band.
Definition: PushFrameCameraDetectorMap.cpp:308
Isis::PvlKeyword::size
int size() const
Returns the number of values stored in this keyword.
Definition: PvlKeyword.h:125
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::PushFrameCameraGroundMap
Convert between undistorted focal plane and ground coordinates.
Definition: PushFrameCameraGroundMap.h:34
Isis::Camera::m_spacecraftNameShort
QString m_spacecraftNameShort
Shortened spacecraft name.
Definition: Camera.h:499
Isis::MarciCamera::MarciCamera
MarciCamera(Cube &cube)
Constructor for the Marci Camera Model.
Definition: MarciCamera.cpp:37
Isis::PushFrameCameraDetectorMap
Convert between parent image coordinates and detector coordinates.
Definition: PushFrameCameraDetectorMap.h:45
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