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

Classes

struct  meshlib::DecimatePartsMode
struct  meshlib::DecimateStrategy
struct  meshlib::DecimateResult
struct  meshlib::DecimateSettings
struct  meshlib::RemeshSettings
struct  meshlib::ResolveMeshDegenSettings

Namespaces

namespace  meshlib

Functions

auto meshlib::decimate_mesh (mesh:&mut meshlib::Mesh, settings:Option<&meshlib::DecimateSettings >) -> meshlib::Owned< meshlib::DecimateResult >
 Performs mesh simplification in mesh region according to the settings.
auto meshlib::decimate_object_mesh_data (data:&mut meshlib::ObjectMeshData, settings:&meshlib::DecimateSettings) -> meshlib::Owned< meshlib::DecimateResult >
auto meshlib::make_decimated_object_mesh_data (obj:&meshlib::ObjectMesh, settings:&meshlib::DecimateSettings, outRes:Option<&mut meshlib::DecimateResult >) -> meshlib::Owned< meshlib::std_optional_MR_ObjectMeshData >
auto meshlib::compute_form_at_vertex (mp:&meshlib::MeshPart, v:meshlib::VertId, stabilizer:f32, angleWeigted:bool, creases:Option<&meshlib::UndirectedEdgeBitSet >) -> meshlib::Owned< meshlib::QuadraticForm3f >
 Computes quadratic form at given vertex of the initial surface before decimation.
auto meshlib::compute_forms_at_vertices (mp:&meshlib::MeshPart, stabilizer:f32, angleWeigted:bool, creases:Option<&meshlib::UndirectedEdgeBitSet >) -> meshlib::Owned< meshlib::Vector_MR_QuadraticForm3f_MR_VertId >
 Computes quadratic forms at every vertex of mesh part before decimation.
auto meshlib::get_subdivide_part (valids:&meshlib::FaceBitSet, subdivideParts:usize, myPart:usize) -> meshlib::Owned< meshlib::FaceBitSet >
 returns given subdivision part of all valid faces; parallel threads shall be able to safely modify these bits because they do not share any block with other parts
auto meshlib::resolve_mesh_degenerations (mesh:&mut meshlib::Mesh, settings:Option<&meshlib::ResolveMeshDegenSettings >) -> bool
 Removes degenerate triangles in a mesh by calling decimateMesh function with appropriate settings.
auto meshlib::remesh (mesh:&mut meshlib::Mesh, settings:&meshlib::RemeshSettings) -> bool