MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MultiwayICP Class Reference

#include <MRMultiwayICP.h>

Public Types

using PairsPerLayer = Vector<ICPPairsGrid, ICPLayer>
 

Public Member Functions

MRMESH_API MultiwayICP (const ICPObjects &objects, const MultiwayICPSamplingParameters &samplingParams)
 
MRMESH_API Vector< AffineXf3f, ObjId > calculateTransformations (const ProgressCallback &cb={})
 
MRMESH_API Vector< AffineXf3f, ObjId > calculateTransformationsFixFirst (const ProgressCallback &cb={})
 
MRMESH_API bool resamplePoints (const MultiwayICPSamplingParameters &samplingParams)
 select pairs with origin samples on all objects
 
MRMESH_API bool updateAllPointPairs (const ProgressCallback &cb={})
 
void setParams (const ICPProperties &prop)
 tune algorithm params before run calculateTransformations()
 
const ICPPropertiesgetParams () const
 
MRMESH_API float getMeanSqDistToPoint (std::optional< double > value={}) const
 
MRMESH_API float getMeanSqDistToPlane (std::optional< double > value={}) const
 
MRMESH_API size_t getNumSamples () const
 computes the number of samples able to form pairs
 
MRMESH_API size_t getNumActivePairs () const
 computes the number of active point pairs
 
void setPerIterationCallback (std::function< void(int inter)> callback)
 sets callback that will be called for each iteration
 
bool devIndependentEquationsModeEnabled () const
 
void devEnableIndependentEquationsMode (bool on)
 
MRMESH_API std::string getStatusInfo () const
 returns status info string
 
const PairsPerLayergetPairsPerLayer () const
 returns all pairs of all layers
 
const IICPTreeIndexergetCascadeIndexer () const
 

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


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