MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / updateAllPointPairs

Method updateAllPointPairs

source/MRMesh/MRMultiwayICP.cpp:556–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554}
555
556bool MultiwayICP::updateAllPointPairs( const ProgressCallback& cb )
557{
558 MR_TIMER;
559 for ( ICPLayer l( 0 ); l < pairsGridPerLayer_.size(); ++l )
560 {
561 bool keepGoing = updateLayerPairs_( l, subprogress( cb, float( l ) / float( pairsGridPerLayer_.size() ), float( l + 1 ) / float( pairsGridPerLayer_.size() ) ) );
562 if ( !keepGoing )
563 return false;
564 }
565 return true;
566}
567
568void MultiwayICP::setupLayers_( MultiwayICPSamplingParameters::CascadeMode mode )
569{

Callers 6

mainFunction · 0.95
TestMultiwayICPMethod · 0.80
EMSCRIPTEN_BINDINGSFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
RunMethod · 0.80

Calls 2

subprogressFunction · 0.85
sizeMethod · 0.45

Tested by 1

TestMultiwayICPMethod · 0.64