Template Class ChunkedNdtreeNodeRef

Class Documentation

template<typename ChunkType>
class ChunkedNdtreeNodeRef

Public Types

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

Public Functions

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 NodeConstRef()
NodePtr operator&()
NodeConstPtr operator&() const
bool empty() const
bool hasNonzeroData() const
bool hasNonzeroData(FloatingPoint threshold) const
auto &data()
const auto &data() const
ChunkType::BitRef hasAtLeastOneChild()
bool hasAtLeastOneChild() const
bool hasChild(NdtreeIndexRelativeChild child_index) const
NodePtr getChild(NdtreeIndexRelativeChild child_index)
NodeConstPtr 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