76 Brick(
const int nsamps,
const int nlines,
const int nbands,
79 nsamps, nlines, nbands, type, reverse) {
96 const int &bufNumLines,
const int &bufNumBands,
99 cube.bandCount(), bufNumSamples, bufNumLines,
100 bufNumBands, cube.pixelType(), reverse) {
120 Brick(
int maxSamples,
int maxLines,
int maxBands,
int bufNumSamples,
122 bool reverse=
false) :
124 bufNumLines, bufNumBands, type, reverse) {
137 const int start_band) {
168 void Resize(
const int nsamps,
const int nlines,
const int nbands);
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
void SetBaseLine(const int start_line)
This method is used to set the base line position of the shape buffer.
void SetBaseSample(const int start_samp)
This method is used to set the base sample position of the shape buffer.
void SetBaseBand(const int start_band)
This method is used to set the base band position of the shape buffer.
Buffer for containing a three dimensional section of an image.
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.
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.
Brick(int maxSamples, int maxLines, int maxBands, int bufNumSamples, int bufNumLines, int bufNumBands, Isis::PixelType type, bool reverse=false)
Constructs a Brick object of the specified buffer size and area size to map.
PixelType
Enumerations for Isis Pixel Types.
void SetBaseBand(const int start_band)
This method is used to set the base band position of the shape buffer.
Manages a Buffer over a cube.
int Bricks()
Returns the number of Bricks in the cube.
bool SetBrick(const int brick)
This method is used to set the position of the brick.
void SetBaseSample(const int start_samp)
This method is used to set the base sample position of the shape buffer.
Brick(const int nsamps, const int nlines, const int nbands, const Isis::PixelType type, bool reverse=false)
Constructs a Brick object.
void SetBaseLine(const int start_line)
This method is used to set the base line position of the shape buffer.
Namespace for ISIS/Bullet specific routines.
Brick(const Isis::Cube &cube, const int &bufNumSamples, const int &bufNumLines, const int &bufNumBands, bool reverse=false)
Constructs a Brick object.
void Resize(const int nsamps, const int nlines, const int nbands)
Resizes the memory buffer to the specified number of samples, lines, and bands.
IO Handler for Isis Cubes.