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

Namespaces

namespace  meshlib

Functions

auto meshlib::make_unoriented_normals_4_float (pointCloud:&meshlib::PointCloud, radius:f32, progress:Option<&meshlib::std_function_bool_from_float >, orient:Option< meshlib::OrientNormals >) -> meshlib::Owned< meshlib::std_optional_MR_VertCoords >
 Makes normals for valid points of given point cloud by directing them along the normal of best plane through the neighbours.
auto meshlib::make_unoriented_normals_4_mr_all_local_triangulations (pointCloud:&meshlib::PointCloud, triangs:&meshlib::AllLocalTriangulations, progress:Option<&meshlib::std_function_bool_from_float >, orient:Option< meshlib::OrientNormals >) -> meshlib::Owned< meshlib::std_optional_MR_VertCoords >
 Makes normals for valid points of given point cloud by averaging neighbor triangle normals weighted by triangle's angle.
auto meshlib::make_unoriented_normals_5 (pointCloud:&meshlib::PointCloud, closeVerts:&meshlib::Buffer_MR_VertId, numNei:core::ffi::c_int, progress:Option<&meshlib::std_function_bool_from_float >, orient:Option< meshlib::OrientNormals >) -> meshlib::Owned< meshlib::std_optional_MR_VertCoords >
 Makes normals for valid points of given point cloud by directing them along the normal of best plane through the neighbours.
auto meshlib::orient_normals_4_float (pointCloud:&meshlib::PointCloud, normals:&mut meshlib::VertCoords, radius:f32, progress:Option<&meshlib::std_function_bool_from_float >) -> bool
 Select orientation of given normals to make directions of close points consistent;.
auto meshlib::orient_normals_4_mr_all_local_triangulations (pointCloud:&meshlib::PointCloud, normals:&mut meshlib::VertCoords, triangs:&meshlib::AllLocalTriangulations, progress:Option<&meshlib::std_function_bool_from_float >) -> bool
 Select orientation of given normals to make directions of close points consistent;.
auto meshlib::orient_normals_5 (pointCloud:&meshlib::PointCloud, normals:&mut meshlib::VertCoords, closeVerts:&meshlib::Buffer_MR_VertId, numNei:core::ffi::c_int, progress:Option<&meshlib::std_function_bool_from_float >) -> bool
 Select orientation of given normals to make directions of close points consistent;.
auto meshlib::make_oriented_normals_float (pointCloud:&meshlib::PointCloud, radius:f32, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::std_optional_MR_VertCoords >
 Makes normals for valid points of given point cloud; directions of close points are selected to be consistent;.
auto meshlib::make_oriented_normals_mr_all_local_triangulations (pointCloud:&meshlib::PointCloud, triangs:&mut meshlib::AllLocalTriangulations, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::std_optional_MR_VertCoords >
 Makes normals for valid points of given point cloud; directions of close points are selected to be consistent;.
auto meshlib::make_normals (pointCloud:&meshlib::PointCloud, avgNeighborhoodSize:Option< core::ffi::c_int >) -> meshlib::Owned< meshlib::VertCoords >
 Makes consistent normals for valid points of given point cloud.