MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ICPProperties:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstICPProperties arg0)
None __init__ (self, ICPMethod method, float p2plAngleLimit, float p2plScaleLimit, float p2plStabilizer, float cosThreshold, float distThresholdSq, float farDistFactor, ICPMode icpMode, ConstVector3f fixedRotationAxis, int iterLimit, int badIterStopCount, float exitVal, bool mutualClosest, bool ignoreBdTgts)
ICPProperties assign (self, ConstICPProperties other)
int badIterStopCount (self)
None badIterStopCount (self, int arg1)
float cosThreshold (self)
None cosThreshold (self, float arg1)
float distThresholdSq (self)
None distThresholdSq (self, float arg1)
float exitVal (self)
None exitVal (self, float arg1)
float farDistFactor (self)
None farDistFactor (self, float arg1)
Vector3f fixedRotationAxis (self)
None fixedRotationAxis (self, ConstVector3f arg1)
ICPMode icpMode (self)
None icpMode (self, ICPMode arg1)
bool ignoreBdTgts (self)
None ignoreBdTgts (self, bool arg1)
int iterLimit (self)
None iterLimit (self, int arg1)
ICPMethod method (self)
None method (self, ICPMethod arg1)
bool mutualClosest (self)
None mutualClosest (self, bool arg1)
float p2plAngleLimit (self)
None p2plAngleLimit (self, float arg1)
float p2plScaleLimit (self)
None p2plScaleLimit (self, float arg1)
float p2plStabilizer (self)
None p2plStabilizer (self, float arg1)
Public Member Functions inherited from mrmeshpy.ConstICPProperties
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstICPProperties
typing _offsetof_badIterStopCount = 48
typing _offsetof_cosThreshold = 16
typing _offsetof_distThresholdSq = 20
typing _offsetof_exitVal = 52
typing _offsetof_farDistFactor = 24
typing _offsetof_fixedRotationAxis = 32
typing _offsetof_icpMode = 28
typing _offsetof_ignoreBdTgts = 57
typing _offsetof_iterLimit = 44
typing _offsetof_method = 0
typing _offsetof_mutualClosest = 56
typing _offsetof_p2plAngleLimit = 4
typing _offsetof_p2plScaleLimit = 8
typing _offsetof_p2plStabilizer = 12

Detailed Description

Generated from:  MR::ICPProperties

parameters of ICP algorithm

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.ICPProperties.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.ICPProperties.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.ICPProperties.__init__ ( self,
ConstICPProperties arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.ICPProperties.__init__ ( self,
ICPMethod method,
float p2plAngleLimit,
float p2plScaleLimit,
float p2plStabilizer,
float cosThreshold,
float distThresholdSq,
float farDistFactor,
ICPMode icpMode,
ConstVector3f fixedRotationAxis,
int iterLimit,
int badIterStopCount,
float exitVal,
bool mutualClosest,
bool ignoreBdTgts )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

ICPProperties mrmeshpy.ICPProperties.assign ( self,
ConstICPProperties other )

◆ badIterStopCount() [1/2]

int mrmeshpy.ICPProperties.badIterStopCount ( self)
The algorithm will stop before making all (iterLimit) iterations, if there were
consecutive (badIterStopCount) iterations, during which the average distance between points in active pairs did not diminish.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ badIterStopCount() [2/2]

None mrmeshpy.ICPProperties.badIterStopCount ( self,
int arg1 )
The algorithm will stop before making all (iterLimit) iterations, if there were
consecutive (badIterStopCount) iterations, during which the average distance between points in active pairs did not diminish.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ cosThreshold() [1/2]

float mrmeshpy.ICPProperties.cosThreshold ( self)
in [-1,1]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ cosThreshold() [2/2]

None mrmeshpy.ICPProperties.cosThreshold ( self,
float arg1 )
in [-1,1]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ distThresholdSq() [1/2]

float mrmeshpy.ICPProperties.distThresholdSq ( self)
[distance^2]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ distThresholdSq() [2/2]

None mrmeshpy.ICPProperties.distThresholdSq ( self,
float arg1 )
[distance^2]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ exitVal() [1/2]

float mrmeshpy.ICPProperties.exitVal ( self)
[distance]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ exitVal() [2/2]

None mrmeshpy.ICPProperties.exitVal ( self,
float arg1 )
[distance]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ farDistFactor() [1/2]

float mrmeshpy.ICPProperties.farDistFactor ( self)
dimensionless

Reimplemented from mrmeshpy.ConstICPProperties.

◆ farDistFactor() [2/2]

None mrmeshpy.ICPProperties.farDistFactor ( self,
float arg1 )
dimensionless

Reimplemented from mrmeshpy.ConstICPProperties.

◆ fixedRotationAxis() [1/2]

Vector3f mrmeshpy.ICPProperties.fixedRotationAxis ( self)
Additional parameter for ICPMode::OrthogonalAxis and ICPMode::FixedAxis transformation groups.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ fixedRotationAxis() [2/2]

None mrmeshpy.ICPProperties.fixedRotationAxis ( self,
ConstVector3f arg1 )
Additional parameter for ICPMode::OrthogonalAxis and ICPMode::FixedAxis transformation groups.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ icpMode() [1/2]

ICPMode mrmeshpy.ICPProperties.icpMode ( self)
Selects the group of transformations, where to find a solution (e.g. with scaling or without, with rotation or without, ...).
See the description of each option in ICPMode.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ icpMode() [2/2]

None mrmeshpy.ICPProperties.icpMode ( self,
ICPMode arg1 )
Selects the group of transformations, where to find a solution (e.g. with scaling or without, with rotation or without, ...).
See the description of each option in ICPMode.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ ignoreBdTgts() [1/2]

bool mrmeshpy.ICPProperties.ignoreBdTgts ( self)
if this flag is true and a source point finds its correspondence on a boundary of target object, then ignores such pair

Reimplemented from mrmeshpy.ConstICPProperties.

◆ ignoreBdTgts() [2/2]

None mrmeshpy.ICPProperties.ignoreBdTgts ( self,
bool arg1 )
if this flag is true and a source point finds its correspondence on a boundary of target object, then ignores such pair

Reimplemented from mrmeshpy.ConstICPProperties.

◆ iterLimit() [1/2]

int mrmeshpy.ICPProperties.iterLimit ( self)
The maximum number of iterations that the algorithm can perform.
Increase this parameter if you need a higher precision or if initial approximation is not very precise.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ iterLimit() [2/2]

None mrmeshpy.ICPProperties.iterLimit ( self,
int arg1 )
The maximum number of iterations that the algorithm can perform.
Increase this parameter if you need a higher precision or if initial approximation is not very precise.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ method() [1/2]

ICPMethod mrmeshpy.ICPProperties.method ( self)
The method how to update transformation from point pairs, see description of each option in ICPMethod

Reimplemented from mrmeshpy.ConstICPProperties.

◆ method() [2/2]

None mrmeshpy.ICPProperties.method ( self,
ICPMethod arg1 )
The method how to update transformation from point pairs, see description of each option in ICPMethod

Reimplemented from mrmeshpy.ConstICPProperties.

◆ mutualClosest() [1/2]

bool mrmeshpy.ICPProperties.mutualClosest ( self)
A pair of points is activated only if both points in the pair are mutually closest (reciprocity test passed),
some papers recommend this mode for filtering out wrong pairs, but it can be too aggressive and deactivate (almost) all pairs.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ mutualClosest() [2/2]

None mrmeshpy.ICPProperties.mutualClosest ( self,
bool arg1 )
A pair of points is activated only if both points in the pair are mutually closest (reciprocity test passed),
some papers recommend this mode for filtering out wrong pairs, but it can be too aggressive and deactivate (almost) all pairs.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ p2plAngleLimit() [1/2]

float mrmeshpy.ICPProperties.p2plAngleLimit ( self)
[radians]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ p2plAngleLimit() [2/2]

None mrmeshpy.ICPProperties.p2plAngleLimit ( self,
float arg1 )
[radians]

Reimplemented from mrmeshpy.ConstICPProperties.

◆ p2plScaleLimit() [1/2]

float mrmeshpy.ICPProperties.p2plScaleLimit ( self)
Scaling during one iteration of ICPMethod::PointToPlane will be limited by this value.
This is to reduce possible instability.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ p2plScaleLimit() [2/2]

None mrmeshpy.ICPProperties.p2plScaleLimit ( self,
float arg1 )
Scaling during one iteration of ICPMethod::PointToPlane will be limited by this value.
This is to reduce possible instability.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ p2plStabilizer() [1/2]

float mrmeshpy.ICPProperties.p2plStabilizer ( self)
Relative regularization of the linear system in ICPMethod::PointToPlane, see PointToPlaneAligningTransform::setStabilizer.
This is to avoid huge motions along the directions poorly constrained by the planes, e.g. sliding along parallel faces of a CAD model.

Reimplemented from mrmeshpy.ConstICPProperties.

◆ p2plStabilizer() [2/2]

None mrmeshpy.ICPProperties.p2plStabilizer ( self,
float arg1 )
Relative regularization of the linear system in ICPMethod::PointToPlane, see PointToPlaneAligningTransform::setStabilizer.
This is to avoid huge motions along the directions poorly constrained by the planes, e.g. sliding along parallel faces of a CAD model.

Reimplemented from mrmeshpy.ConstICPProperties.


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