C++ API Reference
Class Summary:
Class |
Description |
|---|---|
|
IVDBTool interface. |
|
Parameter set for loading VDB volumes |
|
Parameter set for saving VDB volumes |
This is an example of how to acquire IVDBTool interface:
static const char s_vdbtool[] = "omni.vdb.tool.plugin";
omni::vdb::tool::IVDBTool* ivdbtool =
carb::getCachedInterface<omni::vdb::tool::IVDBTool, s_vdbtool>();
if (!ivdbtool)
{
CARB_LOG_ERROR("Failed to get IVDBTool interface");
return false;
}
The methods of omni::vdb::tool::IVDBTool are listed below.
Methods Summary:
Method |
Description |
|---|---|
Get a volume from serialized NanoVDB buffer. |
|
Clip a VDB grid against another grid. |
|
Compare volumes and print evaluation results. |
|
Composite two given grids. |
|
Generate a grid by computation on given grid. |
|
Convert a sequence of volumes. |
|
Create a volume from a pair of ijk coordinates and corresponding values. |
|
CSG op. of two level sets surfaces. |
|
Expand narrow band of a level set VDB. |
|
Filter a level set surface. |
|
Signed-flood filling of a level set VDB. |
|
Convert an iso-surface of a scalar field into a level set (i.e. SDF). |
|
Convert a level set VDB into a VDB with a fog volume, i.e. normalized density. |
|
Get mesh data from a level set volume. |
|
Load a volume from the specified fullpath with loader parameters. |
|
Get a level set volume from mesh data. |
|
Construct a LoD sequences of VDB trees with powers of two refinements. |
|
Morphological operations on level set surface by a fixed radius (dilate, erode, open, close). |
|
Convert geometry points into a narrow-band level set. |
|
Print a volume information. |
|
Prune away inactive values in a level set VDB. |
|
Resample one VDB grid into another VDB grid. |
|
Save a volume to specified fullpath with saver parameters. |
|
Scatter point into the active values of an input VDB grid. |
|
Segment an input VDB into a list if topologically disconnected VDB grids. |
|
Apply affine transform to a given volume. |
|
Get serialized NanoVDB buffer from a volume. |
- bufferToVolume
- clipVolume
- compareVolume
- compositeVolume
- computeVolume
- convertVolume
- createVolumeFromCoordValuePairs
- csgLevelset
- expandLevelset
- filterLevelset
- floodLevelset
- isoToLevelset
- levelsetToFog
- levelsetToMesh
- loadVolume
- meshToLevelset
- multiResGrid
- offsetLevelset
- pointsToLevelset
- printVolume
- pruneLevelset
- resampleVolume
- saveVolume
- scatterPointsToVolume
- segmentVolume
- transformVolume
- volumeToBuffer