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

Public Member Functions

 __init__ (self, *args, **kwargs)
float confidence (self)
float edgeLengthRatio (self)
float inlierDistance (self)
int maxIterations (self)
PointCloud overlapSrcCloud (self)
VertCoords overlapSrcPoints (self)
PointCloud overlapTgtCloud (self)
VertCoords overlapTgtPoints (self)
int seed (self)

Static Protected Attributes

typing _offsetof_confidence = 8
typing _offsetof_edgeLengthRatio = 12
typing _offsetof_inlierDistance = 0
typing _offsetof_maxIterations = 4
typing _offsetof_overlapSrcCloud = 48
typing _offsetof_overlapSrcPoints = 24
typing _offsetof_overlapTgtCloud = 32
typing _offsetof_overlapTgtPoints = 40
typing _offsetof_seed = 16

Detailed Description

Generated from:  MR::RigidXfRansacParams

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstRigidXfRansacParams, inlierDistance: float, maxIterations: int, confidence: float, edgeLengthRatio: float, seed: int, overlapSrcPoints: meshlib.mrmeshpy.ConstVertCoords, overlapTgtCloud: meshlib.mrmeshpy.ConstPointCloud, overlapTgtPoints: meshlib.mrmeshpy.ConstVertCoords, overlapSrcCloud: meshlib.mrmeshpy.ConstPointCloud) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ confidence()

float mrmeshpy.ConstRigidXfRansacParams.confidence ( self)
the search stops earlier when the probability to have tested at least one sample of three inliers reaches this value

Reimplemented in mrmeshpy.RigidXfRansacParams, and mrmeshpy.RigidXfRansacParams.

◆ edgeLengthRatio()

float mrmeshpy.ConstRigidXfRansacParams.edgeLengthRatio ( self)
a sample is skipped without fitting if the distances between its source points and between its target points
differ more than this ratio, since a rigid motion keeps distances

Reimplemented in mrmeshpy.RigidXfRansacParams, and mrmeshpy.RigidXfRansacParams.

◆ inlierDistance()

float mrmeshpy.ConstRigidXfRansacParams.inlierDistance ( self)
a match is an inlier of a transformation if it maps the source point within this distance from the target point

Reimplemented in mrmeshpy.RigidXfRansacParams, and mrmeshpy.RigidXfRansacParams.

◆ maxIterations()

int mrmeshpy.ConstRigidXfRansacParams.maxIterations ( self)
the maximal number of random samples of three matches to test

Reimplemented in mrmeshpy.RigidXfRansacParams, and mrmeshpy.RigidXfRansacParams.

◆ overlapSrcCloud()

PointCloud mrmeshpy.ConstRigidXfRansacParams.overlapSrcCloud ( self)

◆ overlapSrcPoints()

VertCoords mrmeshpy.ConstRigidXfRansacParams.overlapSrcPoints ( self)
if both are set, a transformation is scored by how many of these source points it moves within inlierDistance
of some point of the target cloud, instead of by the number of its inlier matches;
this finds the transformation even when only a few matches are correct, at the cost of a closest point search per point

Reimplemented in mrmeshpy.RigidXfRansacParams, and mrmeshpy.RigidXfRansacParams.

◆ overlapTgtCloud()

PointCloud mrmeshpy.ConstRigidXfRansacParams.overlapTgtCloud ( self)

◆ overlapTgtPoints()

VertCoords mrmeshpy.ConstRigidXfRansacParams.overlapTgtPoints ( self)
if both are set, the score also counts how many of these target points the inverse transformation moves
within inlierDistance of some point of the source cloud; can be set alone or together with the pair above

Reimplemented in mrmeshpy.RigidXfRansacParams, and mrmeshpy.RigidXfRansacParams.

◆ seed()

int mrmeshpy.ConstRigidXfRansacParams.seed ( self)
seed of pseudo-random sampling; the result depends on it but not on the number of threads

Reimplemented in mrmeshpy.RigidXfRansacParams, and mrmeshpy.RigidXfRansacParams.

Member Data Documentation

◆ _offsetof_confidence

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_confidence = 8
staticprotected

◆ _offsetof_edgeLengthRatio

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_edgeLengthRatio = 12
staticprotected

◆ _offsetof_inlierDistance

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_inlierDistance = 0
staticprotected

◆ _offsetof_maxIterations

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_maxIterations = 4
staticprotected

◆ _offsetof_overlapSrcCloud

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_overlapSrcCloud = 48
staticprotected

◆ _offsetof_overlapSrcPoints

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_overlapSrcPoints = 24
staticprotected

◆ _offsetof_overlapTgtCloud

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_overlapTgtCloud = 32
staticprotected

◆ _offsetof_overlapTgtPoints

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_overlapTgtPoints = 40
staticprotected

◆ _offsetof_seed

typing mrmeshpy.ConstRigidXfRansacParams._offsetof_seed = 16
staticprotected

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