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

Classes

class  ConstStabilizer
class  Stabilizer

Public Member Functions

 __init__ (self, *args, **kwargs)
std_vector_RigidXf3_double solve (self, MultiwayAligningTransform.ConstStabilizer stab)
std_vector_RigidXf3_double solve (self)

Detailed Description

Generated from:  MR::MultiwayAligningTransform

This class can be used to solve the problem of multiple 3D objects alignment,
by first collecting weighted links between pairs of points from different objects,
and then solving for transformations minimizing weighted average of link penalties

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstMultiwayAligningTransform, numObjs: int) -> None

initializes internal data to start registering given number of objects

Member Function Documentation

◆ solve() [1/2]

std_vector_RigidXf3_double mrmeshpy.ConstMultiwayAligningTransform.solve ( self)

◆ solve() [2/2]

std_vector_RigidXf3_double mrmeshpy.ConstMultiwayAligningTransform.solve ( self,
MultiwayAligningTransform.ConstStabilizer stab )
finds the solution consisting of all objects transformations (numObj),
that minimizes the summed weighted squared distance among accumulated links;
the transform of the last object is always identity (it is fixed)

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