73 const double hotSamp = -0.5,
const double hotLine = -0.5) :
75 p_hotSample = hotSamp;
93 inline void SetPosition(
const double sample,
const double line,
96 (
int)floor(line - p_hotLine), band);
112 inline void SetHotSpot(
const double sample = -0.5,
const double line = -0.5) {
113 p_hotSample = sample;
Buffer for reading and writing cube data.
Definition Buffer.h:53
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:106
Buffer for containing a two dimensional section of an image.
Definition Portal.h:36
void SetPosition(const double sample, const double line, const int band)
Sets the line and sample position of the buffer.
Definition Portal.h:93
~Portal()
Destroys the Portal object.
Definition Portal.h:80
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.
Definition Portal.h:72
void SetHotSpot(const double sample=-0.5, const double line=-0.5)
Sets the line and sample offsets for the buffer.
Definition Portal.h:112
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
PixelType
Enumerations for Isis Pixel Types.
Definition PixelType.h:27