60 Brick(
const int nsamps,
const int nlines,
const int nbands,
63 nsamps, nlines, nbands, type, reverse,
scale) {
60 Brick(
const int nsamps,
const int nlines,
const int nbands, {
…}
80 const int &bufNumLines,
const int &bufNumBands,
81 bool reverse=
false,
double scale=1.0) :
83 cube.bandCount(), bufNumSamples, bufNumLines,
84 bufNumBands, cube.pixelType(), reverse,
scale) {
104 Brick(
int maxSamples,
int maxLines,
int maxBands,
int bufNumSamples,
106 bool reverse=
false,
double scale=1.0) :
108 bufNumLines, bufNumBands, type, reverse,
scale) {
104 Brick(
int maxSamples,
int maxLines,
int maxBands,
int bufNumSamples, {
…}
121 const int start_band) {
152 void Resize(
const int nsamps,
const int nlines,
const int nbands);
void Resize(const int nsamps, const int nlines, const int nbands)
Resizes the memory buffer to the specified number of samples, lines, and bands.
Definition Brick.cpp:19
void SetBaseLine(const int start_line)
This method is used to set the base line position of the shape buffer.
Definition Brick.h:139
void SetBaseBand(const int start_band)
This method is used to set the base band position of the shape buffer.
Definition Brick.h:148
Brick(int maxSamples, int maxLines, int maxBands, int bufNumSamples, int bufNumLines, int bufNumBands, Isis::PixelType type, bool reverse=false, double scale=1.0)
Constructs a Brick object of the specified buffer size and area size to map.
Definition Brick.h:104
Brick(const int nsamps, const int nlines, const int nbands, const Isis::PixelType type, bool reverse=false, double scale=1.0)
Constructs a Brick object.
Definition Brick.h:60
void SetBaseSample(const int start_samp)
This method is used to set the base sample position of the shape buffer.
Definition Brick.h:130
int Bricks()
Returns the number of Bricks in the cube.
Definition Brick.h:168
bool SetBrick(const int brick)
This method is used to set the position of the brick.
Definition Brick.cpp:62
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 Brick.h:120
Brick(const Isis::Cube &cube, const int &bufNumSamples, const int &bufNumLines, const int &bufNumBands, bool reverse=false, double scale=1.0)
Constructs a Brick object.
Definition Brick.h:79
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:121
void SetBaseLine(const int start_line)
This method is used to set the base line position of the shape buffer.
Definition Buffer.h:212
double scale() const
Returns the scale of the shape buffer.
Definition Buffer.h:115
void SetBaseBand(const int start_band)
This method is used to set the base band position of the shape buffer.
Definition Buffer.h:222
void SetBaseSample(const int start_samp)
This method is used to set the base sample position of the shape buffer.
Definition Buffer.h:202
Manages a Buffer over a cube.
Definition BufferManager.h:52
BufferManager()
Definition BufferManager.cpp:17
BigInt MaxMaps() const
Returns the maximum number of positions the shape buffer needs to cover the entire image (see setpos ...
Definition BufferManager.h:163
IO Handler for Isis Cubes.
Definition Cube.h:168
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
PixelType
Enumerations for Isis Pixel Types.
Definition PixelType.h:29