| auto meshlib::point_cloud_components::get_all_components | ( | pointCloud:&meshlib::PointCloud | , |
| maxDist:f32 | , | ||
| maxComponentCount:Option< core::ffi::c_int > | , | ||
| pc:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_std_pair_std_vector_MR_VertBitSet_int_std_string > |
gets all components of point cloud connected by a distance no greater than
| maxDist |
if components number more than the maxComponentCount, they will be combined into groups of the same size
| maxComponentCount | should be more than 1 |
Calls MR_PointCloudComponents_getAllComponents().
| auto meshlib::point_cloud_components::get_large_components | ( | pointCloud:&meshlib::PointCloud | , |
| maxDist:f32 | , | ||
| minSize:core::ffi::c_int | , | ||
| pc:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_std_vector_MR_VertBitSet_std_string > |
returns vector of point cloud components containing at least minSize points and connected by a distance no greater than
| maxDist | |
| minSize | must be more than 1 Generated from function MR::PointCloudComponents::getLargeComponents. |
Calls MR_PointCloudComponents_getLargeComponents().
| auto meshlib::point_cloud_components::get_large_components_union_mr_point_cloud | ( | pointCloud:&meshlib::PointCloud | , |
| maxDist:f32 | , | ||
| minSize:core::ffi::c_int | , | ||
| pc:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_MR_VertBitSet_std_string > |
returns the union of point cloud components containing at least minSize points and connected by a distance no greater than
| maxDist | |
| minSize | must be more than 1 Generated from function MR::PointCloudComponents::getLargeComponentsUnion. |
Calls MR_PointCloudComponents_getLargeComponentsUnion_MR_PointCloud().
| auto meshlib::point_cloud_components::get_large_components_union_mr_union_find_mr_vert_id | ( | unionStructs:&mut meshlib::UnionFind_MR_VertId | , |
| region:&meshlib::VertBitSet | , | ||
| minSize:core::ffi::c_int | , | ||
| pc:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_MR_VertBitSet_std_string > |
returns the union of vertices components containing at least minSize points
| unionStructs | prepared point union structure |
Calls MR_PointCloudComponents_getLargeComponentsUnion_MR_UnionFind_MR_VertId().
| auto meshlib::point_cloud_components::get_union_find_structure_verts | ( | pointCloud:&meshlib::PointCloud | , |
| maxDist:f32 | , | ||
| region:Option<&meshlib::VertBitSet > | , | ||
| pc:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_MR_UnionFind_MR_VertId_std_string > |
gets union - find structure for vertices in
| region | connected by a distance no greater than |
| maxDist | Generated from function MR::PointCloudComponents::getUnionFindStructureVerts. |
Calls MR_PointCloudComponents_getUnionFindStructureVerts().