[][src]Crate dl_openvdb_query

Safe wrapper for lib[3Delight](https://www.3delight.com/)’s OpenVDB query API.

let open_vdb_query = dl_openvdb_query::DlOpenVdbQuery::new(
     "tests/sphere_points.vdb",
)
.unwrap();

let min = -0.9416000247001648;
let max =  1.0593000277876854;
assert_eq!(
    [min, min, min, max, max, max],
    open_vdb_query.bounding_box().unwrap()
);
assert_eq!(vec!["points"], open_vdb_query.grid_names().unwrap());

The lib3delight dynamic library can be linked to or it can be loaded at runtime. The latter is the default. Linking can be forced using the feature link_lib3delight.

Modules

dynamic

Structs

DlOpenVdbQuery

Type Definitions

Bounds

Volume bounding box in the format xmin, ymin, zmin, xmax, ymax, zmax.