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