1 #ifndef BufferManager_h
2 #define BufferManager_h
73 int bufsamps,
int buflines,
int bufbands,
173 void SetIncrements(
const int sinc,
const int linc,
const int binc);
174 void SetOffsets(
const int soff,
const int loff,
const int boff);
Buffer for reading and writing cube data.
void SetOffsets(const int soff, const int loff, const int boff)
Sets the offset of the buffer.
bool p_reverse
If true the axies are processed in Band, Line, Sample order (e.g., BIL).
int p_sinc
Sample increment.
bool end() const
Returns true if the shape buffer has accessed the end of the cube.
int p_maxLines
Maximum lines to map.
int MaxSamples() const
Returns the number of samples in the cube.
~BufferManager()
Destroys the BufferManager object.
int p_binc
Band increment.
int p_maxSamps
Maximum samples to map.
PixelType
Enumerations for Isis Pixel Types.
bool begin()
Moves the shape buffer to the first position.
int MaxLines() const
Returns the number of lines in the cube.
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
int p_currentSample
Current sample.
Manages a Buffer over a cube.
bool next()
Moves the shape buffer to the next position.
int MaxBands() const
Returns the number of bands in the cube.
bool setpos(BigInt map)
Sets the position of the shape in the cube.
int p_linc
Line increment.
BigInt p_currentMap
Current buffer map position.
bool operator++(int)
Moves the shape buffer to the next position.
int p_currentBand
Current band.
void SetIncrements(const int sinc, const int linc, const int binc)
Sets how the shape is incremented through the cube.
int p_maxBands
Maximum bands to map.
int p_currentLine
Current line.
BigInt p_nmaps
Total number of objects to map.