MeshLib
 
Loading...
Searching...
No Matches
MRDotNet/MRMultiwayICP.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRICP.h"
4
6
9{
11 float samplingVoxelSize = 0.0f;
12
15 int maxGroupSize = 64;
16
17 enum class CascadeMode
18 {
22};
23
27public ref class MultiwayICP
28{
29public:
30 MultiwayICP( List<MeshOrPointsXf>^ objs, MultiwayICPSamplingParameters^ samplingParams );
32
35 List<AffineXf3f^>^ CalculateTransformations();
42 void SetParams( ICPProperties^ props );
46 float GetMeanSqDistToPoint( double value );
50 float GetMeanSqDistToPlane( double value );
55
56private:
57 MR::MultiwayICP* icp_;
58};
59
61
#define MR_DOTNET_NAMESPACE_BEGIN
Definition MRDotNet/MRMeshFwd.h:42
#define MR_DOTNET_NAMESPACE_END
Definition MRDotNet/MRMeshFwd.h:43
Definition MRMesh/MRMultiwayICP.h:82
Definition MRDotNet/MRMultiwayICP.h:28
float GetMeanSqDistToPoint(double value)
computes the standard deviation from given value
int GetNumActivePairs()
computes the number of active point pairs
MultiwayICP(List< MeshOrPointsXf >^ objs, MultiwayICPSamplingParameters^ samplingParams)
float GetMeanSqDistToPlane(double value)
computes the standard deviation from given value
float GetMeanSqDistToPoint()
computes root-mean-square deviation between points
List< AffineXf3f^> CalculateTransformations()
void SetParams(ICPProperties^ props)
tune algorithm params before run calculateTransformations()
int GetNumSamples()
computes the number of samples able to form pairs
bool UpdateAllPointPairs()
void ResamplePoints(MultiwayICPSamplingParameters^ samplingParams)
select pairs with origin samples on all objects
float GetMeanSqDistToPlane()
computes root-mean-square deviation from points to target planes
Definition MRDotNet/MRICP.h:55
Parameters that are used for sampling of the MultiwayICP objects.
Definition MRDotNet/MRMultiwayICP.h:9
float samplingVoxelSize
sampling size of each object
Definition MRDotNet/MRMultiwayICP.h:11
CascadeMode
Definition MRDotNet/MRMultiwayICP.h:18
@ AABBTreeBased
separates objects on groups based on their index in ICPObjects (good if all objects about the size of...
enum MultiwayICPSamplingParameters::CascadeMode AABBTreeBased
int maxGroupSize
Definition MRDotNet/MRMultiwayICP.h:15