|
Isis 3 Programmer Reference
|
9 #include "ThemisVisCamera.h"
16 #include "CameraFocalPlaneMap.h"
17 #include "CameraSkyMap.h"
19 #include "NaifStatus.h"
20 #include "PushFrameCameraDetectorMap.h"
21 #include "PushFrameCameraGroundMap.h"
22 #include "ThemisVisDistortionMap.h"
57 if(inst[
"InstrumentId"][0] !=
"THEMIS_VIS") {
58 QString msg =
"Unable to create Themis VIS camera model from an image with InstrumentId ["
59 + inst[
"InstrumentId"][0] +
"].";
66 int sumMode = inst[
"SpatialSumming"];
70 QString stime = inst[
"SpacecraftClockCount"];
73 double offset = inst[
"SpacecraftClockOffset"];
80 PvlKeyword &filterNumbers = bandBin[
"FilterNumber"];
81 for (
int i = 0; i < filterNumbers.
size(); i++) {
107 bool evenFramelets = (inst[
"Framelets"][0] ==
"Even");
159 int wavelengthToTimeBand[] = { 2, 5, 3, 4, 1 };
178 int visBandFirstRow[] = { 4, 203, 404, 612, 814 };
virtual void SetBand(const int band)
Virtual method that sets the band number.
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
double p_bandTimeOffset
Offset iTime for Band.
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
~ThemisVisCamera()
Destroys the Themis Vis Camera object.
bool IsBandIndependent()
The camera model is band dependent (i.e.
double BandEphemerisTimeOffset(int vband)
Calculates time offset for the given cube band number.
int ParentLines() const
Returns the number of lines in the parent alphacube.
A single keyword-value pair.
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
void SetFrameletOrderReversed(bool frameletOrderReversed, int nframelets)
Changes the direction of the framelets.
QString m_instrumentNameLong
Full instrument name.
virtual iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Container for cube-like labels.
double p_exposureDur
Exposure Duration value from labels.
bool HasReferenceBand() const
Checks to see if the Camera object has a reference band.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
QList< int > p_filterNumber
List of filter number values from the Instrument BandBin group that correspond to each band in the cu...
Distort/undistort focal plane coordinates.
void SetDetectorLineSumming(const double summing)
Set line summing mode.
@ Traverse
Search child objects.
PushFrameCameraDetectorMap * DetectorMap()
Returns a pointer to the PushFrameCameraDetectorMap object.
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Contains multiple PvlContainers.
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
int toInt(const QString &string)
Global function to convert from a string to an integer.
Generic class for Push Frame Cameras.
int p_nframes
Number of frames in whole image.
IO Handler for Isis Cubes.
QString m_spacecraftNameLong
Full spacecraft name.
void SetBand(const int band)
Sets the band in the camera model.
Namespace for the standard library.
void LoadCache()
This loads the spice cache big enough for this image.
QString m_instrumentNameShort
Shortened instrument name.
Convert between distorted focal plane and detector coordinates.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Convert between undistorted focal plane and ra/dec coordinates.
void SetBandFirstDetectorLine(int firstLine)
Change the starting line in the detector based on band.
int size() const
Returns the number of values stored in this keyword.
void SetStartTime(const double etStart)
Reset the starting ephemeris time.
virtual int CkReferenceId() const
CK Reference ID - MARSIAU.
int ReferenceBand() const
Returns the reference band.
Convert between undistorted focal plane and ground coordinates.
QString m_spacecraftNameShort
Shortened spacecraft name.
Convert between parent image coordinates and detector coordinates.
virtual int CkFrameId() const
CK frame ID - - Instrument Code from spacit run on CK.
double p_etStart
Ephemeris Start iTime.
void SetFocalLength()
Reads the focal length from the instrument kernel.
This is free and unencumbered software released into the public domain.
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
double p_interframeDelay
Interframe Delay value from labels.