22 if(isiscube.hasGroup(
"AlphaCube")) {
62 int betaSamples,
int betaLines,
63 double alphaSs,
double alphaSl,
64 double alphaEs,
double alphaEl) {
88 int betaSamples,
int betaLines) {
139 if(cubeObject.hasGroup(
"Mapping"))
return;
142 if(cubeObject.hasGroup(
"AlphaCube")) {
167 cubeObject.addGroup(alpha);
This class is used to rewrite the "alpha" keywords out of the AlphaCube group or Instrument group.
double p_alphaStartingLine
The starting alpha line.
void UpdateGroup(Cube &cube)
Writes or update the Alpha keywords (AlphaLines, AlphaSamples, AlphaStartingSamples,...
int p_alphaSamples
The number of alpha samples in the cube.
void ComputeSlope()
Computes the line and sample slopes.
double AlphaSample(double betaSample)
Returns an alpha sample given a beta sample.
int p_betaSamples
The number of beta samples in the cube.
double p_alphaEndingSample
The ending alpha sample.
double p_sampSlope
The slope of the sample set.
void Rehash(AlphaCube &alphaCube)
Merges two AlphaCube objects.
int BetaLines() const
Returns the number of lines in the beta cube.
AlphaCube(Cube &cube)
Constructs an AlphaCube object using a PVL object.
int p_betaLines
The number of beta lines in the cube.
double p_alphaStartingSample
The starting alpha sample.
double p_alphaEndingLine
The ending alpha line.
double p_lineSlope
The slope of the line.
double AlphaLine(double betaLine)
Returns an alpha line given a beta line.
int p_alphaLines
The number of alpha lines in the cube.
int BetaSamples() const
Returns the number of samples in the beta cube.
IO Handler for Isis Cubes.
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Contains multiple PvlContainers.
A single keyword-value pair.
Contains Pvl Groups and Pvl Objects.
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
This is free and unencumbered software released into the public domain.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Namespace for the standard library.