NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::IVDB_subset Class Referenceabstract

Distributed data storage class for VDB subsets. More...

#include <ivdb_subset.h>

Inherits mi::base::Interface_declare< 0xe0555782, ... >.

Classes

struct  NVDB_version
 experimental API - subject to change! ///////////////////////////////////////////////////////////////////////// More...
 

Public Member Functions

virtual bool generate_grid_storage (mi::Uint32 attribute_index, mi::Size grid_memory_size, NVDB_version nvdb_version)=0
 Generating a grid storage. More...
 
virtual NVDB_grid_storage get_grid_storage (mi::Uint32 attribute_index) const =0
 Accessing the internal grid storage. More...
 
virtual IVDB_subset_deviceget_device_subset () const =0
 Accessing the device VDB subset for direct access to the VDB device resources. More...
 

Detailed Description

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.

Member Function Documentation

 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_indexThe attribute index to generate the volume storage for.
[in]grid_memory_sizeThe memory size of the grid.
[in]nvdb_versionThe NanoVDB version.
Returns
Returns true if the grid generation was successful, otherwise false.

 get_device_subset()

virtual IVDB_subset_device * nv::index::IVDB_subset::get_device_subset ( ) const
pure virtual

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_indexThe 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: