Class HashedChunkedWaveletOctreeBlock

Nested Relationships

Nested Types

Class Documentation

class HashedChunkedWaveletOctreeBlock

Public Types

using BlockIndex = Index3D
using Coefficients = HaarCoefficients<FloatingPoint, kDim>
using Transform = HaarTransform<FloatingPoint, kDim>
using ChunkedOctreeType = ChunkedOctree<Coefficients::Details, kChunkHeight>

Public Functions

inline explicit HashedChunkedWaveletOctreeBlock(IndexElement tree_height, FloatingPoint min_log_odds, FloatingPoint max_log_odds)
inline bool empty() const
inline size_t size() const
void threshold()
void prune()
void clear()
inline FloatingPoint getCellValue(const OctreeIndex &index) const
void setCellValue(const OctreeIndex &index, FloatingPoint new_value)
void addToCellValue(const OctreeIndex &index, FloatingPoint update)
void forEachLeaf(const BlockIndex &block_index, typename MapBase::IndexedLeafVisitorFunction visitor_fn, IndexElement termination_height = 0) const
inline Coefficients::Scale &getRootScale()
inline const Coefficients::Scale &getRootScale() const
inline ChunkedOctreeType::NodeRefType getRootNode()
inline ChunkedOctreeType::NodeConstRefType getRootNode() const
inline ChunkedOctreeType::ChunkType &getRootChunk()
inline const ChunkedOctreeType::ChunkType &getRootChunk() const
inline void setNeedsPruning(bool value = true)
inline bool getNeedsPruning() const
inline bool &getNeedsPruning()
inline void setNeedsThresholding(bool value = true)
inline bool getNeedsThresholding() const
inline void setLastUpdatedStamp(Timestamp stamp = Time::now())
inline Timestamp getLastUpdatedStamp() const
inline FloatingPoint getTimeSinceLastUpdated() const
template<TraversalOrder traversal_order>
inline auto getChunkIterator()
template<TraversalOrder traversal_order>
inline auto getChunkIterator() const
inline size_t getMemoryUsage() const

Public Static Attributes

static constexpr int kDim = 3
static constexpr int kChunkHeight = 3
static constexpr int kMaxSupportedTreeHeight = 9