66 AlphaCube(
int alphaSamples,
int alphaLines,
67 int betaSamples,
int betaLines);
68 AlphaCube(
int alphaSamples,
int alphaLines,
69 int betaSamples,
int betaLines,
70 double alphaSs,
double alphaSl,
71 double alphaEs,
double alphaEl);
94 return p_alphaSamples;
114 return p_betaSamples;
126 return p_lineSlope * (betaLine - 0.5) + p_alphaStartingLine;
138 return p_sampSlope * (betaSample - 0.5) + p_alphaStartingSample;
150 return (alphaLine - p_alphaStartingLine) / p_lineSlope + 0.5;
162 return (alphaSample - p_alphaStartingSample) / p_sampSlope + 0.5;
175 double p_alphaStartingLine;
176 double p_alphaStartingSample;
177 double p_alphaEndingLine;
178 double p_alphaEndingSample;
int BetaLines() const
Returns the number of lines in the beta cube.
Definition: AlphaCube.h:103
int AlphaLines() const
Returns the number of lines in the alpha cube.
Definition: AlphaCube.h:83
int AlphaSamples() const
Returns the number of samples in the alpha cube.
Definition: AlphaCube.h:93
AlphaCube(Cube &cube)
Constructs an AlphaCube object using a PVL object.
Definition: AlphaCube.cpp:35
double BetaLine(double alphaLine)
Returns a beta line given an alpha line.
Definition: AlphaCube.h:149
This class is used to rewrite the "alpha" keywords out of the AlphaCube group or Instrument group...
Definition: AlphaCube.h:62
double AlphaLine(double betaLine)
Returns an alpha line given a beta line.
Definition: AlphaCube.h:125
double AlphaSample(double betaSample)
Returns an alpha sample given a beta sample.
Definition: AlphaCube.h:137
int BetaSamples() const
Returns the number of samples in the beta cube.
Definition: AlphaCube.h:113
void Rehash(AlphaCube &alphaCube)
Merges two AlphaCube objects.
Definition: AlphaCube.cpp:123
void UpdateGroup(Cube &cube)
Writes or update the Alpha keywords (AlphaLines, AlphaSamples, AlphaStartingSamples, etc) in the proper group in a PVL object.
Definition: AlphaCube.cpp:149
double BetaSample(double alphaSample)
Returns a beta sample given an alpha sample.
Definition: AlphaCube.h:161
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
~AlphaCube()
Destroys the AlphaCube object.
Definition: AlphaCube.h:76
IO Handler for Isis Cubes.
Definition: Cube.h:170