Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, PointToPointAligningTransform arg0) |
| None | add (self, Vector3d p1, Vector3d p2, float w=1) |
| None | add (self, Vector3f p1, Vector3f p2, float w=1) |
| None | add (self, PointToPointAligningTransform other) |
| Vector3d | centroid1 (self) |
| Vector3d | centroid2 (self) |
| None | clear (self) |
| AffineXf3d | findBestRigidScaleXf (self) |
| AffineXf3d | findBestRigidXf (self) |
| AffineXf3d | findBestRigidXfFixedRotationAxis (self, Vector3d axis) |
| AffineXf3d | findBestRigidXfOrthogonalRotationAxis (self, Vector3d ort) |
| Vector3d | findBestTranslation (self) |
| float | totalWeight (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| PointToPointAligningTransform | operator (*args, **kwargs) |
| PointToPointAligningTransform | operator (*args, **kwargs) |
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.
|
static |
| None mrmeshpy.PointToPointAligningTransform.__init__ | ( | self | ) |
| None mrmeshpy.PointToPointAligningTransform.__init__ | ( | self, | |
| PointToPointAligningTransform | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.PointToPointAligningTransform.add | ( | self, | |
| PointToPointAligningTransform | other ) |
Add another two sets of points.
Add one pair of points in the set
Add one pair of points in the set
| Vector3d mrmeshpy.PointToPointAligningTransform.centroid1 | ( | self | ) |
returns weighted centroid of points p1 accumulated so far
| Vector3d mrmeshpy.PointToPointAligningTransform.centroid2 | ( | self | ) |
returns weighted centroid of points p2 accumulated so far
| None mrmeshpy.PointToPointAligningTransform.clear | ( | self | ) |
Clear sets.
| AffineXf3d mrmeshpy.PointToPointAligningTransform.findBestRigidScaleXf | ( | self | ) |
this version searches for best rigid body transformation with uniform scaling
| AffineXf3d mrmeshpy.PointToPointAligningTransform.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.PointToPointAligningTransform.findBestRigidXfFixedRotationAxis | ( | self, | |
| Vector3d | axis ) |
this version searches for best transformation where rotation is allowed only around given axis and with arbitrary translation
| AffineXf3d mrmeshpy.PointToPointAligningTransform.findBestRigidXfOrthogonalRotationAxis | ( | self, | |
| Vector3d | ort ) |
this version searches for best transformation where rotation is allowed only around axes orthogonal to given one
| Vector3d mrmeshpy.PointToPointAligningTransform.findBestTranslation | ( | self | ) |
Simplified solution for translational part only
|
static |
|
static |
| float mrmeshpy.PointToPointAligningTransform.totalWeight | ( | self | ) |
returns summed weight of points accumulated so far