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 NodeChunkType = NdtreeNodeChunk<typename Coefficients::Details, kDim, 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()
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 VolumetricDataStructureBase::IndexedLeafVisitorFunction visitor_fn) const
inline Coefficients::Scale &getRootScale()
inline const Coefficients::Scale &getRootScale() const
inline NodeChunkType &getRootChunk()
inline const NodeChunkType &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