Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::OutliersDetector) -> &mut meshlib::OutliersDetector |
| auto | prepare (pc:&meshlib::PointCloud, radius:f32, mask:meshlib::OutlierTypeMask, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_void_std_string > |
| void | set_params (params:&meshlib::OutlierParams) |
| auto | get_params () const -> &meshlib::OutlierParams |
| auto | find (mask:meshlib::OutlierTypeMask, progress:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::expected_MR_VertBitSet_std_string > |
| auto | get_weakly_connected_stat () -> &meshlib::std_vector_unsigned_char |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::OutliersDetector > |
| static auto | construct_from_another (_other:&meshlib::OutliersDetector) -> meshlib::Owned< meshlib::OutliersDetector > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
A class for searching for outliers of points
The class caches the prepared search results, which allows to speed up the repeat search (while use same radius) Generated from class MR::OutliersDetector.
Generated from class MR::OutliersDetector. Heap-allocated instances are held in Owned<OutliersDetector>.
| auto meshlib::OutliersDetector::assign_from_another | ( | _other:&meshlib::OutliersDetector | ) | -> &mut meshlib::OutliersDetector |
Generated from method MR::OutliersDetector::operator=.
Calls MR_OutliersDetector_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::OutliersDetector::OutliersDetector.
Calls MR_OutliersDetector_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::OutliersDetector::find | ( | mask:meshlib::OutlierTypeMask | , |
| progress:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_MR_VertBitSet_std_string > |
Make an outlier search based on preliminary data
| mask | mask of the types of outliers you are looking for Generated from method MR::OutliersDetector::find. |
Calls MR_OutliersDetector_find().
| auto meshlib::OutliersDetector::get_params | ( | ) | const -> &meshlib::OutlierParams |
Get search parameters Generated from method MR::OutliersDetector::getParams.
Calls MR_OutliersDetector_getParams().
| auto meshlib::OutliersDetector::get_weakly_connected_stat | ( | ) | -> &meshlib::std_vector_unsigned_char |
Get statistics on the number of neighbors for each point Generated from method MR::OutliersDetector::getWeaklyConnectedStat.
Calls MR_OutliersDetector_getWeaklyConnectedStat().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_OutliersDetector_DefaultConstruct().
| auto meshlib::OutliersDetector::prepare | ( | pc:&meshlib::PointCloud | , |
| radius:f32 | , | ||
| mask:meshlib::OutlierTypeMask | , | ||
| progress:Option<&meshlib::std_function_bool_from_float > | ) -> meshlib::Owned< meshlib::expected_void_std_string > |
Make a preliminary stage of outlier search. Caches the result
| pc | point cloud |
| radius | radius of the search for neighboring points for analysis |
| mask | mask of the types of outliers that are looking for |
| progress | progress callback function |
Calls MR_OutliersDetector_prepare().
| void meshlib::OutliersDetector::set_params | ( | params:&meshlib::OutlierParams | ) |
Set search parameters Generated from method MR::OutliersDetector::setParams.
Calls MR_OutliersDetector_setParams().