Template Class ChunkedNdtree

Class Documentation

template<typename NodeDataT, int dim, int chunk_height>
class ChunkedNdtree

Public Types

using IndexType = NdtreeIndex<dim>
using NodeChunkType = NdtreeNodeChunk<NodeDataT, dim, chunk_height>
using NodeDataType = NodeDataT

Public Functions

explicit ChunkedNdtree(int max_height)
~ChunkedNdtree() = default
inline bool empty() const
size_t size() const
inline void clear()
void prune()
bool hasNode(const IndexType &index) const
void allocateNode(const IndexType &index)
NodeDataT *getNodeData(const IndexType &index, bool auto_allocate = true)
const NodeDataT *getNodeData(const IndexType &index) const
inline int getMaxHeight() const
inline NodeChunkType &getRootChunk()
inline const NodeChunkType &getRootChunk() const
template<TraversalOrder traversal_order>
inline auto getIterator()
template<TraversalOrder traversal_order>
inline auto getIterator() const
size_t getMemoryUsage() const

Public Static Attributes

static constexpr int kChunkHeight = chunk_height