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). Generated from class MR.PointToPlaneAligningTransform. This is the non-const half of the class. More...
Public Member Functions | |
| unsafe | PointToPlaneAligningTransform () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | PointToPlaneAligningTransform (MR.Const_PointToPlaneAligningTransform _other) |
| Generated from constructor MR.PointToPlaneAligningTransform.PointToPlaneAligningTransform. | |
| PointToPlaneAligningTransform (PointToPlaneAligningTransform _other) | |
| Generated from constructor MR.PointToPlaneAligningTransform.PointToPlaneAligningTransform. | |
| unsafe MR.PointToPlaneAligningTransform | assign (MR.Const_PointToPlaneAligningTransform _other) |
| Generated from method MR::PointToPlaneAligningTransform::operator=. | |
| unsafe void | add (in MR.Vector3d p1, in MR.Vector3d p2, in MR.Vector3d normal2, double? w=null) |
| Add a pair of corresponding points and the normal of the tangent plane at the second point Generated from method MR.PointToPlaneAligningTransform.add. Parameter w defaults to 1. | |
| unsafe void | add (in MR.Vector3f p1, in MR.Vector3f p2, in MR.Vector3f normal2, float? w=null) |
| Add a pair of corresponding points and the normal of the tangent plane at the second point Generated from method MR.PointToPlaneAligningTransform.add. Parameter w defaults to 1. | |
| unsafe void | prepare () |
| this method must be called after add() and before constant find...()/calculate...() to make the matrix symmetric Generated from method MR.PointToPlaneAligningTransform.prepare. | |
| unsafe void | clear () |
| Clear points and normals data Generated from method MR.PointToPlaneAligningTransform.clear. | |
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). Generated from class MR.PointToPlaneAligningTransform. This is the non-const half of the class.
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
Generated from constructor MR.PointToPlaneAligningTransform.PointToPlaneAligningTransform.
|
inline |
Generated from constructor MR.PointToPlaneAligningTransform.PointToPlaneAligningTransform.
|
inline |
Add a pair of corresponding points and the normal of the tangent plane at the second point Generated from method MR.PointToPlaneAligningTransform.add. Parameter w defaults to 1.
|
inline |
Add a pair of corresponding points and the normal of the tangent plane at the second point Generated from method MR.PointToPlaneAligningTransform.add. Parameter w defaults to 1.
|
inline |
Generated from method MR::PointToPlaneAligningTransform::operator=.
|
inline |
Clear points and normals data Generated from method MR.PointToPlaneAligningTransform.clear.
|
inline |
this method must be called after add() and before constant find...()/calculate...() to make the matrix symmetric Generated from method MR.PointToPlaneAligningTransform.prepare.