Isis Developer Reference
PushFrameCameraCcdLayout.h
Go to the documentation of this file.
1#ifndef PushFrameCameraCcdLayout_h
2#define PushFrameCameraCcdLayout_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <QString>
11#include "Kernels.h"
12
13
14namespace Isis {
29 public:
44 struct FrameletInfo {
48 FrameletInfo(const int frameid) : m_frameId(frameid), m_filterName(),
50 m_samples(0), m_lines(0) { }
51 FrameletInfo(const int frameid, QString filterName, int startSample,
52 int startLine, int samples, int lines) :
53 m_frameId(frameid), m_filterName(filterName), m_startSample(startSample),
54 m_startLine(startLine), m_samples(samples), m_lines(lines) { }
56 QString m_filterName;
60 int m_lines;
61 };
62
63 public:
65 PushFrameCameraCcdLayout( const int ccdId );
66
68
69 bool addKernel(const QString &kernel);
70
71 int ccdSamples() const;
72 int ccdLines() const;
73
74 FrameletInfo getFrameInfo(const int &frameId,
75 const QString &name = "") const;
76
77
78 private:
79 int m_ccdId;
80 Kernels m_kernels;
81
82 int getSpiceInt(const QString &var, const int index = 0) const;
83 double getSpiceDouble(const QString &var, const int index = 0) const;
84 QString getSpiceString(const QString &var, const int index = 0) const;
85
86 };
87};
88#endif
Determine SPICE kernels defined in an ISIS file.
Definition Kernels.h:94
Provide image coordinates that map to the push frame detector.
Definition PushFrameCameraCcdLayout.h:28
FrameletInfo getFrameInfo(const int &frameId, const QString &name="") const
Get the layout information for a framelet.
Definition PushFrameCameraCcdLayout.cpp:100
virtual ~PushFrameCameraCcdLayout()
Destructor.
Definition PushFrameCameraCcdLayout.cpp:42
PushFrameCameraCcdLayout()
Push frame full CCD layout class.
Definition PushFrameCameraCcdLayout.cpp:24
int ccdSamples() const
Return the number of samples in the CCD.
Definition PushFrameCameraCcdLayout.cpp:73
int ccdLines() const
Return the number of lines in the CCD.
Definition PushFrameCameraCcdLayout.cpp:85
bool addKernel(const QString &kernel)
Add a NAIF kernel to the set of kernels that values will be pulled from.
Definition PushFrameCameraCcdLayout.cpp:56
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
Container for the layout of a specific framelet on the detector.
Definition PushFrameCameraCcdLayout.h:44
int m_lines
The number of lines in the framelet.
Definition PushFrameCameraCcdLayout.h:60
int m_startLine
The first line of the framelet on the detector.
Definition PushFrameCameraCcdLayout.h:58
QString m_filterName
The name of the framelet.
Definition PushFrameCameraCcdLayout.h:56
int m_samples
The number of samples in the framelet.
Definition PushFrameCameraCcdLayout.h:59
FrameletInfo()
Definition PushFrameCameraCcdLayout.h:45
FrameletInfo(const int frameid)
Definition PushFrameCameraCcdLayout.h:48
int m_startSample
The first sample of the framelet on the detector.
Definition PushFrameCameraCcdLayout.h:57
FrameletInfo(const int frameid, QString filterName, int startSample, int startLine, int samples, int lines)
Definition PushFrameCameraCcdLayout.h:51
int m_frameId
The NAIF ID of the framelet.
Definition PushFrameCameraCcdLayout.h:55