7#include "BandManager.h"
25 Isis::BufferManager(cube.sampleCount(), cube.lineCount(),
26 cube.bandCount(), 1, 1, cube.bandCount(),
27 cube.pixelType(), reverse) {
42 string message =
"Invalid value for argument [sample]";
43 throw IException(IException::Programmer, message, _FILEINFO_);
47 string message =
"Invalid value for argument [line]";
48 throw IException(IException::Programmer, message, _FILEINFO_);
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.
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.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.