MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ICPMethod Class Reference

Public Member Functions

bool __eq__ (self, typing.Any other)
 
int __getstate__ (self)
 
int __hash__ (self)
 
int __index__ (self)
 
None __init__ (self, int value)
 
int __int__ (self)
 
bool __ne__ (self, typing.Any other)
 
str __repr__ (self)
 
None __setstate__ (self, int state)
 
str __str__ (self)
 
str name (self)
 
int value (self)
 

Static Public Attributes

typing Combined .ClassVar[ICPMethod]
 
typing PointToPlane .ClassVar[ICPMethod]
 
typing PointToPoint .ClassVar[ICPMethod]
 

Detailed Description

Members:

  Combined : PointToPoint for the first 2 iterations, and PointToPlane for the remaining iterations

  PointToPoint : select transformation that minimizes mean squared distance between two points in each pair,
it is the safest approach but can converge slowly

  PointToPlane : select transformation that minimizes mean squared distance between a point and a plane via the other point in each pair,
converge much faster than PointToPoint in case of many good (with not all points/normals in one plane) pairs
This mode only works correctly if the object that points are being projected onto has normals information (is not a point clouds without normals).
By default both objects are projected onto each other, so at least one of them must have normals, unless you change the settings
to only project one way (using `MR::ICP::setFltSamples()` or `MR::ICP::setRefSamples()`), in which case the object being projected onto
must have normals.

Constructor & Destructor Documentation

◆ __init__()

None mrmeshpy.ICPMethod.__init__ ( self,
int value )

Member Function Documentation

◆ __eq__()

bool mrmeshpy.ICPMethod.__eq__ ( self,
typing.Any other )

◆ __getstate__()

int mrmeshpy.ICPMethod.__getstate__ ( self)

◆ __hash__()

int mrmeshpy.ICPMethod.__hash__ ( self)

◆ __index__()

int mrmeshpy.ICPMethod.__index__ ( self)

◆ __int__()

int mrmeshpy.ICPMethod.__int__ ( self)

◆ __ne__()

bool mrmeshpy.ICPMethod.__ne__ ( self,
typing.Any other )

◆ __repr__()

str mrmeshpy.ICPMethod.__repr__ ( self)

◆ __setstate__()

None mrmeshpy.ICPMethod.__setstate__ ( self,
int state )

◆ __str__()

str mrmeshpy.ICPMethod.__str__ ( self)

◆ name()

str mrmeshpy.ICPMethod.name ( self)

◆ value()

int mrmeshpy.ICPMethod.value ( self)

Member Data Documentation

◆ Combined

typing mrmeshpy.ICPMethod.Combined .ClassVar[ICPMethod]
static

◆ PointToPlane

typing mrmeshpy.ICPMethod.PointToPlane .ClassVar[ICPMethod]
static

◆ PointToPoint

typing mrmeshpy.ICPMethod.PointToPoint .ClassVar[ICPMethod]
static

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