[−][src]Crate dl_openvdb_query
Safe wrapper for 3Delight’s OpenVDB metadata 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
.
Structs
DlOpenVdbQuery | An API to query OpenVDB files for metadata. |
Type Definitions
Bounds | Volume bounding box in the format
|