Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
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.
Instances created here own their C++ objects, see CppObject.
| meshlib.PointToPointAligningTransform.PointToPointAligningTransform | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.PointToPointAligningTransform.PointToPointAligningTransform | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PointToPointAligningTransform_DefaultConstruct().
| meshlib.PointToPointAligningTransform.PointToPointAligningTransform | ( | meshlib.PointToPointAligningTransform | _other | ) |
Generated from constructor MR::PointToPointAligningTransform::PointToPointAligningTransform. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PointToPointAligningTransform_ConstructFromAnother().
| void meshlib.PointToPointAligningTransform.add | ( | meshlib.PointToPointAligningTransform | other | ) |
Add another two sets of points. Generated from method MR::PointToPointAligningTransform::add.
Calls MR_PointToPointAligningTransform_add_1().
| void meshlib.PointToPointAligningTransform.add | ( | meshlib.Vector3d | p1, |
| meshlib.Vector3d | p2, | ||
| java.lang.Double | w ) |
Add one pair of points in the set Generated from method MR::PointToPointAligningTransform::add.
Calls MR_PointToPointAligningTransform_add_3_MR_Vector3d().
| void meshlib.PointToPointAligningTransform.add | ( | meshlib.Vector3f | p1, |
| meshlib.Vector3f | p2, | ||
| java.lang.Float | w ) |
Add one pair of points in the set Generated from method MR::PointToPointAligningTransform::add.
Calls MR_PointToPointAligningTransform_add_3_MR_Vector3f().
| meshlib.PointToPointAligningTransform meshlib.PointToPointAligningTransform.assignFromAnother | ( | meshlib.PointToPointAligningTransform | _other | ) |
Generated from method MR::PointToPointAligningTransform::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_PointToPointAligningTransform_AssignFromAnother().
| meshlib.Vector3d meshlib.PointToPointAligningTransform.centroid1 | ( | ) |
returns weighted centroid of points p1 accumulated so far Generated from method MR::PointToPointAligningTransform::centroid1.
Calls MR_PointToPointAligningTransform_centroid1().
| meshlib.Vector3d meshlib.PointToPointAligningTransform.centroid2 | ( | ) |
returns weighted centroid of points p2 accumulated so far Generated from method MR::PointToPointAligningTransform::centroid2.
Calls MR_PointToPointAligningTransform_centroid2().
| void meshlib.PointToPointAligningTransform.clear | ( | ) |
Clear sets. Generated from method MR::PointToPointAligningTransform::clear.
Calls MR_PointToPointAligningTransform_clear().
| meshlib.AffineXf3d meshlib.PointToPointAligningTransform.findBestRigidScaleXf | ( | ) |
this version searches for best rigid body transformation with uniform scaling Generated from method MR::PointToPointAligningTransform::findBestRigidScaleXf.
Calls MR_PointToPointAligningTransform_findBestRigidScaleXf().
| meshlib.AffineXf3d meshlib.PointToPointAligningTransform.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.
Calls MR_PointToPointAligningTransform_findBestRigidXf().
| meshlib.AffineXf3d meshlib.PointToPointAligningTransform.findBestRigidXfFixedRotationAxis | ( | meshlib.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.
Calls MR_PointToPointAligningTransform_findBestRigidXfFixedRotationAxis().
| meshlib.AffineXf3d meshlib.PointToPointAligningTransform.findBestRigidXfOrthogonalRotationAxis | ( | meshlib.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.
Calls MR_PointToPointAligningTransform_findBestRigidXfOrthogonalRotationAxis().
| meshlib.Vector3d meshlib.PointToPointAligningTransform.findBestTranslation | ( | ) |
Simplified solution for translational part only Generated from method MR::PointToPointAligningTransform::findBestTranslation.
Calls MR_PointToPointAligningTransform_findBestTranslation().
| double meshlib.PointToPointAligningTransform.totalWeight | ( | ) |
returns summed weight of points accumulated so far Generated from method MR::PointToPointAligningTransform::totalWeight.
Calls MR_PointToPointAligningTransform_totalWeight().