42 BandManager::BandManager(
const Isis::Cube &cube,
const bool reverse) :
44 cube.bandCount(), 1, 1, cube.bandCount(),
45 cube.pixelType(), reverse) {
60 string message =
"Invalid value for argument [sample]";
65 string message =
"Invalid value for argument [line]";
69 int map = (line - 1) *
MaxBands() + sample - 1;
int MaxBands() const
Returns the number of bands in the cube.
Namespace for the standard library.
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 SetBand(const int sample, const int line=1)
Positions the buffer at the requested line and returns a status indicator if the set was succesful or...
bool setpos(BigInt map)
Sets the position of the shape in the cube.
Namespace for ISIS/Bullet specific routines.
IO Handler for Isis Cubes.