const Index & getStartIndex() const
GridMapIterator & operator=(const GridMapIterator &other)
Index getIndexFromBufferIndex(const Index &bufferIndex, const Size &bufferSize, const Index &bufferStartIndex)
const Index operator*() const
size_t linearIndex_
Linear index.
bool isPastEnd_
Is iterator out of scope.
Size size_
Size of the buffer.
size_t linearSize_
Linear size of the data.
Index getIndexFromLinearIndex(const size_t linearIndex, const Size &bufferSize, const bool rowMajor=false)
const Index getUnwrappedIndex() const
GridMapIterator(const grid_map::GridMap &gridMap)
GridMapIterator end() const
virtual GridMapIterator & operator++()
Index startIndex_
Start index of the circular buffer.
bool operator!=(const GridMapIterator &other) const
const size_t & getLinearIndex() const
const Size & getSize() const