|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef RosettaVirtisCamera_h
2 #define RosettaVirtisCamera_h
16 #include <tnt/tnt_array2d.h>
34 typedef TNT::Array2D<SpiceDouble>
SMatrix;
50 void readHouseKeeping(
const QString &filename,
double lineRate);
51 void readSCET(
const QString &filename);
53 QString scrub(
const QString &text)
const;
54 double exposureTime()
const;
55 double scanLineTime()
const;
56 int pixelSumming()
const;
58 int hkLineCount()
const;
59 double lineStartTime(
const double midExpTime)
const;
60 double lineEndTime(
const double midExpTime)
const;
62 double startTime()
const;
63 double endTime()
const;
65 Table getPointingTable(
const QString &channelId,
67 SMatrix getStateRotation(
const QString &frame1,
68 const QString &frame2,
69 const double &et)
const;
71 bool hasArticulationKernel(
Pvl &label)
const;
79 struct ScanMirrorInfo {
84 double m_opticalAngle;
89 bool m_is1BCalibrated;
91 double m_exposureTime;
95 std::vector<LineRateChange> m_lineRates;
96 std::vector<ScanMirrorInfo> m_mirrorData;
Convert between undistorted focal plane and ra/dec coordinates.
Definition: LineScanCameraSkyMap.h:34
void SetDetectorOrigin(const double sample, const double line)
Set the detector origin.
Definition: CameraFocalPlaneMap.cpp:293
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
A single keyword-value pair.
Definition: PvlKeyword.h:82
SpiceInt naifIkCode() const
This returns the NAIF IK code to use when reading from instrument kernels.
Definition: Spice.cpp:968
Parse and return pieces of a time string.
Definition: iTime.h:65
QString m_instrumentNameLong
Full instrument name.
Definition: Camera.h:496
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
void SetDetectorSampleSumming(const double summing)
Set sample summing mode.
Definition: CameraDetectorMap.h:108
int Fields() const
Returns the number of fields that are currently in the record.
Definition: TableRecord.cpp:78
SpiceInt getInteger(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1025
Container for cube-like labels.
Definition: Pvl.h:119
~RosettaVirtisCamera()
Destructor.
Definition: RosettaVirtisCamera.cpp:179
Isis::Camera * RosettaVirtisCameraPlugin(Isis::Cube &cube)
Instantiate a new RosettaVirtisCamera model for the given label content.
Definition: RosettaVirtisCamera.cpp:643
Convert between parent image coordinates and detector coordinates.
Definition: VariableLineScanCameraDetectorMap.h:49
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Definition: NaifStatus.cpp:28
Definition: TableRecord.h:38
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
void MinimizeCache(DownsizeStatus status)
Set the downsize status to minimize cache.
Definition: SpiceRotation.cpp:336
Table Cache(const QString &tableName)
Return a table with J2000 to reference rotations.
Definition: SpiceRotation.cpp:868
virtual SpiceRotation * instrumentRotation() const
Accessor method for the instrument rotation.
Definition: Spice.cpp:1622
@ NearestEndpoint
Evaluate() returns the y-value of the nearest endpoint if a is outside of the domain.
Definition: NumericalApproximation.h:817
@ Traverse
Search child objects.
Definition: PvlObject.h:158
void LoadCache(double startTime, double endTime, int size)
Cache J2000 rotation quaternion over a time range.
Definition: SpiceRotation.cpp:359
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
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:126
void SetPixelPitch()
Reads the Pixel Pitch from the instrument kernel.
Definition: Camera.cpp:1418
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
@ No
Do not downsize the cache.
Definition: SpiceRotation.h:270
Camera model for both Rosetta VIRTIS-M instruments.
Definition: RosettaVirtisCamera.h:32
TNT::Array2D< SpiceDouble > SMatrix
2-D buffer
Definition: RosettaVirtisCamera.h:34
QString instrumentId()
This method returns the InstrumentId as it appears in the cube.
Definition: Camera.cpp:2876
@ Double
The values in the field are 8 byte doubles.
Definition: TableField.h:54
virtual int CkFrameId() const
CK Frame ID - Instrument Code from spacit run on CK.
Definition: RosettaVirtisCamera.cpp:187
Class for storing Table blobs information.
Definition: Table.h:61
Generic class for Line Scan Cameras.
Definition: LineScanCamera.h:36
QString fileName() const
Returns the filename used to initialise the Pvl object.
Definition: PvlContainer.h:232
Convert between undistorted focal plane and ground coordinates.
Definition: LineScanCameraGroundMap.h:49
Distort/undistort focal plane coordinates.
Definition: CameraDistortionMap.h:41
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis exception class.
Definition: IException.h:91
QString m_spacecraftNameLong
Full spacecraft name.
Definition: Camera.h:498
virtual int CkReferenceId() const
CK Reference ID - J2000.
Definition: RosettaVirtisCamera.cpp:197
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
CameraFocalPlaneMap * FocalPlaneMap()
Returns a pointer to the CameraFocalPlaneMap object.
Definition: Camera.cpp:2836
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
void LoadCache()
This loads the spice cache big enough for this image.
Definition: Camera.cpp:2420
QString m_instrumentNameShort
Shortened instrument name.
Definition: Camera.h:497
Convert between distorted focal plane and detector coordinates.
Definition: CameraFocalPlaneMap.h:85
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
void SetCacheTime(std::vector< double > cacheTime)
Definition: SpiceRotation.cpp:2117
int Lines() const
Returns the number of lines in the image.
Definition: Camera.cpp:2786
RosettaVirtisCamera(Cube &cube)
Creates a camera for a Rosetta VIRTIS-M cube.
Definition: RosettaVirtisCamera.cpp:45
SpiceDouble getDouble(const QString &key, int index=0)
This returns a value from the NAIF text pool.
Definition: Spice.cpp:1039
int Records() const
Returns the number of records.
Definition: Table.cpp:313
SpiceInt naifSpkCode() const
This returns the NAIF SPK code to use when reading from SPK kernels.
Definition: Spice.cpp:950
void SetFrame(int frameCode)
Change the frame to the given frame code.
Definition: SpiceRotation.cpp:214
LineScanCameraDetectorMap * DetectorMap()
Returns a pointer to the LineScanCameraDetectorMap object.
Definition: LineScanCamera.h:72
QString m_spacecraftNameShort
Shortened spacecraft name.
Definition: Camera.h:499
void SetFocalLength()
Reads the focal length from the instrument kernel.
Definition: Camera.cpp:1411
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
Definition: RosettaVirtisCamera.cpp:207
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126