Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Vector3d | centroid1 (self) |
| Vector3d | centroid2 (self) |
| AffineXf3d | findBestRigidScaleXf (self) |
| AffineXf3d | findBestRigidXf (self) |
| AffineXf3d | findBestRigidXfFixedRotationAxis (self, ConstVector3d axis) |
| AffineXf3d | findBestRigidXfOrthogonalRotationAxis (self, ConstVector3d ort) |
| Vector3d | findBestTranslation (self) |
| float | totalWeight (self) |
Generated from: MR::PointToPointAligningTransform This class and its main method can be used to solve the problem well-known as the absolute orientation problem. It means computing the transformation that aligns two sets of points for which correspondence is known.
| mrmeshpy.ConstPointToPointAligningTransform.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstPointToPointAligningTransform) -> None 2. __init__(self: meshlib.mrmeshpy.ConstPointToPointAligningTransform, arg0: meshlib.mrmeshpy.ConstPointToPointAligningTransform) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstPointToPointAligningTransform, : meshlib.mrmeshpy.ConstPointToPointAligningTransform) -> None
| Vector3d mrmeshpy.ConstPointToPointAligningTransform.centroid1 | ( | self | ) |
returns weighted centroid of points p1 accumulated so far
| Vector3d mrmeshpy.ConstPointToPointAligningTransform.centroid2 | ( | self | ) |
returns weighted centroid of points p2 accumulated so far
| AffineXf3d mrmeshpy.ConstPointToPointAligningTransform.findBestRigidScaleXf | ( | self | ) |
this version searches for best rigid body transformation with uniform scaling
| AffineXf3d mrmeshpy.ConstPointToPointAligningTransform.findBestRigidXf | ( | self | ) |
Compute transformation as the solution to a least squares formulation of the problem: xf( p1_i ) = p2_i this version searches for best rigid body transformation
| AffineXf3d mrmeshpy.ConstPointToPointAligningTransform.findBestRigidXfFixedRotationAxis | ( | self, | |
| ConstVector3d | axis ) |
this version searches for best transformation where rotation is allowed only around given axis and with arbitrary translation
| AffineXf3d mrmeshpy.ConstPointToPointAligningTransform.findBestRigidXfOrthogonalRotationAxis | ( | self, | |
| ConstVector3d | ort ) |
this version searches for best transformation where rotation is allowed only around axes orthogonal to given one
| Vector3d mrmeshpy.ConstPointToPointAligningTransform.findBestTranslation | ( | self | ) |
Simplified solution for translational part only
| float mrmeshpy.ConstPointToPointAligningTransform.totalWeight | ( | self | ) |
returns summed weight of points accumulated so far