Isis Developer Reference
LroWideAngleCamera.h
Go to the documentation of this file.
1 #ifndef LroWideAngleCamera_h
2 #define LroWideAngleCamera_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "PushFrameCamera.h"
13 
14 #include <QString>
15 #include <QVector>
16 
17 namespace Isis {
86  public:
87  // constructor
88  LroWideAngleCamera(Cube &cube);
90 
91  // Sets the band to the band number given
92  void SetBand(const int band);
93  bool IsBandIndependent();
94 
95  virtual int CkFrameId() const;
96  virtual int CkReferenceId() const;
97  virtual int SpkReferenceId() const;
98 
99  private:
102  double p_etStart;
103  double p_exposureDur;
104  int p_nframelets;
105  IntParameterList p_detectorStartLines;
106  IntParameterList p_frameletOffsets;
107  DblParameterList p_focalLength;
108  DblParameterList p_boreSightSample;
109  DblParameterList p_boreSightLine;
110 
111  int PoolKeySize(const QString &key) const;
112  IntParameterList GetVector(const QString &key);
113  };
114 } // namespace Isis
115 #endif
Isis::Spice::SpiceIntType
@ SpiceIntType
SpiceInt type.
Definition: Spice.h:351
Isis::Camera::SetBand
virtual void SetBand(const int band)
Virtual method that sets the band number.
Definition: Camera.cpp:2680
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::LroWideAngleCamera::CkFrameId
virtual int CkFrameId() const
CK frame ID - - Instrument Code from spacit run on CK.
Definition: LroWideAngleCamera.cpp:325
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
Isis::LroWideAngleCamera::~LroWideAngleCamera
~LroWideAngleCamera()
Destroys the LroWideAngleCamera object.
Definition: LroWideAngleCamera.cpp:221
Isis::CollectorMap::getNth
T & getNth(int nth)
Returns the nth value in the collection.
Definition: CollectorMap.h:624
Isis::Spice::naifIkCode
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Definition: Spice.cpp:968
LroWideAngleCameraPlugin
Isis::Camera * LroWideAngleCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a LroWideAngleCamera object.
Definition: LroWideAngleCamera.cpp:366
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::CollectorMap::get
T & get(const K &key)
Returns the value associated with the name provided.
Definition: CollectorMap.h:567
Isis::LroWideAngleCameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: LroWideAngleCameraDistortionMap.h:47
Isis::CameraDetectorMap::SetDetectorSampleSumming
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Definition: CameraDetectorMap.h:108
Isis::CollectorMap::size
int size() const
Returns the size of the collection.
Definition: CollectorMap.h:512
NaifStatus.h
Isis::Spice::getInteger
SpiceInt getInteger(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1025
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::LroWideAngleCamera::IsBandIndependent
bool IsBandIndependent()
The camera model is band dependent, so this method returns false.
Definition: LroWideAngleCamera.cpp:313
Isis::Camera
Definition: Camera.h:236
LroWideAngleCamera.h
IString.h
Isis::Spice::instrumentRotation
virtual SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
Definition: Spice.cpp:1622
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::CollectorMap::exists
bool exists(const K &key) const
Checks the existance of a particular key in the list.
Definition: CollectorMap.h:551
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::LroWideAngleCameraDistortionMap::addFilter
void addFilter(int naifIkCode)
Add an additional set of parameters for a given LROC/WAC filter.
Definition: LroWideAngleCameraDistortionMap.cpp:55
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::LroWideAngleCamera::SpkReferenceId
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
Definition: LroWideAngleCamera.cpp:349
Isis::LroWideAngleCameraDistortionMap::setBand
void setBand(int vband)
Implements band-dependant distortion parameters.
Definition: LroWideAngleCameraDistortionMap.cpp:79
Isis::LroWideAngleCameraFocalPlaneMap
Distort/undistort focal plane coordinates.
Definition: LroWideAngleCameraFocalPlaneMap.h:33
LroWideAngleCameraDistortionMap.h
Isis::LroWideAngleCameraFocalPlaneMap::setBand
void setBand(int vband)
Implements band-dependant focal plane parameters.
Definition: LroWideAngleCameraFocalPlaneMap.cpp:86
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::Spice::getStoredResult
QVariant getStoredResult(QString name, SpiceValueType type)
Definition: Spice.cpp:1169
Isis::Camera::m_spacecraftNameLong
QString m_spacecraftNameLong
Full spacecraft name.
Definition: Camera.h:498
Isis::CameraDetectorMap::SetStartingDetectorSample
void SetStartingDetectorSample(const double sample)
Set the starting detector sample.
Definition: CameraDetectorMap.h:79
Isis::CollectorMap::add
void add(const K &key, const T &value)
Adds the element to the list.
Definition: CollectorMap.h:540
PushFrameCameraDetectorMap.h
IException.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
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
CollectorMap.h
Isis::Camera::m_instrumentNameShort
QString m_instrumentNameShort
Shortened instrument name.
Definition: Camera.h:497
Isis::CollectorMap
Collector/container for arbitrary items.
Definition: CollectorMap.h:419
Isis::LroWideAngleCamera::SetBand
void SetBand(const int band)
Sets the band in the camera model.
Definition: LroWideAngleCamera.cpp:231
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::Spice::storeResult
void storeResult(QString name, SpiceValueType type, QVariant value)
Definition: Spice.cpp:1154
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
Isis::LroWideAngleCamera
LRO Wide Angle Camera Model.
Definition: LroWideAngleCamera.h:85
Isis::LroWideAngleCameraFocalPlaneMap::addFilter
void addFilter(int naifIkCode)
Add an additional set of parameters for a given LROC/WAC filter.
Definition: LroWideAngleCameraFocalPlaneMap.cpp:55
Isis::LroWideAngleCamera::LroWideAngleCamera
LroWideAngleCamera(Cube &cube)
Constructor for the LRO WAC Camera Model.
Definition: LroWideAngleCamera.cpp:41
Isis::PvlObject::findKeyword
PvlKeyword & findKeyword(const QString &kname, FindOptions opts)
Finds a keyword in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within this...
Definition: PvlObject.cpp:177
iTime.h
Isis::LroWideAngleCamera::CkReferenceId
virtual int CkReferenceId() const
CK Reference ID - J2000.
Definition: LroWideAngleCamera.cpp:337
Isis::Spice::getDouble
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1039
QVector< int >
LroWideAngleCameraFocalPlaneMap.h
Isis::SpiceRotation::SetFrame
void SetFrame(int frameCode)
Change the frame to the given frame code.
Definition: SpiceRotation.cpp:214
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::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