Distributed data storage class for VDB subsets.
More...
#include <ivdb_subset.h>
Inherits mi::base::Interface_declare< 0xe0555782, ... >.
|
struct | NVDB_version |
| experimental API - subject to change! ///////////////////////////////////////////////////////////////////////// More...
|
|
Distributed data storage class for VDB subsets.
Data access (e.g., import, editing) for VDB data associated with IVDB_scene_element
instances is performed through instances of this subset class. A subset of a VBD instance is defined by all data bricks/nodes intersecting a rectangular subregion of the entire scene/dataset.
◆ generate_grid_storage()
virtual bool nv::index::IVDB_subset::generate_grid_storage |
( |
mi::Uint32 |
attribute_index, |
|
|
mi::Size |
grid_memory_size, |
|
|
NVDB_version |
nvdb_version |
|
) |
| |
|
pure virtual |
Generating a grid storage.
- Parameters
-
[in] | attribute_index | The attribute index to generate the volume storage for. |
[in] | grid_memory_size | The memory size of the grid. |
[in] | nvdb_version | The NanoVDB version. |
- Returns
- Returns
true
if the grid generation was successful, otherwise false
.
◆ get_device_subset()
Accessing the device VDB subset for direct access to the VDB device resources.
- Returns
- Returns the device-handled seubset for direct access to the VDB device resources, will return
NULL
if data is not stored on device (yet).
◆ get_grid_storage()
virtual NVDB_grid_storage nv::index::IVDB_subset::get_grid_storage |
( |
mi::Uint32 |
attribute_index | ) |
const |
|
pure virtual |
Accessing the internal grid storage.
- Parameters
-
[in] | attribute_index | The attribute index to return the volume storage for. |
- Returns
- Returns the internal grid data storage.
The documentation for this class was generated from the following file: