|
Open3D (C++ API)
0.19.0
|
#include <HashBackendBuffer.h>
Data Structures | |
| struct | HeapTop |
Public Member Functions | |
| HashBackendBuffer (int64_t capacity, int64_t key_dsize, std::vector< int64_t > value_dsizes, const Device &device) | |
| void | ResetHeap () |
| Reset the heap and heap top. | |
| Device | GetDevice () const |
| Return device of the buffer. | |
| int64_t | GetCapacity () const |
| Return capacity of the buffer. | |
| int64_t | GetKeyDsize () const |
| Return key's data size in bytes. | |
| std::vector< int64_t > | GetValueDsizes () const |
| Return value's data sizes in bytes. | |
| int64_t | GetCommonBlockSize () const |
| Get the common block size divisor of all values types. | |
| std::vector< int64_t > | GetValueBlocksPerElement () const |
| Return value's data sizes in the unit of common block size divisor. | |
| Tensor | GetIndexHeap () const |
| Return the index heap tensor. | |
| HeapTop & | GetHeapTop () |
| int | GetHeapTopIndex () const |
| Return the current heap top. | |
| Tensor | GetKeyBuffer () const |
| Return the key buffer tensor. | |
| std::vector< Tensor > | GetValueBuffers () const |
| Return the value buffer tensors. | |
| Tensor | GetValueBuffer (size_t i=0) const |
| Return the selected value buffer tensor at index i. | |
Protected Attributes | |
| Tensor | heap_ |
| HeapTop | heap_top_ |
| Tensor | key_buffer_ |
| std::vector< Tensor > | value_buffers_ |
| int64_t | common_block_size_ |
| std::vector< int64_t > | blocks_per_element_ |
| open3d::core::HashBackendBuffer::HashBackendBuffer | ( | int64_t | capacity, |
| int64_t | key_dsize, | ||
| std::vector< int64_t > | value_dsizes, | ||
| const Device & | device ) |
| int64_t open3d::core::HashBackendBuffer::GetCapacity | ( | ) | const |
Return capacity of the buffer.
| int64_t open3d::core::HashBackendBuffer::GetCommonBlockSize | ( | ) | const |
Get the common block size divisor of all values types.
| Device open3d::core::HashBackendBuffer::GetDevice | ( | ) | const |
Return device of the buffer.
| HashBackendBuffer::HeapTop & open3d::core::HashBackendBuffer::GetHeapTop | ( | ) |
Return the heap top structure. To be dispatched accordingly in C++/CUDA accessors.
| int open3d::core::HashBackendBuffer::GetHeapTopIndex | ( | ) | const |
Return the current heap top.
| Tensor open3d::core::HashBackendBuffer::GetIndexHeap | ( | ) | const |
Return the index heap tensor.
| Tensor open3d::core::HashBackendBuffer::GetKeyBuffer | ( | ) | const |
Return the key buffer tensor.
| int64_t open3d::core::HashBackendBuffer::GetKeyDsize | ( | ) | const |
Return key's data size in bytes.
| std::vector< int64_t > open3d::core::HashBackendBuffer::GetValueBlocksPerElement | ( | ) | const |
Return value's data sizes in the unit of common block size divisor.
| Tensor open3d::core::HashBackendBuffer::GetValueBuffer | ( | size_t | i = 0 | ) | const |
Return the selected value buffer tensor at index i.
| std::vector< Tensor > open3d::core::HashBackendBuffer::GetValueBuffers | ( | ) | const |
Return the value buffer tensors.
| std::vector< int64_t > open3d::core::HashBackendBuffer::GetValueDsizes | ( | ) | const |
Return value's data sizes in bytes.
| void open3d::core::HashBackendBuffer::ResetHeap | ( | ) |
Reset the heap and heap top.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |