58 int bufsamps,
int buflines,
int bufbands,
166 void SetIncrements(
const int sinc,
const int linc,
const int binc);
167 void SetOffsets(
const int soff,
const int loff,
const int boff);
Buffer for reading and writing cube data.
Manages a Buffer over a cube.
BufferManager & operator=(const BufferManager &rhs)
Creates a new BufferManager with the same values as another.
int p_currentSample
Current sample.
void swap(BufferManager &other)
Swaps the values of this BufferManager with that of another.
bool begin()
Moves the shape buffer to the first position.
int p_currentBand
Current band.
int p_linc
Line increment.
int p_maxBands
Maximum bands to map.
int p_currentLine
Current line.
void SetOffsets(const int soff, const int loff, const int boff)
Sets the offset of the buffer.
int MaxSamples() const
Returns the number of samples in the cube.
int p_maxSamps
Maximum samples to map.
bool p_reverse
If true the axies are processed in Band, Line, Sample order (e.g., BIL).
int p_sinc
Sample increment.
BufferManager & operator+=(int i)
Moves the shape buffer by a certain amount.
int MaxLines() const
Returns the number of lines in the 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.
~BufferManager()
Destroys the BufferManager object.
bool end() const
Returns true if the shape buffer has accessed the end of the cube.
BigInt p_currentMap
Current buffer map position.
bool next()
Moves the shape buffer to the next position.
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
void SetIncrements(const int sinc, const int linc, const int binc)
Sets how the shape is incremented through the cube.
bool operator++(int)
Moves the shape buffer to the next position.
int p_maxLines
Maximum lines to map.
BigInt p_nmaps
Total number of objects to map.
int p_binc
Band increment.
This is free and unencumbered software released into the public domain.
long long int BigInt
Big int.
PixelType
Enumerations for Isis Pixel Types.