Isis Developer Reference
RosettaVirtisCamera.h
Go to the documentation of this file.
1#ifndef RosettaVirtisCamera_h
2#define RosettaVirtisCamera_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "LineScanCamera.h"
13
14#include <QString>
15
16#include <tnt/tnt_array2d.h>
17
19
20namespace Isis {
33 public:
34 typedef TNT::Array2D<SpiceDouble> SMatrix;
35
37
39
41 virtual int CkFrameId() const;
42
44 virtual int CkReferenceId() const;
45
47 virtual int SpkReferenceId() const;
48
49 private:
50 void readHouseKeeping(const QString &filename, double lineRate);
51 void readSCET(const QString &filename);
52
53 QString scrub(const QString &text) const;
54 double exposureTime() const;
55 double scanLineTime() const;
56 int pixelSumming() const;
57
58 int hkLineCount() const;
59 double lineStartTime(const double midExpTime) const;
60 double lineEndTime(const double midExpTime) const;
61
62 double startTime() const;
63 double endTime() const;
64
65 Table getPointingTable(const QString &channelId,
66 const int zeroFrame);
67 SMatrix getStateRotation(const QString &frame1,
68 const QString &frame2,
69 const double &et) const;
70
71 bool hasArticulationKernel(Pvl &label) const;
72
79 struct ScanMirrorInfo {
80 int m_lineNum;
81 double m_scanLineEt;
82 double m_mirrorCos;
83 double m_mirrorSin;
84 double m_opticalAngle;
85 bool m_isDarkCurrent;
86 };
87
88
89 bool m_is1BCalibrated;
90 char m_slitMode;
91 double m_exposureTime;
92 int m_summing;
93 double m_scanRate;
94
95 std::vector<LineRateChange> m_lineRates;
96 std::vector<ScanMirrorInfo> m_mirrorData;
97
98 };
99};
100
101#endif
IO Handler for Isis Cubes.
Definition Cube.h:168
Generic class for Line Scan Cameras.
Definition LineScanCamera.h:36
Container for cube-like labels.
Definition Pvl.h:119
Camera model for both Rosetta VIRTIS-M instruments.
Definition RosettaVirtisCamera.h:32
RosettaVirtisCamera(Cube &cube)
Creates a camera for a Rosetta VIRTIS-M cube.
Definition RosettaVirtisCamera.cpp:45
virtual int CkReferenceId() const
CK Reference ID - J2000.
Definition RosettaVirtisCamera.cpp:197
TNT::Array2D< SpiceDouble > SMatrix
2-D buffer
Definition RosettaVirtisCamera.h:34
virtual int CkFrameId() const
CK Frame ID - Instrument Code from spacit run on CK.
Definition RosettaVirtisCamera.cpp:187
~RosettaVirtisCamera()
Destructor.
Definition RosettaVirtisCamera.cpp:179
virtual int SpkReferenceId() const
SPK Reference ID - J2000.
Definition RosettaVirtisCamera.cpp:207
Class for storing Table blobs information.
Definition Table.h:61
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16