44 const size_t windowSize = 3);
91 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
bool dataInsideMap() const
Check if data for current index is fully inside map.
const EdgeHandling edgeHandling_
Edge handling method.
size_t windowSize_
Size of the sliding window.
size_t windowMargin_
Size of the border of the window around the center cell.
SlidingWindowIterator(const GridMap &gridMap, const std::string &layer, const EdgeHandling &edgeHandling=EdgeHandling::CROP, const size_t windowSize=3)
const Matrix getData() const
SlidingWindowIterator & operator++()
void setup(const GridMap &gridMap)
Setup members.
void setWindowLength(const GridMap &gridMap, const double windowLength)
const Matrix & data_
Data.