Template Class DenseBlockHash
Defined in File dense_block_hash.h
Class Documentation
-
template<typename CellDataT, int dim, unsigned cells_per_side>
class DenseBlockHash Public Types
-
using Block = DenseGrid<CellDataT, dim, cells_per_side>
-
using BlockHashMap = SpatialHash<Block, kDim>
-
using Cell = CellDataT
Public Functions
-
inline explicit DenseBlockHash(CellDataT default_value = {})
-
template<typename IndexedBlockVisitor>
void eraseBlockIf(IndexedBlockVisitor indicator_fn)
-
inline const CellDataT &getDefaultValue() const
-
bool equalsDefaultValue(const CellDataT &value) const
-
template<typename IndexedBlockVisitor>
void forEachBlock(IndexedBlockVisitor visitor_fn)
-
template<typename IndexedBlockVisitor>
void forEachBlock(IndexedBlockVisitor visitor_fn) const
-
template<typename IndexedLeafVisitorFunction>
void forEachLeaf(IndexedLeafVisitorFunction visitor_fn)
-
template<typename IndexedLeafVisitorFunction>
void forEachLeaf(IndexedLeafVisitorFunction visitor_fn) const
Public Static Functions
Public Static Attributes
-
static constexpr IndexElement kCellsPerSide = cells_per_side
-
static constexpr IndexElement kCellsPerSideLog2 = int_math::log2_floor(cells_per_side)
-
static constexpr IndexElement kDim = dim
-
using Block = DenseGrid<CellDataT, dim, cells_per_side>