|
| | VoxelBlockManagerHandle (BufferT &&firstLeafID, BufferT &&jumpMap, uint64_t blockCount, uint64_t firstOffset, uint64_t lastOffset) |
| | Constructor from metadata buffers (used by buildVoxelBlockManager)
|
| | VoxelBlockManagerHandle ()=default |
| | VoxelBlockManagerHandle (const VoxelBlockManagerHandle &)=delete |
| VoxelBlockManagerHandle & | operator= (const VoxelBlockManagerHandle &)=delete |
| VoxelBlockManagerHandle & | operator= (VoxelBlockManagerHandle &&other) noexcept |
| | VoxelBlockManagerHandle (VoxelBlockManagerHandle &&other) noexcept |
| | ~VoxelBlockManagerHandle () |
| void | reset () |
| | clear the buffer
|
| template<typename U = BufferT> |
| util::enable_if< BufferTraits< U >::hasDeviceDual, uint32_t * >::type | deviceFirstLeafID () |
| | Returns a non-const pointer to the firstLeafID device-hosted data.
|
| template<typename U = BufferT> |
| util::enable_if< BufferTraits< U >::hasDeviceDual, constuint32_t * >::type | deviceFirstLeafID () const |
| | Returns a const pointer to the firstLeafID device-hosted data.
|
| template<typename U = BufferT> |
| util::enable_if< BufferTraits< U >::hasDeviceDual, uint64_t * >::type | deviceJumpMap () |
| | Returns a non-const pointer to the jumpMap device-hosted data.
|
| template<typename U = BufferT> |
| util::enable_if< BufferTraits< U >::hasDeviceDual, constuint64_t * >::type | deviceJumpMap () const |
| | Returns a const pointer to the jumpMap device-hosted data.
|
| template<typename U = BufferT> |
| util::enable_if< BufferHasDeviceSingle< U >::value, uint32_t * >::type | deviceFirstLeafID () |
| | For a single-space buffer the device data is the buffer itself.
|
| template<typename U = BufferT> |
| util::enable_if< BufferHasDeviceSingle< U >::value, constuint32_t * >::type | deviceFirstLeafID () const |
| template<typename U = BufferT> |
| util::enable_if< BufferHasDeviceSingle< U >::value, uint64_t * >::type | deviceJumpMap () |
| template<typename U = BufferT> |
| util::enable_if< BufferHasDeviceSingle< U >::value, constuint64_t * >::type | deviceJumpMap () const |
| uint64_t | blockCount () const |
| | Returns the number of voxel blocks in the VoxelBlockManager.
|
| uint64_t | firstOffset () const |
| | Returns the first voxel index (linear offset) associated with this VoxelBlockManager.
|
| uint64_t | lastOffset () const |
| | Returns the last voxel index (linear offset) associated with this VoxelBlockManager.
|
| uint32_t * | hostFirstLeafID () |
| | Returns a non-const pointer to the firstLeafID host-side data.
|
| const uint32_t * | hostFirstLeafID () const |
| | Returns a const pointer to the firstLeafID host-side data.
|
| uint64_t * | hostJumpMap () |
| | Returns a non-const pointer to the jumpMap host-side data.
|
| const uint64_t * | hostJumpMap () const |
| | Returns a const pointer to the jumpMap host-side data.
|
template<typename BufferT>
class nanovdb::tools::VoxelBlockManagerHandle< BufferT >
Move-only owner of the two raw metadata buffers that back a VoxelBlockManager: the per-block firstLeafID array (uint32_t[blockCount]) and the per-block jumpMap array (uint64_t[blockCount * JumpMapLength]).
- Template Parameters
-