Template Class ChunkedNdtreeNodeRef

Class Documentation

template<typename ChunkType>
class ChunkedNdtreeNodeRef

Public Types

using NodeRef = ChunkedNdtreeNodeRef<ChunkType>
using NodePtr = ChunkedNdtreeNodePtr<ChunkType>
using NodeDataType = typename ChunkType::DataType

Public Functions

ChunkedNdtreeNodeRef() = delete
ChunkedNdtreeNodeRef(ChunkType &chunk, IndexElement relative_node_depth, LinearIndex level_traversal_distance)
ChunkedNdtreeNodeRef(const ChunkedNdtreeNodeRef &other)
ChunkedNdtreeNodeRef(ChunkedNdtreeNodeRef &&other) noexcept
ChunkedNdtreeNodeRef &operator=(const ChunkedNdtreeNodeRef&) = delete
ChunkedNdtreeNodeRef &operator=(ChunkedNdtreeNodeRef&&) = delete
operator ChunkedNdtreeNodeRef<const ChunkType>() const
NodePtr operator&() const
bool empty() const
bool hasNonzeroData() const
bool hasNonzeroData(FloatingPoint threshold) const
auto &data() const
auto hasAtLeastOneChild() const
bool hasChild(NdtreeIndexRelativeChild child_index) const
void eraseChild(NdtreeIndexRelativeChild child_index) const
NodePtr getChild(NdtreeIndexRelativeChild child_index) const
template<typename ...DefaultArgs>
NodeRef getOrAllocateChild(NdtreeIndexRelativeChild child_index, DefaultArgs&&... args) const
template<typename ...DefaultArgs>
ChunkedNdtreeNodeRef<ChunkType> getOrAllocateChild(NdtreeIndexRelativeChild child_index, DefaultArgs&&... args) const

Public Static Attributes

static constexpr int kDim = ChunkType::kDim
static constexpr int kNumChildren = NdtreeIndex<kDim>::kNumChildren