Public Types | Public Member Functions | Static Public Attributes | Private Attributes
grid_map::BufferRegion Class Reference

#include <BufferRegion.hpp>

List of all members.

Public Types

enum  Quadrant {
  Undefined, TopLeft, TopRight, BottomLeft,
  BottomRight
}

Public Member Functions

 BufferRegion ()
 BufferRegion (const Index &startIndex, const Size &size, const BufferRegion::Quadrant &quadrant)
BufferRegion::Quadrant getQuadrant () const
const SizegetSize () const
const IndexgetStartIndex () const
void setQuadrant (BufferRegion::Quadrant type)
void setSize (const Size &size)
void setStartIndex (const Index &startIndex)
virtual ~BufferRegion ()

Static Public Attributes

static constexpr unsigned int nQuadrants = 4

Private Attributes

Quadrant quadrant_
 Quadrant type of the buffer region.
Size size_
 Size of the buffer region.
Index staretIndex_
 Start index (typically top-left) of the buffer region.

Detailed Description

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

Definition at line 19 of file BufferRegion.hpp.


Member Enumeration Documentation

The definition of the buffer region positions.

Enumerator:
Undefined 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Definition at line 26 of file BufferRegion.hpp.


Constructor & Destructor Documentation

Definition at line 12 of file BufferRegion.cpp.

grid_map::BufferRegion::BufferRegion ( const Index startIndex,
const Size size,
const BufferRegion::Quadrant quadrant 
)

Definition at line 19 of file BufferRegion.cpp.

Definition at line 26 of file BufferRegion.cpp.


Member Function Documentation

Definition at line 50 of file BufferRegion.cpp.

Definition at line 40 of file BufferRegion.cpp.

Definition at line 30 of file BufferRegion.cpp.

Definition at line 55 of file BufferRegion.cpp.

void grid_map::BufferRegion::setSize ( const Size size)

Definition at line 45 of file BufferRegion.cpp.

void grid_map::BufferRegion::setStartIndex ( const Index startIndex)

Definition at line 35 of file BufferRegion.cpp.


Member Data Documentation

constexpr unsigned int grid_map::BufferRegion::nQuadrants = 4 [static]

Definition at line 35 of file BufferRegion.hpp.

Quadrant type of the buffer region.

Definition at line 57 of file BufferRegion.hpp.

Size of the buffer region.

Definition at line 54 of file BufferRegion.hpp.

Start index (typically top-left) of the buffer region.

Definition at line 51 of file BufferRegion.hpp.


The documentation for this class was generated from the following files:


grid_map_core
Author(s): Péter Fankhauser
autogenerated on Tue Jul 9 2019 05:06:13