Isis Developer Reference
NewHorizonsLeisaCamera.h
Go to the documentation of this file.
1 #ifndef NewHorizonsLeisaCamera_h
2 #define NewHorizonsLeisaCamera_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "LineScanCamera.h"
13 
14 #include <QVector>
15 
16 namespace Isis {
37  public:
40 
43 
46  return false;
47  };
48 
55  virtual int CkFrameId() const { return (-98000); }//from NAIF_INSTRUMENT_ID in /usgs/cpkgs/isis3/data/newhorizons/kernels/ck/*.lbl or spacit R or spacit S on ck
56 
63  virtual int CkReferenceId() const { return (1); } //can get from spacit S on ck
64 
71  virtual int SpkReferenceId() const { return (1); } //can get from spacit S on spk
72 
73 
74  void SetBand(const int vband);
75 
76  private:
77  QVector<int> m_originalBand;
78 
79  QVector<double> m_origTransx;
80  QVector<double> m_origTransy;
81  QVector<double> m_origTranss;
82  QVector<double> m_origTransl;
83  };
84 };
85 #endif
Isis::LineScanCameraSkyMap
Convert between undistorted focal plane and ra/dec coordinates.
Definition: LineScanCameraSkyMap.h:34
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::CameraFocalPlaneMap::SetTransS
void SetTransS(const QVector< double > transS)
Set the affine coefficients for converting destorted (x,y) to a detector Sample.
Definition: CameraFocalPlaneMap.cpp:364
NewHorizonsLeisaCamera.h
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
LineScanCameraGroundMap.h
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
Isis::Spice::naifIkCode
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Definition: Spice.cpp:968
LineScanCameraSkyMap.h
Isis::CameraFocalPlaneMap::SetTransX
void SetTransX(const QVector< double > transX)
Set the affine coefficients for converting detector (sample,line) to a distorted X.
Definition: CameraFocalPlaneMap.cpp:376
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::NewHorizonsLeisaCamera
This is the camera model for LEISA, New Hoirzon's infrared Spectrometer.
Definition: NewHorizonsLeisaCamera.h:36
NaifStatus.h
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::NewHorizonsLeisaCamera::NewHorizonsLeisaCamera
NewHorizonsLeisaCamera(Cube &cube)
Create a NewHorizonsLeisaCamera object.
Definition: NewHorizonsLeisaCamera.cpp:39
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::NewHorizonsLeisaCamera::CkReferenceId
virtual int CkReferenceId() const
CK Reference ID -.
Definition: NewHorizonsLeisaCamera.h:63
Isis::NewHorizonsLeisaCamera::SetBand
void SetBand(const int vband)
Change the New Horizons camera parameters based on the band number.
Definition: NewHorizonsLeisaCamera.cpp:119
Isis::Camera
Definition: Camera.h:236
Isis::NewHorizonsLeisaCamera::~NewHorizonsLeisaCamera
~NewHorizonsLeisaCamera()
Destroys the NewHorizonsLeisaCamera object.
Definition: NewHorizonsLeisaCamera.h:42
Isis::CameraFocalPlaneMap::TransX
const double * TransX() const
Definition: CameraFocalPlaneMap.cpp:398
Isis::PvlObject::Traverse
@ Traverse
Search child objects.
Definition: PvlObject.h:158
Isis::iTime::Et
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:126
Isis::CameraFocalPlaneMap::TransL
const double * TransL() const
Definition: CameraFocalPlaneMap.cpp:422
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
Isis::toInt
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
Isis::NewHorizonsLeisaCamera::CkFrameId
virtual int CkFrameId() const
CK frame ID - - Instrument Code from spacit run on CK.
Definition: NewHorizonsLeisaCamera.h:55
Isis::CameraFocalPlaneMap::TransY
const double * TransY() const
Definition: CameraFocalPlaneMap.cpp:406
Isis::CameraFocalPlaneMap::SetTransY
void SetTransY(const QVector< double > transY)
Set the affine coefficients for converting detector (sample,line) to a distorted Y.
Definition: CameraFocalPlaneMap.cpp:388
Isis::NewHorizonsLeisaCamera::SpkReferenceId
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
Definition: NewHorizonsLeisaCamera.h:71
Isis::NewHorizonsLeisaCamera::IsBandIndependent
bool IsBandIndependent()
Flag that NewHorizonsLeisaCamera is band-dependent.
Definition: NewHorizonsLeisaCamera.h:45
Isis::LineScanCamera
Generic class for Line Scan Cameras.
Definition: LineScanCamera.h:36
LineScanCamera.h
Isis::LineScanCameraGroundMap
Convert between undistorted focal plane and ground coordinates.
Definition: LineScanCameraGroundMap.h:49
CameraFocalPlaneMap.h
Isis::CameraDistortionMap
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
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::CameraFocalPlaneMap::TransS
const double * TransS() const
Definition: CameraFocalPlaneMap.cpp:414
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
LineScanCameraDetectorMap.h
Isis::Cube::label
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
Isis::PvlKeyword::size
int size() const
Returns the number of values stored in this keyword.
Definition: PvlKeyword.h:125
Isis::CameraFocalPlaneMap::SetTransL
void SetTransL(const QVector< double > transL)
Set the affine coefficients for converting destorted (x,y) to a detector Line.
Definition: CameraFocalPlaneMap.cpp:352
iTime.h
QVector< double >
NewHorizonsLeisaCameraPlugin
Isis::Camera * NewHorizonsLeisaCameraPlugin(Isis::Cube &cube)
This is the function that is called in order to instantiate a NewHorizonsLeisaCamera object.
Definition: NewHorizonsLeisaCamera.cpp:171
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
Isis::LineScanCameraDetectorMap
Convert between parent image coordinates and detector coordinates.
Definition: LineScanCameraDetectorMap.h:37