MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MultiwayICP Class Reference
Inheritance diagram for mrmeshpy.MultiwayICP:

Public Member Functions

None __init__ (self, ConstVector_MeshOrPointsXf_ObjId objects, ConstMultiwayICPSamplingParameters samplingParams)
Vector_AffineXf3f_ObjId calculateTransformations (self, Const_func_bool_from_float cb='{}')
Vector_AffineXf3f_ObjId calculateTransformationsFixFirst (self, Const_func_bool_from_float cb='{}')
None devEnableIndependentEquationsMode (self, bool on)
bool resamplePoints (self, ConstMultiwayICPSamplingParameters samplingParams)
None setParams (self, ConstICPProperties prop)
None setPerIterationCallback (self, Const_func_void_from_int callback)
bool updateAllPointPairs (self, Const_func_bool_from_float cb='{}')
Public Member Functions inherited from mrmeshpy.ConstMultiwayICP
 __init__ (self, *args, **kwargs)
bool devIndependentEquationsModeEnabled (self)
ConstIICPTreeIndexer getCascadeIndexer (self)
float getMeanSqDistToPlane (self, Const_std_optional_double value=...)
float getMeanSqDistToPoint (self, Const_std_optional_double value=...)
int getNumActivePairs (self)
int getNumSamples (self)
ConstVector_Vector_Vector_ICPGroupPairs_Id_ICPElemtTag_Id_ICPElemtTag_int getPairsPerLayer (self)
ConstICPProperties getParams (self)
str getStatusInfo (self)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstMultiwayICP
 ConstLayerSamples = ConstVector_Vector_std_vector_ObjVertId_Id_ICPElemtTag_int
 ConstPairsPerLayer = ConstVector_Vector_Vector_ICPGroupPairs_Id_ICPElemtTag_Id_ICPElemtTag_int
 LayerSamples = Vector_Vector_std_vector_ObjVertId_Id_ICPElemtTag_int
 PairsPerLayer = Vector_Vector_Vector_ICPGroupPairs_Id_ICPElemtTag_Id_ICPElemtTag_int

Detailed Description

Generated from:  MR::MultiwayICP

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
\\snippet cpp-samples/GlobalRegistration.cpp 0

Constructor & Destructor Documentation

◆ __init__()

None mrmeshpy.MultiwayICP.__init__ ( self,
ConstVector_MeshOrPointsXf_ObjId objects,
ConstMultiwayICPSamplingParameters samplingParams )

Member Function Documentation

◆ calculateTransformations()

Vector_AffineXf3f_ObjId mrmeshpy.MultiwayICP.calculateTransformations ( self,
Const_func_bool_from_float cb = '{}' )
runs ICP algorithm given input objects, transformations, and parameters;
\\return adjusted transformations of all objects to reach registered state
the transformation of the last object is fixed and does not change here

◆ calculateTransformationsFixFirst()

Vector_AffineXf3f_ObjId mrmeshpy.MultiwayICP.calculateTransformationsFixFirst ( self,
Const_func_bool_from_float cb = '{}' )
runs ICP algorithm given input objects, transformations, and parameters;
\\return adjusted transformations of all objects to reach registered state
the transformation of the first object is fixed and does not change here

◆ devEnableIndependentEquationsMode()

None mrmeshpy.MultiwayICP.devEnableIndependentEquationsMode ( self,
bool on )

◆ resamplePoints()

bool mrmeshpy.MultiwayICP.resamplePoints ( self,
ConstMultiwayICPSamplingParameters samplingParams )
select pairs with origin samples on all objects

◆ setParams()

None mrmeshpy.MultiwayICP.setParams ( self,
ConstICPProperties prop )
tune algorithm params before run calculateTransformations()

◆ setPerIterationCallback()

None mrmeshpy.MultiwayICP.setPerIterationCallback ( self,
Const_func_void_from_int callback )
sets callback that will be called for each iteration

◆ updateAllPointPairs()

bool mrmeshpy.MultiwayICP.updateAllPointPairs ( self,
Const_func_bool_from_float cb = '{}' )
in each pair updates the target data and performs basic filtering (activation)
in cascade mode only useful for stats update

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