73 const double hotSamp = -0.5,
const double hotLine = -0.5) :
93 inline void SetPosition(
const double sample,
const double line,
112 inline void SetHotSpot(
const double sample = -0.5,
const double line = -0.5) {
Buffer for reading and writing cube data.
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.
Buffer()
Default constructor for proper initialization purposes.
void SetPosition(const double sample, const double line, const int band)
Sets the line and sample position of the buffer.
~Portal()
Destroys the Portal object.
Portal(const int bufSamps, const int bufLines, const Isis::PixelType type, const double hotSamp=-0.5, const double hotLine=-0.5)
Constructs a Portal object.
double p_hotSample
The sample position within the buffer which is the point of interest.
double p_hotLine
The line position within the buffer which is the point of interest.
void SetHotSpot(const double sample=-0.5, const double line=-0.5)
Sets the line and sample offsets for the buffer.
This is free and unencumbered software released into the public domain.
PixelType
Enumerations for Isis Pixel Types.