36 void Brick::Resize(
const int nsamps,
const int nlines,
const int nbands) {
61 QString message =
"Invalid value for argument [brick]";
void Allocate()
Size or resize the memory buffer.
void * p_rawbuf
The raw dm read from the disk.
This error is for when a programmer made an API call that was illegal.
int p_npixels
Number of pixels (nsamps * nlines * nbands)
double * p_buf
Shape buffer allocated to the size of npixels for handling reads/writes.
#define _FILEINFO_
Macro for the filename and line number.
bool SetBrick(const int brick)
This method is used to set the position of the brick.
int p_nbands
Number of bands to read/write.
int p_nlines
Number of lines to read/write.
bool setpos(BigInt map)
Sets the position of the shape in the cube.
Namespace for ISIS/Bullet specific routines.
void Resize(const int nsamps, const int nlines, const int nbands)
Resizes the memory buffer to the specified number of samples, lines, and bands.
int p_nsamps
Number of samples to read/write.