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

Public Member Functions

 __init__ (self, *args, **kwargs)
int badIterStopCount (self)
float cosThreshold (self)
float distThresholdSq (self)
float exitVal (self)
float farDistFactor (self)
ConstVector3f fixedRotationAxis (self)
ICPMode icpMode (self)
bool ignoreBdTgts (self)
int iterLimit (self)
ICPMethod method (self)
bool mutualClosest (self)
float p2plAngleLimit (self)
float p2plScaleLimit (self)
float p2plStabilizer (self)

Static Protected Attributes

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

mrmeshpy.ConstICPProperties.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstICPProperties) -> None

2. __init__(self: meshlib.mrmeshpy.ConstICPProperties, arg0: meshlib.mrmeshpy.ConstICPProperties) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstICPProperties, method: meshlib.mrmeshpy.ICPMethod, p2plAngleLimit: float, p2plScaleLimit: float, p2plStabilizer: float, cosThreshold: float, distThresholdSq: float, farDistFactor: float, icpMode: meshlib.mrmeshpy.ICPMode, fixedRotationAxis: meshlib.mrmeshpy.ConstVector3f, iterLimit: int, badIterStopCount: int, exitVal: float, mutualClosest: bool, ignoreBdTgts: bool) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstICPProperties, : meshlib.mrmeshpy.ConstICPProperties) -> None

Member Function Documentation

◆ badIterStopCount()

int mrmeshpy.ConstICPProperties.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 in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ cosThreshold()

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

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ distThresholdSq()

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

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ exitVal()

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

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ farDistFactor()

float mrmeshpy.ConstICPProperties.farDistFactor ( self)
dimensionless

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ fixedRotationAxis()

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

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ icpMode()

ICPMode mrmeshpy.ConstICPProperties.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 in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ ignoreBdTgts()

bool mrmeshpy.ConstICPProperties.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 in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ iterLimit()

int mrmeshpy.ConstICPProperties.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 in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ method()

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

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ mutualClosest()

bool mrmeshpy.ConstICPProperties.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 in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ p2plAngleLimit()

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

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ p2plScaleLimit()

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

Reimplemented in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

◆ p2plStabilizer()

float mrmeshpy.ConstICPProperties.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 in mrmeshpy.ICPProperties, and mrmeshpy.ICPProperties.

Member Data Documentation

◆ _offsetof_badIterStopCount

typing mrmeshpy.ConstICPProperties._offsetof_badIterStopCount = 48
staticprotected

◆ _offsetof_cosThreshold

typing mrmeshpy.ConstICPProperties._offsetof_cosThreshold = 16
staticprotected

◆ _offsetof_distThresholdSq

typing mrmeshpy.ConstICPProperties._offsetof_distThresholdSq = 20
staticprotected

◆ _offsetof_exitVal

typing mrmeshpy.ConstICPProperties._offsetof_exitVal = 52
staticprotected

◆ _offsetof_farDistFactor

typing mrmeshpy.ConstICPProperties._offsetof_farDistFactor = 24
staticprotected

◆ _offsetof_fixedRotationAxis

typing mrmeshpy.ConstICPProperties._offsetof_fixedRotationAxis = 32
staticprotected

◆ _offsetof_icpMode

typing mrmeshpy.ConstICPProperties._offsetof_icpMode = 28
staticprotected

◆ _offsetof_ignoreBdTgts

typing mrmeshpy.ConstICPProperties._offsetof_ignoreBdTgts = 57
staticprotected

◆ _offsetof_iterLimit

typing mrmeshpy.ConstICPProperties._offsetof_iterLimit = 44
staticprotected

◆ _offsetof_method

typing mrmeshpy.ConstICPProperties._offsetof_method = 0
staticprotected

◆ _offsetof_mutualClosest

typing mrmeshpy.ConstICPProperties._offsetof_mutualClosest = 56
staticprotected

◆ _offsetof_p2plAngleLimit

typing mrmeshpy.ConstICPProperties._offsetof_p2plAngleLimit = 4
staticprotected

◆ _offsetof_p2plScaleLimit

typing mrmeshpy.ConstICPProperties._offsetof_p2plScaleLimit = 8
staticprotected

◆ _offsetof_p2plStabilizer

typing mrmeshpy.ConstICPProperties._offsetof_p2plStabilizer = 12
staticprotected

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