MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::MultiwayICP:

Public Member Functions

auto assign_from_another (_other:meshlib::Owned< meshlib::MultiwayICP >) -> &mut meshlib::MultiwayICP
auto calculate_transformations (cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >
auto calculate_transformations_fix_first (cb:Option<&meshlib::std_function_bool_from_float >) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >
auto resample_points (samplingParams:&meshlib::MultiwayICPSamplingParameters) -> bool
auto update_all_point_pairs (cb:Option<&meshlib::std_function_bool_from_float >) -> bool
void set_params (prop:&meshlib::ICPProperties)
auto get_params () const -> &meshlib::ICPProperties
auto get_mean_sq_dist_to_point (value:Option< f64 >) const -> f32
auto get_mean_sq_dist_to_plane (value:Option< f64 >) const -> f32
auto get_num_samples () const -> usize
auto get_num_active_pairs () const -> usize
void set_per_iteration_callback (callback:&meshlib::std_function_void_from_int)
auto dev_independent_equations_mode_enabled () const -> bool
void dev_enable_independent_equations_mode (on:bool)
auto get_status_info () const -> meshlib::Owned< meshlib::std_string >
auto get_pairs_per_layer () const -> &meshlib::Vector_MR_Vector_MR_Vector_MR_ICPGroupPairs_MR_Id_MR_ICPElemtTag_MR_Id_MR_ICPElemtTag_int
auto get_cascade_indexer () const -> Option<&meshlib::IICPTreeIndexer >

Static Public Member Functions

static auto construct_from_another (_other:meshlib::Owned< meshlib::MultiwayICP >) -> meshlib::Owned< meshlib::MultiwayICP >
static auto construct (objects:&meshlib::Vector_MR_MeshOrPointsXf_MR_ObjId, samplingParams:&meshlib::MultiwayICPSamplingParameters) -> meshlib::Owned< meshlib::MultiwayICP >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)

Detailed Description

This class allows you to register many objects having similar parts and known initial approximations of orientations/locations using Iterative Closest Points (ICP) point-to-point or point-to-plane algorithms

Generated from class MR::MultiwayICP.

Generated from class MR::MultiwayICP. Heap-allocated instances are held in Owned<MultiwayICP>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::MultiwayICP::assign_from_another ( _other:meshlib::Owned< meshlib::MultiwayICP > ) -> &mut meshlib::MultiwayICP

Generated from method MR::MultiwayICP::operator=.

Calls MR_MultiwayICP_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ calculate_transformations()

auto meshlib::MultiwayICP::calculate_transformations ( cb:Option<&meshlib::std_function_bool_from_float > ) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >

runs ICP algorithm given input objects, transformations, and parameters;

Returns
adjusted transformations of all objects to reach registered state the transformation of the last object is fixed and does not change here Generated from method MR::MultiwayICP::calculateTransformations.

Calls MR_MultiwayICP_calculateTransformations().

◆ calculate_transformations_fix_first()

auto meshlib::MultiwayICP::calculate_transformations_fix_first ( cb:Option<&meshlib::std_function_bool_from_float > ) -> meshlib::Owned< meshlib::Vector_MR_AffineXf3f_MR_ObjId >

runs ICP algorithm given input objects, transformations, and parameters;

Returns
adjusted transformations of all objects to reach registered state the transformation of the first object is fixed and does not change here Generated from method MR::MultiwayICP::calculateTransformationsFixFirst.

Calls MR_MultiwayICP_calculateTransformationsFixFirst().

◆ construct()

auto meshlib::MultiwayICP::construct ( objects:&meshlib::Vector_MR_MeshOrPointsXf_MR_ObjId ,
samplingParams:&meshlib::MultiwayICPSamplingParameters  ) -> meshlib::Owned< meshlib::MultiwayICP >
static

Generated from constructor MR::MultiwayICP::MultiwayICP.

Calls MR_MultiwayICP_Construct(). The reference to the parameter objects might be preserved in the constructed object. The reference to the parameter samplingParams might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::MultiwayICP::construct_from_another ( _other:meshlib::Owned< meshlib::MultiwayICP > ) -> meshlib::Owned< meshlib::MultiwayICP >
static

Generated from constructor MR::MultiwayICP::MultiwayICP.

Calls MR_MultiwayICP_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ dev_enable_independent_equations_mode()

void meshlib::MultiwayICP::dev_enable_independent_equations_mode ( on:bool )

Generated from method MR::MultiwayICP::devEnableIndependentEquationsMode.

Calls MR_MultiwayICP_devEnableIndependentEquationsMode().

◆ dev_independent_equations_mode_enabled()

auto meshlib::MultiwayICP::dev_independent_equations_mode_enabled ( ) const -> bool

if in independent equations mode - creates separate equation system for each object otherwise creates single large equation system for all objects Generated from method MR::MultiwayICP::devIndependentEquationsModeEnabled.

Calls MR_MultiwayICP_devIndependentEquationsModeEnabled().

◆ get_cascade_indexer()

auto meshlib::MultiwayICP::get_cascade_indexer ( ) const -> Option<&meshlib::IICPTreeIndexer >

returns pointer to class that is used to navigate among layers of cascade registration if nullptr - cascade mode is not used Generated from method MR::MultiwayICP::getCascadeIndexer.

Calls MR_MultiwayICP_getCascadeIndexer().

◆ get_mean_sq_dist_to_plane()

auto meshlib::MultiwayICP::get_mean_sq_dist_to_plane ( value:Option< f64 > ) const -> f32

computes root-mean-square deviation from points to target planes or the standard deviation from given value if present Generated from method MR::MultiwayICP::getMeanSqDistToPlane.

Calls MR_MultiwayICP_getMeanSqDistToPlane().

◆ get_mean_sq_dist_to_point()

auto meshlib::MultiwayICP::get_mean_sq_dist_to_point ( value:Option< f64 > ) const -> f32

computes root-mean-square deviation between points or the standard deviation from given value if present Generated from method MR::MultiwayICP::getMeanSqDistToPoint.

Calls MR_MultiwayICP_getMeanSqDistToPoint().

◆ get_num_active_pairs()

auto meshlib::MultiwayICP::get_num_active_pairs ( ) const -> usize

computes the number of active point pairs Generated from method MR::MultiwayICP::getNumActivePairs.

Calls MR_MultiwayICP_getNumActivePairs().

◆ get_num_samples()

auto meshlib::MultiwayICP::get_num_samples ( ) const -> usize

computes the number of samples able to form pairs Generated from method MR::MultiwayICP::getNumSamples.

Calls MR_MultiwayICP_getNumSamples().

◆ get_pairs_per_layer()

returns all pairs of all layers Generated from method MR::MultiwayICP::getPairsPerLayer.

Calls MR_MultiwayICP_getPairsPerLayer().

◆ get_params()

auto meshlib::MultiwayICP::get_params ( ) const -> &meshlib::ICPProperties

Generated from method MR::MultiwayICP::getParams.

Calls MR_MultiwayICP_getParams().

◆ get_status_info()

auto meshlib::MultiwayICP::get_status_info ( ) const -> meshlib::Owned< meshlib::std_string >

returns status info string Generated from method MR::MultiwayICP::getStatusInfo.

Calls MR_MultiwayICP_getStatusInfo().

◆ resample_points()

auto meshlib::MultiwayICP::resample_points ( samplingParams:&meshlib::MultiwayICPSamplingParameters ) -> bool

select pairs with origin samples on all objects Generated from method MR::MultiwayICP::resamplePoints.

Calls MR_MultiwayICP_resamplePoints().

◆ set_params()

void meshlib::MultiwayICP::set_params ( prop:&meshlib::ICPProperties )

tune algorithm params before run calculateTransformations() Generated from method MR::MultiwayICP::setParams.

Calls MR_MultiwayICP_setParams().

◆ set_per_iteration_callback()

void meshlib::MultiwayICP::set_per_iteration_callback ( callback:&meshlib::std_function_void_from_int )

sets callback that will be called for each iteration Generated from method MR::MultiwayICP::setPerIterationCallback.

Calls MR_MultiwayICP_setPerIterationCallback().

◆ update_all_point_pairs()

auto meshlib::MultiwayICP::update_all_point_pairs ( cb:Option<&meshlib::std_function_bool_from_float > ) -> bool

in each pair updates the target data and performs basic filtering (activation) in cascade mode only useful for stats update Generated from method MR::MultiwayICP::updateAllPointPairs.

Calls MR_MultiwayICP_updateAllPointPairs().


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