118 const QString &name)
const {
122 QString base =
"INS" +
toString(frameId);
129 QString msg =
"Could not find layout information for framelet [" 158 const int index)
const {
159 SpiceBoolean found =
false;
160 SpiceInt numValuesRead;
161 SpiceInt kernelValue;
162 gipool_c(var.toLatin1().data(), (SpiceInt) index, 1, &numValuesRead,
163 &kernelValue, &found);
168 QString msg =
"Can not find [" + var +
"] in text kernels";
172 return ( (
int) kernelValue );
187 const int index)
const {
188 SpiceBoolean found =
false;
189 SpiceInt numValuesRead;
190 SpiceDouble kernelValue;
191 gdpool_c(var.toLatin1().data(), (SpiceInt) index, 1, &numValuesRead,
192 &kernelValue, &found);
197 QString msg =
"Can not find [" + var +
"] in text kernels";
201 return ( (
double) kernelValue );
216 const int index)
const {
217 SpiceBoolean found =
false;
218 SpiceInt numValuesRead;
219 char kernelValue[512];
220 gcpool_c(var.toLatin1().data(), (SpiceInt) index, 1,
sizeof(kernelValue),
221 &numValuesRead, kernelValue, &found);
226 QString msg =
"Can not find [" + var +
"] in text kernels";
230 return ( QString(kernelValue) );
FrameletInfo getFrameInfo(const int &frameId, const QString &name="") const
Get the layout information for a framelet.
int ccdLines() const
Return the number of lines in the CCD.
File name manipulation and expansion.
bool addKernel(const QString &kernel)
Add a NAIF kernel to the set of kernels that values will be pulled from.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
A type of error that occurred when performing an actual I/O operation.
QString m_filterName
The name of the framelet.
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 getSpiceInt(const QString &var, const int index=0) const
Query the loaded kernels for an integer valued keyword.
Container for the layout of a specific framelet on the detector.
int m_lines
The number of lines in the framelet.
bool Add(const QString &kfile)
Add a new kernel to the list.
#define _FILEINFO_
Macro for the filename and line number.
int m_startSample
The first sample of the framelet on the detector.
double getSpiceDouble(const QString &var, const int index=0) const
Query the loaded kernels for a double valued keyword.
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
int m_samples
The number of samples in the framelet.
int m_startLine
The first line of the framelet on the detector.
int m_ccdId
NAIF ID of the CCD.
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
FileName highestVersion() const
Searches the directory specified in the file name for the highest version of the file name...
virtual ~PushFrameCameraCcdLayout()
Destructor.
Namespace for ISIS/Bullet specific routines.
int Load(const QString &ktype)
Load all kernels with one more types.
bool isVersioned() const
Checks to see if a file name is versioned by date or numerically.
PushFrameCameraCcdLayout()
Push frame full CCD layout class.
Kernels m_kernels
NAIF kernel manager.