MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.MultiwayICP Class Reference
Inheritance diagram for meshlib.MultiwayICP:

Public Member Functions

 MultiwayICP (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 MultiwayICP (meshlib.MultiwayICP _other)
 MultiwayICP (meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId objects, meshlib.MultiwayICPSamplingParameters samplingParams)
meshlib.MultiwayICP assignFromAnother (meshlib.MultiwayICP _other)
meshlib.Vector_MR_AffineXf3f_MR_ObjId calculateTransformations (meshlib.std_function_bool_from_float cb)
meshlib.Vector_MR_AffineXf3f_MR_ObjId calculateTransformationsFixFirst (meshlib.std_function_bool_from_float cb)
boolean resamplePoints (meshlib.MultiwayICPSamplingParameters samplingParams)
boolean updateAllPointPairs (meshlib.std_function_bool_from_float cb)
void setParams (meshlib.ICPProperties prop)
meshlib.ICPProperties getParams ()
float getMeanSqDistToPoint (java.lang.Double value)
float getMeanSqDistToPlane (java.lang.Double value)
long getNumSamples ()
long getNumActivePairs ()
void setPerIterationCallback (meshlib.std_function_void_from_int callback)
boolean devIndependentEquationsModeEnabled ()
void devEnableIndependentEquationsMode (boolean on)
meshlib.std_string getStatusInfo ()
meshlib.Vector_MR_Vector_MR_Vector_MR_ICPGroupPairs_MR_Id_MR_ICPElemtTag_MR_Id_MR_ICPElemtTag_int getPairsPerLayer ()
meshlib.IICPTreeIndexer getCascadeIndexer ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

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)

Detailed Description

This class allows you to register many objects having similar parts and known initial approximations of orientations/locations using Iterative Closest Points (ICP) point-to-point or point-to-plane algorithms

Generated from class MR::MultiwayICP.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ MultiwayICP() [1/3]

meshlib.MultiwayICP.MultiwayICP ( 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.

◆ MultiwayICP() [2/3]

meshlib.MultiwayICP.MultiwayICP ( meshlib.MultiwayICP _other)

Generated from constructor MR::MultiwayICP::MultiwayICP. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_MultiwayICP_ConstructFromAnother().

◆ MultiwayICP() [3/3]

meshlib.MultiwayICP.MultiwayICP ( meshlib.Vector_MR_MeshOrPointsXf_MR_ObjId objects,
meshlib.MultiwayICPSamplingParameters samplingParams )

Generated from constructor MR::MultiwayICP::MultiwayICP. The reference to the parameter objects might be preserved in the constructed object. The reference to the parameter samplingParams might be preserved in the constructed object.

Calls MR_MultiwayICP_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.MultiwayICP meshlib.MultiwayICP.assignFromAnother ( meshlib.MultiwayICP _other)

Generated from method MR::MultiwayICP::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_MultiwayICP_AssignFromAnother().

◆ calculateTransformations()

meshlib.Vector_MR_AffineXf3f_MR_ObjId meshlib.MultiwayICP.calculateTransformations ( meshlib.std_function_bool_from_float cb)

runs ICP algorithm given input objects, transformations, and parameters;

Returns
adjusted transformations of all objects to reach registered state the transformation of the last object is fixed and does not change here Generated from method MR::MultiwayICP::calculateTransformations.

Calls MR_MultiwayICP_calculateTransformations().

◆ calculateTransformationsFixFirst()

meshlib.Vector_MR_AffineXf3f_MR_ObjId meshlib.MultiwayICP.calculateTransformationsFixFirst ( meshlib.std_function_bool_from_float cb)

runs ICP algorithm given input objects, transformations, and parameters;

Returns
adjusted transformations of all objects to reach registered state the transformation of the first object is fixed and does not change here Generated from method MR::MultiwayICP::calculateTransformationsFixFirst.

Calls MR_MultiwayICP_calculateTransformationsFixFirst().

◆ devEnableIndependentEquationsMode()

void meshlib.MultiwayICP.devEnableIndependentEquationsMode ( boolean on)

Generated from method MR::MultiwayICP::devEnableIndependentEquationsMode.

Calls MR_MultiwayICP_devEnableIndependentEquationsMode().

◆ devIndependentEquationsModeEnabled()

boolean meshlib.MultiwayICP.devIndependentEquationsModeEnabled ( )

if in independent equations mode - creates separate equation system for each object otherwise creates single large equation system for all objects Generated from method MR::MultiwayICP::devIndependentEquationsModeEnabled.

Calls MR_MultiwayICP_devIndependentEquationsModeEnabled().

◆ getCascadeIndexer()

meshlib.IICPTreeIndexer meshlib.MultiwayICP.getCascadeIndexer ( )

returns pointer to class that is used to navigate among layers of cascade registration if nullptr - cascade mode is not used Generated from method MR::MultiwayICP::getCascadeIndexer.

Calls MR_MultiwayICP_getCascadeIndexer().

◆ getMeanSqDistToPlane()

float meshlib.MultiwayICP.getMeanSqDistToPlane ( java.lang.Double value)

computes root-mean-square deviation from points to target planes or the standard deviation from given value if present Generated from method MR::MultiwayICP::getMeanSqDistToPlane.

Calls MR_MultiwayICP_getMeanSqDistToPlane().

◆ getMeanSqDistToPoint()

float meshlib.MultiwayICP.getMeanSqDistToPoint ( java.lang.Double value)

computes root-mean-square deviation between points or the standard deviation from given value if present Generated from method MR::MultiwayICP::getMeanSqDistToPoint.

Calls MR_MultiwayICP_getMeanSqDistToPoint().

◆ getNumActivePairs()

long meshlib.MultiwayICP.getNumActivePairs ( )

computes the number of active point pairs Generated from method MR::MultiwayICP::getNumActivePairs.

Calls MR_MultiwayICP_getNumActivePairs().

◆ getNumSamples()

long meshlib.MultiwayICP.getNumSamples ( )

computes the number of samples able to form pairs Generated from method MR::MultiwayICP::getNumSamples.

Calls MR_MultiwayICP_getNumSamples().

◆ getPairsPerLayer()

returns all pairs of all layers Generated from method MR::MultiwayICP::getPairsPerLayer.

Calls MR_MultiwayICP_getPairsPerLayer().

◆ getParams()

meshlib.ICPProperties meshlib.MultiwayICP.getParams ( )

Generated from method MR::MultiwayICP::getParams.

Calls MR_MultiwayICP_getParams().

◆ getStatusInfo()

meshlib.std_string meshlib.MultiwayICP.getStatusInfo ( )

returns status info string Generated from method MR::MultiwayICP::getStatusInfo.

Calls MR_MultiwayICP_getStatusInfo().

◆ resamplePoints()

boolean meshlib.MultiwayICP.resamplePoints ( meshlib.MultiwayICPSamplingParameters samplingParams)

select pairs with origin samples on all objects Generated from method MR::MultiwayICP::resamplePoints.

Calls MR_MultiwayICP_resamplePoints().

◆ setParams()

void meshlib.MultiwayICP.setParams ( meshlib.ICPProperties prop)

tune algorithm params before run calculateTransformations() Generated from method MR::MultiwayICP::setParams.

Calls MR_MultiwayICP_setParams().

◆ setPerIterationCallback()

void meshlib.MultiwayICP.setPerIterationCallback ( meshlib.std_function_void_from_int callback)

sets callback that will be called for each iteration Generated from method MR::MultiwayICP::setPerIterationCallback.

Calls MR_MultiwayICP_setPerIterationCallback().

◆ updateAllPointPairs()

boolean meshlib.MultiwayICP.updateAllPointPairs ( meshlib.std_function_bool_from_float cb)

in each pair updates the target data and performs basic filtering (activation) in cascade mode only useful for stats update Generated from method MR::MultiwayICP::updateAllPointPairs.

Calls MR_MultiwayICP_updateAllPointPairs().


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