|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef BufferManager_h
2 #define BufferManager_h
58 int bufsamps,
int buflines,
int bufbands,
107 return (
setpos(p_currentMap + 1));
116 return (p_currentMap >= p_nmaps);
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.
Definition: BufferManager.h:73
BufferManager & operator=(const BufferManager &rhs)
Creates a new BufferManager with the same values as another.
Definition: BufferManager.cpp:107
bool setpos(BigInt map)
Sets the position of the shape in the cube.
Definition: BufferManager.cpp:219
bool next()
Moves the shape buffer to the next position.
Definition: BufferManager.h:106
void SetIncrements(const int sinc, const int linc, const int binc)
Sets how the shape is incremented through the cube.
Definition: BufferManager.cpp:140
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
Definition: BufferManager.h:162
BufferManager & operator+=(int i)
Moves the shape buffer by a certain amount.
Definition: BufferManager.h:86
bool begin()
Moves the shape buffer to the first position.
Definition: BufferManager.h:96
Manages a Buffer over a cube.
Definition: BufferManager.h:52
Buffer for reading and writing cube data.
Definition: Buffer.h:53
bool end() const
Returns true if the shape buffer has accessed the end of the cube.
Definition: BufferManager.h:115
void swap(BufferManager &other)
Swaps the values of this BufferManager with that of another.
Definition: BufferManager.cpp:81
void SetBasePosition(const int start_sample, const int start_line, const int start_band)
This method is used to set the base position of the shape buffer.
Definition: Buffer.cpp:106
int MaxLines() const
Returns the number of lines in the cube.
Definition: BufferManager.h:143
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
long long int BigInt
Big int.
Definition: Constants.h:49
~BufferManager()
Destroys the BufferManager object.
Definition: BufferManager.h:63
void SetOffsets(const int soff, const int loff, const int boff)
Sets the offset of the buffer.
Definition: BufferManager.cpp:179
Isis exception class.
Definition: IException.h:91
int MaxSamples() const
Returns the number of samples in the cube.
Definition: BufferManager.h:134
int MaxBands() const
Returns the number of bands in the cube.
Definition: BufferManager.h:152
PixelType
Enumerations for Isis Pixel Types.
Definition: PixelType.h:27
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
BufferManager()
Definition: BufferManager.cpp:18
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16