File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
1 #ifndef BufferManager_h
2 #define BufferManager_h
10 #include "Constants.h"
11 #include "PixelType.h"
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);
bool operator++(int)
Moves the shape buffer to the next position.
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.
bool next()
Moves the shape buffer to the next position.
int p_currentLine
Current line.
void SetIncrements(const int sinc, const int linc, const int binc)
Sets how the shape is incremented through the cube.
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
int p_linc
Line increment.
BufferManager & operator+=(int i)
Moves the shape buffer by a certain amount.
int p_currentSample
Current sample.
BigInt p_currentMap
Current buffer map position.
bool begin()
Moves the shape buffer to the first position.
Manages a Buffer over a cube.
Buffer for reading and writing cube data.
bool end() const
Returns true if the shape buffer has accessed the end of the cube.
void swap(BufferManager &other)
Swaps the values of this BufferManager with that of another.
int p_currentBand
Current band.
int MaxLines() const
Returns the number of lines in the cube.
long long int BigInt
Big int.
int p_binc
Band increment.
~BufferManager()
Destroys the BufferManager object.
int p_sinc
Sample increment.
int p_maxLines
Maximum lines to map.
void SetOffsets(const int soff, const int loff, const int boff)
Sets the offset of the buffer.
int p_maxBands
Maximum bands to map.
bool p_reverse
If true the axies are processed in Band, Line, Sample order (e.g., BIL).
int MaxSamples() const
Returns the number of samples in the cube.
int MaxBands() const
Returns the number of bands in the cube.
PixelType
Enumerations for Isis Pixel Types.
BigInt p_nmaps
Total number of objects to map.
int p_maxSamps
Maximum samples to map.
This is free and unencumbered software released into the public domain.