19 void Brick::Resize(
const int nsamps,
const int nlines,
const int nbands) {
44 QString message =
"Invalid value for argument [brick]";
void Resize(const int nsamps, const int nlines, const int nbands)
Resizes the memory buffer to the specified number of samples, lines, and bands.
bool SetBrick(const int brick)
This method is used to set the position of the brick.
void * p_rawbuf
The raw dm read from the disk.
int p_npixels
Number of pixels (nsamps * nlines * nbands)
void Allocate()
Size or resize the memory buffer.
int p_nlines
Number of lines to read/write.
int p_nbands
Number of bands to read/write.
double * p_buf
Shape buffer allocated to the size of npixels for handling reads/writes.
int p_nsamps
Number of samples to read/write.
bool setpos(BigInt map)
Sets the position of the shape in the cube.
@ Programmer
This error is for when a programmer made an API call that was illegal.
This is free and unencumbered software released into the public domain.