Template Class ChunkedNdtreeNodeRef
Defined in File chunked_ndtree_node_address.h
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 hasNonzeroData(FloatingPoint threshold) const
-
ChunkType::BitRef hasAtLeastOneChild()
-
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
-
using NodeRef = ChunkedNdtreeNodeRef<ChunkType>