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