Class VoxelGrid::ConstAccessor
Defined in File bonxai.hpp
Nested Relationships
This class is a nested type of Template Class VoxelGrid.
Inheritance Relationships
Derived Type
public Bonxai::VoxelGrid< DataT >::Accessor(Class VoxelGrid::Accessor)
Class Documentation
-
class ConstAccessor
Subclassed by Bonxai::VoxelGrid< DataT >::Accessor
Public Functions
-
inline ConstAccessor(const VoxelGrid &grid)
-
inline const DataT *value(const CoordT &coord) const
value getter.
- Parameters:
coord – coordinate of the cell.
- Returns:
return the pointer to the value or nullptr if not set.
-
inline bool isCellOn(const CoordT &coord) const
isCellOn only check if a cell is in “On” state
- Parameters:
coordinate – of the cell.
-
inline const InnerGrid *lastInnerGrid() const
lastInnerGrid returns the pointer to the InnerGrid in the cache.
-
inline const LeafGrid *lastLeafGrid() const
lastLeafGrid returns the pointer to the LeafGrid in the cache.
-
inline ConstAccessor(const VoxelGrid &grid)