MeshLib Rust Docs
Loading...
Searching...
No Matches
MRVDBConversions.rs File Reference

Classes

struct  meshlib::MeshToVolumeParams_Type
struct  meshlib::DoubleOffsetSettings
struct  meshlib::GridToMeshSettings
struct  meshlib::MakeSignedByWindingNumberSettings
struct  meshlib::MeshToVolumeParams

Namespaces

namespace  meshlib

Functions

auto meshlib::mesh_to_level_set (mp:&meshlib::MeshPart, xf:&meshlib::AffineXf3f, voxelSize:&meshlib::Vector3f, surfaceOffset:Option< f32 >, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::FloatGrid >
auto meshlib::mesh_to_distance_field (mp:&meshlib::MeshPart, xf:&meshlib::AffineXf3f, voxelSize:&meshlib::Vector3f, surfaceOffset:Option< f32 >, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::FloatGrid >
void meshlib::eval_grid_min_max (grid:&meshlib::FloatGrid, min:&mut f32, max:&mut f32)
auto meshlib::mesh_to_distance_vdb_volume (mp:&meshlib::MeshPart, params:Option<&meshlib::MeshToVolumeParams >) -> meshlib::Owned< meshlib::expected_MR_VdbVolume_std_string >
auto meshlib::mesh_to_volume (mp:&meshlib::MeshPart, params:Option<&meshlib::MeshToVolumeParams >) -> meshlib::Owned< meshlib::expected_MR_VdbVolume_std_string >
auto meshlib::float_grid_to_vdb_volume (grid:&meshlib::FloatGrid) -> meshlib::Owned< meshlib::VdbVolume >
auto meshlib::simple_volume_to_dense_grid (simpleVolume:&meshlib::SimpleVolume, background:Option< f32 >, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::FloatGrid >
auto meshlib::simple_volume_to_vdb_volume (simpleVolume:&meshlib::SimpleVolumeMinMax, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::VdbVolume >
auto meshlib::function_volume_to_vdb_volume (functoinVolume:&meshlib::FunctionVolume, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::VdbVolume >
void meshlib::put_simple_volume_in_dense_grid (grid:&mut meshlib::FloatGrid, minCoord:&meshlib::Vector3i, simpleVolume:&meshlib::SimpleVolume, cb:Option<&meshlib::std_function_bool_from_float >)
 Copy given simpleVolume into the grid, starting at minCoord Uses multithreaded copying, so the function is not thread safe. The overloads taking openvdb::FloatGrid and its Accessor are declared in MRVDBFloatGrid.h Generated from function MR::putSimpleVolumeInDenseGrid.
auto meshlib::vdb_volume_to_simple_volume (vdbVolume:&meshlib::VdbVolume, activeBox:Option<&meshlib::Box3i >, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_MR_SimpleVolumeMinMax_std_string >
auto meshlib::vdb_volume_to_simple_volume_norm (vdbVolume:&meshlib::VdbVolume, activeBox:Option<&meshlib::Box3i >, sourceScale:Option<&meshlib::Box1f >, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_MR_SimpleVolumeMinMax_std_string >
auto meshlib::vdb_volume_to_simple_volume_u16 (vdbVolume:&meshlib::VdbVolume, activeBox:Option<&meshlib::Box3i >, sourceScale:Option<&meshlib::Box1f >, cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_MR_SimpleVolumeMinMaxU16_std_string >
auto meshlib::grid_to_mesh_const_mr_float_grid_ref (grid:&meshlib::FloatGrid, settings:&meshlib::GridToMeshSettings) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string >
auto meshlib::grid_to_mesh_mr_float_grid_rvalue_ref (grid:&mut meshlib::FloatGrid, settings:&meshlib::GridToMeshSettings) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string >
auto meshlib::make_signed_by_winding_number (grid:&mut meshlib::FloatGrid, voxelSize:&meshlib::Vector3f, refMesh:&meshlib::Mesh, settings:&meshlib::MakeSignedByWindingNumberSettings) -> meshlib::Owned< meshlib::expected_void_std_string >
auto meshlib::double_offset_vdb (mp:&meshlib::MeshPart, settings:&meshlib::DoubleOffsetSettings) -> meshlib::Owned< meshlib::expected_MR_Mesh_std_string >