ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::core::SlabNodeManager Class Reference

#include <SlabNodeManager.h>

Collaboration diagram for cloudViewer::core::SlabNodeManager:

Public Member Functions

 SlabNodeManager (const Device &device)
 
 ~SlabNodeManager ()
 
void Reset ()
 
std::vector< int > CountSlabsPerSuperblock ()
 

Public Attributes

SlabNodeManagerImpl impl_
 
Device device_
 

Detailed Description

Definition at line 219 of file SlabNodeManager.h.

Constructor & Destructor Documentation

◆ SlabNodeManager()

cloudViewer::core::SlabNodeManager::SlabNodeManager ( const Device device)
inline

Random coefficients for allocator's hash function.

In the light version, we put num_super_blocks super blocks within a single array.

Definition at line 221 of file SlabNodeManager.h.

References device_, cloudViewer::core::SlabNodeManagerImpl::hash_coef_, impl_, cloudViewer::core::kSuperBlocks, cloudViewer::core::kUIntsPerSuperBlock, cloudViewer::core::MemoryManager::Malloc(), cloudViewer::utility::random::RandUint32(), Reset(), and cloudViewer::core::SlabNodeManagerImpl::super_blocks_.

◆ ~SlabNodeManager()

cloudViewer::core::SlabNodeManager::~SlabNodeManager ( )
inline

Member Function Documentation

◆ CountSlabsPerSuperblock()

◆ Reset()

Member Data Documentation

◆ device_

Device cloudViewer::core::SlabNodeManager::device_

Definition at line 276 of file SlabNodeManager.h.

Referenced by SlabNodeManager(), and ~SlabNodeManager().

◆ impl_

SlabNodeManagerImpl cloudViewer::core::SlabNodeManager::impl_

The documentation for this class was generated from the following file: