Class BufferRegion

Class Documentation

class BufferRegion

This class holds information about a rectangular region of cells of the circular buffer.

Public Types

enum class Quadrant

The definition of the buffer region positions.

Values:

enumerator Undefined
enumerator TopLeft
enumerator TopRight
enumerator BottomLeft
enumerator BottomRight

Public Functions

BufferRegion()
BufferRegion(const Index &startIndex, const Size &size, const BufferRegion::Quadrant &quadrant)
virtual ~BufferRegion() = default
const Index &getStartIndex() const
void setStartIndex(const Index &startIndex)
const Size &getSize() const
void setSize(const Size &size)
BufferRegion::Quadrant getQuadrant() const
void setQuadrant(BufferRegion::Quadrant type)

Public Static Attributes

static constexpr unsigned int nQuadrants = 4