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) | |
parameters of ICP algorithm Generated from class MR::ICPProperties.
Instances created here own their C++ objects, see CppObject.
| meshlib.ICPProperties.ICPProperties | ( | 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.ICPProperties.ICPProperties | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_ICPProperties_DefaultConstruct().
| meshlib.ICPProperties.ICPProperties | ( | meshlib.ICPMethod | method, |
| float | p2plAngleLimit, | ||
| float | p2plScaleLimit, | ||
| float | p2plStabilizer, | ||
| float | cosThreshold, | ||
| float | distThresholdSq, | ||
| float | farDistFactor, | ||
| meshlib.ICPMode | icpMode, | ||
| meshlib.Vector3f | fixedRotationAxis, | ||
| int | iterLimit, | ||
| int | badIterStopCount, | ||
| float | exitVal, | ||
| boolean | mutualClosest, | ||
| boolean | ignoreBdTgts ) |
Constructs MR::ICPProperties elementwise. The reference to the parameter method might be preserved in the constructed object. The reference to the parameter icpMode might be preserved in the constructed object. The reference to the parameter fixedRotationAxis might be preserved in the constructed object.
Calls MR_ICPProperties_ConstructFrom().
| meshlib.ICPProperties.ICPProperties | ( | meshlib.ICPProperties | _other | ) |
Generated from constructor MR::ICPProperties::ICPProperties. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_ICPProperties_ConstructFromAnother().
| meshlib.ICPProperties meshlib.ICPProperties.assignFromAnother | ( | meshlib.ICPProperties | _other | ) |
Generated from method MR::ICPProperties::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_ICPProperties_AssignFromAnother().
| int meshlib.ICPProperties.badIterStopCount | ( | ) |
The algorithm will stop before making all (iterLimit) iterations, if there were consecutive (badIterStopCount) iterations, during which the average distance between points in active pairs did not diminish. Returns a pointer to a member variable of class MR::ICPProperties named badIterStopCount. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_badIterStopCount().
| float meshlib.ICPProperties.cosThreshold | ( | ) |
in [-1,1] Returns a pointer to a member variable of class MR::ICPProperties named cosThreshold. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_cosThreshold().
| float meshlib.ICPProperties.distThresholdSq | ( | ) |
[distance^2] Returns a pointer to a member variable of class MR::ICPProperties named distThresholdSq. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_distThresholdSq().
| float meshlib.ICPProperties.exitVal | ( | ) |
[distance] Returns a pointer to a member variable of class MR::ICPProperties named exitVal. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_exitVal().
| float meshlib.ICPProperties.farDistFactor | ( | ) |
dimensionless Returns a pointer to a member variable of class MR::ICPProperties named farDistFactor. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_farDistFactor().
| meshlib.Vector3f meshlib.ICPProperties.fixedRotationAxis | ( | ) |
Additional parameter for ICPMode.OrthogonalAxis and ICPMode.FixedAxis transformation groups. Returns a pointer to a member variable of class MR::ICPProperties named fixedRotationAxis. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_fixedRotationAxis().
| meshlib.ICPMode meshlib.ICPProperties.icpMode | ( | ) |
Selects the group of transformations, where to find a solution (e.g. with scaling or without, with rotation or without, ...). See the description of each option in ICPMode. Returns a pointer to a member variable of class MR::ICPProperties named icpMode. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_icpMode().
| boolean meshlib.ICPProperties.ignoreBdTgts | ( | ) |
if this flag is true and a source point finds its correspondence on a boundary of target object, then ignores such pair Returns a pointer to a member variable of class MR::ICPProperties named ignoreBdTgts. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_ignoreBdTgts().
| int meshlib.ICPProperties.iterLimit | ( | ) |
The maximum number of iterations that the algorithm can perform. Increase this parameter if you need a higher precision or if initial approximation is not very precise. Returns a pointer to a member variable of class MR::ICPProperties named iterLimit. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_iterLimit().
| meshlib.ICPMethod meshlib.ICPProperties.method | ( | ) |
The method how to update transformation from point pairs, see description of each option in ICPMethod Returns a pointer to a member variable of class MR::ICPProperties named method. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_method().
| boolean meshlib.ICPProperties.mutualClosest | ( | ) |
A pair of points is activated only if both points in the pair are mutually closest (reciprocity test passed), some papers recommend this mode for filtering out wrong pairs, but it can be too aggressive and deactivate (almost) all pairs. Returns a pointer to a member variable of class MR::ICPProperties named mutualClosest. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_mutualClosest().
| float meshlib.ICPProperties.p2plAngleLimit | ( | ) |
[radians] Returns a pointer to a member variable of class MR::ICPProperties named p2plAngleLimit. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_p2plAngleLimit().
| float meshlib.ICPProperties.p2plScaleLimit | ( | ) |
Scaling during one iteration of ICPMethod.PointToPlane will be limited by this value. This is to reduce possible instability. Returns a pointer to a member variable of class MR::ICPProperties named p2plScaleLimit. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_p2plScaleLimit().
| float meshlib.ICPProperties.p2plStabilizer | ( | ) |
Relative regularization of the linear system in ICPMethod.PointToPlane, see PointToPlaneAligningTransform.setStabilizer. This is to avoid huge motions along the directions poorly constrained by the planes, e.g. sliding along parallel faces of a CAD model. Returns a pointer to a member variable of class MR::ICPProperties named p2plStabilizer. The reference to this object might be preserved as the return value.
Calls MR_ICPProperties_Get_p2plStabilizer().
| void meshlib.ICPProperties.setBadIterStopCount | ( | int | value | ) |
The algorithm will stop before making all (iterLimit) iterations, if there were consecutive (badIterStopCount) iterations, during which the average distance between points in active pairs did not diminish. Modifies a member variable of class MR::ICPProperties named badIterStopCount.
Calls MR_ICPProperties_Set_badIterStopCount().
| void meshlib.ICPProperties.setCosThreshold | ( | float | value | ) |
in [-1,1] Modifies a member variable of class MR::ICPProperties named cosThreshold.
Calls MR_ICPProperties_Set_cosThreshold().
| void meshlib.ICPProperties.setDistThresholdSq | ( | float | value | ) |
[distance^2] Modifies a member variable of class MR::ICPProperties named distThresholdSq.
Calls MR_ICPProperties_Set_distThresholdSq().
| void meshlib.ICPProperties.setExitVal | ( | float | value | ) |
[distance] Modifies a member variable of class MR::ICPProperties named exitVal.
Calls MR_ICPProperties_Set_exitVal().
| void meshlib.ICPProperties.setFarDistFactor | ( | float | value | ) |
dimensionless Modifies a member variable of class MR::ICPProperties named farDistFactor.
Calls MR_ICPProperties_Set_farDistFactor().
| void meshlib.ICPProperties.setFixedRotationAxis | ( | meshlib.Vector3f | value | ) |
Additional parameter for ICPMode.OrthogonalAxis and ICPMode.FixedAxis transformation groups. Modifies a member variable of class MR::ICPProperties named fixedRotationAxis. The reference to the parameter value might be preserved in this object in element fixedRotationAxis.
Calls MR_ICPProperties_Set_fixedRotationAxis().
| void meshlib.ICPProperties.setIcpMode | ( | meshlib.ICPMode | value | ) |
Selects the group of transformations, where to find a solution (e.g. with scaling or without, with rotation or without, ...). See the description of each option in ICPMode. Modifies a member variable of class MR::ICPProperties named icpMode. The reference to the parameter value might be preserved in this object in element icpMode.
Calls MR_ICPProperties_Set_icpMode().
| void meshlib.ICPProperties.setIgnoreBdTgts | ( | boolean | value | ) |
if this flag is true and a source point finds its correspondence on a boundary of target object, then ignores such pair Modifies a member variable of class MR::ICPProperties named ignoreBdTgts.
Calls MR_ICPProperties_Set_ignoreBdTgts().
| void meshlib.ICPProperties.setIterLimit | ( | int | value | ) |
The maximum number of iterations that the algorithm can perform. Increase this parameter if you need a higher precision or if initial approximation is not very precise. Modifies a member variable of class MR::ICPProperties named iterLimit.
Calls MR_ICPProperties_Set_iterLimit().
| void meshlib.ICPProperties.setMethod | ( | meshlib.ICPMethod | value | ) |
The method how to update transformation from point pairs, see description of each option in ICPMethod Modifies a member variable of class MR::ICPProperties named method. The reference to the parameter value might be preserved in this object in element method.
Calls MR_ICPProperties_Set_method().
| void meshlib.ICPProperties.setMutualClosest | ( | boolean | value | ) |
A pair of points is activated only if both points in the pair are mutually closest (reciprocity test passed), some papers recommend this mode for filtering out wrong pairs, but it can be too aggressive and deactivate (almost) all pairs. Modifies a member variable of class MR::ICPProperties named mutualClosest.
Calls MR_ICPProperties_Set_mutualClosest().
| void meshlib.ICPProperties.setP2plAngleLimit | ( | float | value | ) |
[radians] Modifies a member variable of class MR::ICPProperties named p2plAngleLimit.
Calls MR_ICPProperties_Set_p2plAngleLimit().
| void meshlib.ICPProperties.setP2plScaleLimit | ( | float | value | ) |
Scaling during one iteration of ICPMethod.PointToPlane will be limited by this value. This is to reduce possible instability. Modifies a member variable of class MR::ICPProperties named p2plScaleLimit.
Calls MR_ICPProperties_Set_p2plScaleLimit().
| void meshlib.ICPProperties.setP2plStabilizer | ( | float | value | ) |
Relative regularization of the linear system in ICPMethod.PointToPlane, see PointToPlaneAligningTransform.setStabilizer. This is to avoid huge motions along the directions poorly constrained by the planes, e.g. sliding along parallel faces of a CAD model. Modifies a member variable of class MR::ICPProperties named p2plStabilizer.
Calls MR_ICPProperties_Set_p2plStabilizer().