MeshLib C# Docs
Loading...
Searching...
No Matches
MR.PointToPointAligningTransform Class Reference

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. Generated from class MR.PointToPointAligningTransform. This is the non-const half of the class. More...

Inheritance diagram for MR.PointToPointAligningTransform:

Public Member Functions

unsafe PointToPointAligningTransform ()
 Constructs an empty (default-constructed) instance.
unsafe PointToPointAligningTransform (MR.Const_PointToPointAligningTransform _other)
 Generated from constructor MR.PointToPointAligningTransform.PointToPointAligningTransform.
 PointToPointAligningTransform (PointToPointAligningTransform _other)
 Generated from constructor MR.PointToPointAligningTransform.PointToPointAligningTransform.
unsafe MR.PointToPointAligningTransform assign (MR.Const_PointToPointAligningTransform _other)
 Generated from method MR::PointToPointAligningTransform::operator=.
unsafe void add (in MR.Vector3d p1, in MR.Vector3d p2, double? w=null)
 Add one pair of points in the set Generated from method MR.PointToPointAligningTransform.add. Parameter w defaults to 1.
unsafe void add (in MR.Vector3f p1, in MR.Vector3f p2, float? w=null)
 Add one pair of points in the set Generated from method MR.PointToPointAligningTransform.add. Parameter w defaults to 1.
unsafe void add (MR.Const_PointToPointAligningTransform other)
 Add another two sets of points. Generated from method MR.PointToPointAligningTransform.add.
unsafe void clear ()
 Clear sets. Generated from method MR.PointToPointAligningTransform.clear.
Public Member Functions inherited from MR.Const_PointToPointAligningTransform
virtual void Dispose ()
unsafe Const_PointToPointAligningTransform ()
 Constructs an empty (default-constructed) instance.
unsafe Const_PointToPointAligningTransform (MR.Const_PointToPointAligningTransform _other)
 Generated from constructor MR.PointToPointAligningTransform.PointToPointAligningTransform.
 Const_PointToPointAligningTransform (PointToPointAligningTransform _other)
 Generated from constructor MR.PointToPointAligningTransform.PointToPointAligningTransform.
unsafe MR.Vector3d centroid1 ()
 returns weighted centroid of points p1 accumulated so far Generated from method MR.PointToPointAligningTransform.centroid1.
unsafe MR.Vector3d centroid2 ()
 returns weighted centroid of points p2 accumulated so far Generated from method MR.PointToPointAligningTransform.centroid2.
unsafe double totalWeight ()
 returns summed weight of points accumulated so far Generated from method MR.PointToPointAligningTransform.totalWeight.
unsafe MR.AffineXf3d findBestRigidXf ()
 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 Generated from method MR.PointToPointAligningTransform.findBestRigidXf.
unsafe MR.AffineXf3d findBestRigidScaleXf ()
 this version searches for best rigid body transformation with uniform scaling Generated from method MR.PointToPointAligningTransform.findBestRigidScaleXf.
unsafe MR.AffineXf3d findBestRigidXfFixedRotationAxis (in MR.Vector3d axis)
 this version searches for best transformation where rotation is allowed only around given axis and with arbitrary translation Generated from method MR.PointToPointAligningTransform.findBestRigidXfFixedRotationAxis.
unsafe MR.AffineXf3d findBestRigidXfOrthogonalRotationAxis (in MR.Vector3d ort)
 this version searches for best transformation where rotation is allowed only around axes orthogonal to given one Generated from method MR.PointToPointAligningTransform.findBestRigidXfOrthogonalRotationAxis.
unsafe MR.Vector3d findBestTranslation ()
 Simplified solution for translational part only Generated from method MR.PointToPointAligningTransform.findBestTranslation.

Additional Inherited Members

Protected Member Functions inherited from MR.Const_PointToPointAligningTransform
virtual unsafe void Dispose (bool disposing)

Detailed Description

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. Generated from class MR.PointToPointAligningTransform. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ PointToPointAligningTransform() [1/3]

unsafe MR.PointToPointAligningTransform.PointToPointAligningTransform ( )
inline

Constructs an empty (default-constructed) instance.

◆ PointToPointAligningTransform() [2/3]

unsafe MR.PointToPointAligningTransform.PointToPointAligningTransform ( MR.Const_PointToPointAligningTransform _other)
inline

◆ PointToPointAligningTransform() [3/3]

MR.PointToPointAligningTransform.PointToPointAligningTransform ( PointToPointAligningTransform _other)
inline

Member Function Documentation

◆ add() [1/3]

unsafe void MR.PointToPointAligningTransform.add ( in MR.Vector3d p1,
in MR.Vector3d p2,
double? w = null )
inline

Add one pair of points in the set Generated from method MR.PointToPointAligningTransform.add. Parameter w defaults to 1.

◆ add() [2/3]

unsafe void MR.PointToPointAligningTransform.add ( in MR.Vector3f p1,
in MR.Vector3f p2,
float? w = null )
inline

Add one pair of points in the set Generated from method MR.PointToPointAligningTransform.add. Parameter w defaults to 1.

◆ add() [3/3]

unsafe void MR.PointToPointAligningTransform.add ( MR.Const_PointToPointAligningTransform other)
inline

Add another two sets of points. Generated from method MR.PointToPointAligningTransform.add.

◆ assign()

unsafe MR.PointToPointAligningTransform MR.PointToPointAligningTransform.assign ( MR.Const_PointToPointAligningTransform _other)
inline

Generated from method MR::PointToPointAligningTransform::operator=.

◆ clear()

unsafe void MR.PointToPointAligningTransform.clear ( )
inline

Clear sets. Generated from method MR.PointToPointAligningTransform.clear.


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