50 AlphaCube(
int alphaSamples,
int alphaLines,
51 int betaSamples,
int betaLines);
52 AlphaCube(
int alphaSamples,
int alphaLines,
53 int betaSamples,
int betaLines,
54 double alphaSs,
double alphaSl,
55 double alphaEs,
double alphaEl);
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.
int AlphaSamples() const
Returns the number of samples in the alpha cube.
~AlphaCube()
Destroys the AlphaCube object.
double p_alphaEndingSample
The ending alpha sample.
double p_sampSlope
The slope of the sample set.
double BetaLine(double alphaLine)
Returns a beta line given an alpha line.
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 AlphaLines() const
Returns the number of lines in the alpha cube.
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.
double BetaSample(double alphaSample)
Returns a beta sample given an alpha sample.
IO Handler for Isis Cubes.
This is free and unencumbered software released into the public domain.