44 SampleManager::SampleManager(
const Isis::Cube &cube,
const bool reverse) :
46 cube.bandCount(), 1, cube.lineCount(), 1,
47 cube.pixelType(), reverse) {
62 string message =
"Invalid value for argument [sample]";
67 string message =
"Invalid value for argument [band]";
71 int map = (band - 1) *
MaxSamples() + sample - 1;
int MaxSamples() const
Returns the number of samples in the cube.
This error is for when a programmer made an API call that was illegal.
Manages a Buffer over a cube.
#define _FILEINFO_
Macro for the filename and line number.
bool setpos(BigInt map)
Sets the position of the shape in the cube.
IO Handler for Isis Cubes.
bool SetSample(const int sample, const int band=1)
Positions the buffer at the requested line and returns a status indicator if the set was succesful or...