Struct ClassifiedMap::QueryCache

Nested Relationships

This struct is a nested type of Class ClassifiedMap.

Struct Documentation

struct QueryCache

Public Functions

inline explicit QueryCache(IndexElement tree_height)
inline const Block *getBlock(const Index3D &block_index, const BlockHashMap &block_map)
std::pair<const Node*, HeightType> getNodeOrAncestor(const OctreeIndex &index, const BlockHashMap &block_map)
bool has(const OctreeIndex &index, Occupancy::Mask occupancy_mask, const BlockHashMap &block_map)
bool isFully(const OctreeIndex &index, Occupancy::Mask occupancy_mask, const BlockHashMap &block_map)
void reset()

Public Members

const IndexElement tree_height
Index3D block_index = Index3D::Constant(std::numeric_limits<IndexElement>::max())
IndexElement height = tree_height
MortonIndex morton_code = std::numeric_limits<MortonIndex>::max()
const Block *block = nullptr
std::array<const Node*, morton::kMaxTreeHeight<3>> node_stack = {}