1 #ifndef BufferManager_h 2 #define BufferManager_h 74 int bufsamps,
int buflines,
int bufbands,
182 void SetIncrements(
const int sinc,
const int linc,
const int binc);
183 void SetOffsets(
const int soff,
const int loff,
const int boff);
Buffer for reading and writing cube data.
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
long long int BigInt
Big int.
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.
BufferManager & operator+=(int i)
Moves the shape buffer by a certain amount.
int p_maxLines
Maximum lines to map.
int MaxSamples() const
Returns the number of samples in the cube.
int MaxBands() const
Returns the number of bands in the cube.
~BufferManager()
Destroys the BufferManager object.
int MaxLines() const
Returns the number of lines in the cube.
int p_binc
Band increment.
int p_maxSamps
Maximum samples to map.
PixelType
Enumerations for Isis Pixel Types.
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_currentSample
Current sample.
Manages a Buffer over a cube.
bool next()
Moves the shape buffer to the next position.
bool end() const
Returns true if the shape buffer has accessed the end of the cube.
BufferManager & operator=(const BufferManager &rhs)
Creates a new BufferManager with the same values as another.
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.
Namespace for ISIS/Bullet specific routines.
int p_maxBands
Maximum bands to map.
int p_currentLine
Current line.
BigInt p_nmaps
Total number of objects to map.