MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::OutliersDetector Struct Reference
Inheritance diagram for meshlib::OutliersDetector:

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

Detailed Description

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>.

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from_another()

auto meshlib::OutliersDetector::construct_from_another ( _other:&meshlib::OutliersDetector ) -> meshlib::Owned< meshlib::OutliersDetector >
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.

◆ find()

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

Parameters
maskmask of the types of outliers you are looking for Generated from method MR::OutliersDetector::find.

Calls MR_OutliersDetector_find().

◆ get_params()

auto meshlib::OutliersDetector::get_params ( ) const -> &meshlib::OutlierParams

Get search parameters Generated from method MR::OutliersDetector::getParams.

Calls MR_OutliersDetector_getParams().

◆ get_weakly_connected_stat()

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().

◆ new()

auto meshlib::OutliersDetector::new ( ) -> meshlib::Owned< meshlib::OutliersDetector >
static

Constructs an empty (default-constructed) instance.

Calls MR_OutliersDetector_DefaultConstruct().

◆ prepare()

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

Parameters
pcpoint cloud
radiusradius of the search for neighboring points for analysis
maskmask of the types of outliers that are looking for
progressprogress callback function
Returns
error text or nothing Generated from method MR::OutliersDetector::prepare.

Calls MR_OutliersDetector_prepare().

◆ set_params()

void meshlib::OutliersDetector::set_params ( params:&meshlib::OutlierParams )

Set search parameters Generated from method MR::OutliersDetector::setParams.

Calls MR_OutliersDetector_setParams().


The documentation for this struct was generated from the following file: