Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| RigidScaleXf3d | calculateAmendment (self) |
| RigidScaleXf3d | calculateAmendmentWithScale (self) |
| RigidScaleXf3d | calculateFixedAxisAmendment (self, ConstVector3d axis) |
| RigidScaleXf3d | calculateOrthogonalAxisAmendment (self, ConstVector3d ort) |
| AffineXf3d | findBestRigidScaleXf (self) |
| AffineXf3d | findBestRigidXf (self) |
| AffineXf3d | findBestRigidXfFixedRotationAxis (self, ConstVector3d axis) |
| AffineXf3d | findBestRigidXfOrthogonalRotationAxis (self, ConstVector3d ort) |
| Vector3d | findBestTranslation (self, ConstVector3d rotAngles=..., float scale=1) |
| float | getStabilizer (self) |
Generated from: MR::PointToPlaneAligningTransform This class and its main method can be used to solve the problem of 3D shape alignment. This algorithm uses a point-to-plane error metric in which the object of minimization is the sum of the squared distance between a point and the tangent plane at its correspondence point. To use this technique it's need to have small rotation angles. So there is an approximate solution. The result of this algorithm is the transformation of first points (p1) which aligns it to the second ones (p2).
| mrmeshpy.ConstPointToPlaneAligningTransform.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstPointToPlaneAligningTransform) -> None 2. __init__(self: meshlib.mrmeshpy.ConstPointToPlaneAligningTransform, arg0: meshlib.mrmeshpy.ConstPointToPlaneAligningTransform) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstPointToPlaneAligningTransform, : meshlib.mrmeshpy.ConstPointToPlaneAligningTransform) -> None
| RigidScaleXf3d mrmeshpy.ConstPointToPlaneAligningTransform.calculateAmendment | ( | self | ) |
Compute transformation relative to given approximation and return it as angles and shift (scale = 1)
| RigidScaleXf3d mrmeshpy.ConstPointToPlaneAligningTransform.calculateAmendmentWithScale | ( | self | ) |
Compute transformation relative to given approximation and return it as scale, angles and shift
| RigidScaleXf3d mrmeshpy.ConstPointToPlaneAligningTransform.calculateFixedAxisAmendment | ( | self, | |
| ConstVector3d | axis ) |
this version searches for best transformation where rotation is allowed only around given axis and with arbitrary translation
| RigidScaleXf3d mrmeshpy.ConstPointToPlaneAligningTransform.calculateOrthogonalAxisAmendment | ( | self, | |
| ConstVector3d | ort ) |
this version searches for best transformation where rotation is allowed only around axes orthogonal to given one
| AffineXf3d mrmeshpy.ConstPointToPlaneAligningTransform.findBestRigidScaleXf | ( | self | ) |
this version searches for best rigid body transformation with uniform scaling
| AffineXf3d mrmeshpy.ConstPointToPlaneAligningTransform.findBestRigidXf | ( | self | ) |
Compute transformation as the solution to a least squares optimization problem: xf( p1_i ) = p2_i this version searches for best rigid body transformation
| AffineXf3d mrmeshpy.ConstPointToPlaneAligningTransform.findBestRigidXfFixedRotationAxis | ( | self, | |
| ConstVector3d | axis ) |
this version searches for best transformation where rotation is allowed only around given axis and with arbitrary translation
| AffineXf3d mrmeshpy.ConstPointToPlaneAligningTransform.findBestRigidXfOrthogonalRotationAxis | ( | self, | |
| ConstVector3d | ort ) |
this version searches for best transformation where rotation is allowed only around axes orthogonal to given one
| Vector3d mrmeshpy.ConstPointToPlaneAligningTransform.findBestTranslation | ( | self, | |
| ConstVector3d | rotAngles = ..., | ||
| float | scale = 1 ) |
this version searches for best translational part of affine transformation with given linear part
| float mrmeshpy.ConstPointToPlaneAligningTransform.getStabilizer | ( | self | ) |