21 Isis::PvlObject &isiscube = cube.
label()->findObject(
"IsisCube");
22 if(isiscube.hasGroup(
"AlphaCube")) {
23 Isis::PvlGroup &alpha = isiscube.findGroup(
"AlphaCube");
62 int betaSamples,
int betaLines,
63 double alphaSs,
double alphaSl,
64 double alphaEs,
double alphaEl) {
88 int betaSamples,
int betaLines) {
138 Isis::PvlObject &cubeObject = cube.
label()->findObject(
"IsisCube");
139 if(cubeObject.hasGroup(
"Mapping"))
return;
142 if(cubeObject.hasGroup(
"AlphaCube")) {
147 Isis::PvlGroup &alpha = cubeObject.findGroup(
"AlphaCube");
158 Isis::PvlGroup alpha(
"AlphaCube");
167 cubeObject.addGroup(alpha);
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.
This is free and unencumbered software released into the public domain.
QString toString(const LinearAlgebra::Vector &vector, int precision)
A global function to format LinearAlgebra::Vector as a QString with the given precision.
Namespace for the standard library.