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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstPointToPointAligningTransform arg0)
None add (self, ConstVector3d p1, ConstVector3d p2, float w=1)
None add (self, ConstVector3f p1, ConstVector3f p2, float w=1)
None add (self, ConstPointToPointAligningTransform other)
PointToPointAligningTransform assign (self, ConstPointToPointAligningTransform other)
None clear (self)
Public Member Functions inherited from mrmeshpy.ConstPointToPointAligningTransform
 __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)

Static Public Member Functions

None __init__ (*args, **kwargs)

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.PointToPointAligningTransform.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.PointToPointAligningTransform.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.PointToPointAligningTransform.__init__ ( self,
ConstPointToPointAligningTransform arg0 )
Implicit copy constructor.

Member Function Documentation

◆ add() [1/3]

None mrmeshpy.PointToPointAligningTransform.add ( self,
ConstPointToPointAligningTransform other )
Add another two sets of points.

◆ add() [2/3]

None mrmeshpy.PointToPointAligningTransform.add ( self,
ConstVector3d p1,
ConstVector3d p2,
float w = 1 )
Add one pair of points in the set

◆ add() [3/3]

None mrmeshpy.PointToPointAligningTransform.add ( self,
ConstVector3f p1,
ConstVector3f p2,
float w = 1 )
Add one pair of points in the set

◆ assign()

PointToPointAligningTransform mrmeshpy.PointToPointAligningTransform.assign ( self,
ConstPointToPointAligningTransform other )

◆ clear()

None mrmeshpy.PointToPointAligningTransform.clear ( self)
Clear sets.

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