7#include "BandManager.h"
26 cube.bandCount(), 1, 1, cube.bandCount(),
27 cube.pixelType(), reverse) {
42 string message =
"Invalid value for argument [sample]";
47 string message =
"Invalid value for argument [line]";
51 int map = (line - 1) *
MaxBands() + sample - 1;
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...
BandManager(const Isis::Cube &cube, const bool reverse=false)
Constructs a BandManager object.
Manages a Buffer over a cube.
bool setpos(BigInt map)
Sets the position of the shape in the cube.
int MaxBands() const
Returns the number of bands in the cube.
IO Handler for Isis Cubes.
@ Programmer
This error is for when a programmer made an API call that was illegal.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.