File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
16 #include "PushFrameCameraCcdLayout.h"
17 #include "NaifStatus.h"
102 const QString &name)
const {
106 QString base =
"INS" +
toString(frameId);
113 QString msg =
"Could not find layout information for framelet ["
142 const int index)
const {
143 SpiceBoolean found =
false;
144 SpiceInt numValuesRead;
145 SpiceInt kernelValue;
146 gipool_c(var.toLatin1().data(), (SpiceInt) index, 1, &numValuesRead,
147 &kernelValue, &found);
152 QString msg =
"Can not find [" + var +
"] in text kernels";
156 return ( (
int) kernelValue );
171 const int index)
const {
172 SpiceBoolean found =
false;
173 SpiceInt numValuesRead;
174 SpiceDouble kernelValue;
175 gdpool_c(var.toLatin1().data(), (SpiceInt) index, 1, &numValuesRead,
176 &kernelValue, &found);
181 QString msg =
"Can not find [" + var +
"] in text kernels";
185 return ( (
double) kernelValue );
200 const int index)
const {
201 SpiceBoolean found =
false;
202 SpiceInt numValuesRead;
203 char kernelValue[512];
204 gcpool_c(var.toLatin1().data(), (SpiceInt) index, 1,
sizeof(kernelValue),
205 &numValuesRead, kernelValue, &found);
210 QString msg =
"Can not find [" + var +
"] in text kernels";
214 return ( QString(kernelValue) );
int getSpiceInt(const QString &var, const int index=0) const
Query the loaded kernels for an integer valued keyword.
@ Io
A type of error that occurred when performing an actual I/O operation.
double getSpiceDouble(const QString &var, const int index=0) const
Query the loaded kernels for a double valued keyword.
File name manipulation and expansion.
Container for the layout of a specific framelet on the detector.
FrameletInfo getFrameInfo(const int &frameId, const QString &name="") const
Get the layout information for a framelet.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Kernels m_kernels
NAIF kernel manager.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
PushFrameCameraCcdLayout()
Push frame full CCD layout class.
bool Add(const QString &kfile)
Add a new kernel to the list.
int m_samples
The number of samples in the framelet.
virtual ~PushFrameCameraCcdLayout()
Destructor.
QString m_filterName
The name of the framelet.
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
int m_startLine
The first line of the framelet on the detector.
int m_startSample
The first sample of the framelet on the detector.
int m_ccdId
NAIF ID of the CCD.
int Load(const QString &ktype)
Load all kernels with one more types.
QString getSpiceString(const QString &var, const int index=0) const
Query the loaded kernels for a string valued keyword.
int ccdSamples() const
Return the number of samples in the CCD.
int ccdLines() const
Return the number of lines in the CCD.
bool addKernel(const QString &kernel)
Add a NAIF kernel to the set of kernels that values will be pulled from.
int m_lines
The number of lines in the framelet.
bool isVersioned() const
Checks to see if a file name is versioned by date or numerically.
FileName highestVersion() const
Searches the directory specified in the file name for the highest version of the file name.
This is free and unencumbered software released into the public domain.