MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::ICPMethod Struct Reference
Inheritance diagram for meshlib::ICPMethod:

Static Public Attributes

static const meshlib::ICPMethod Combined
 < PointToPoint for the first 2 iterations, and PointToPlane for the remaining iterations
static const meshlib::ICPMethod PointToPoint
static const meshlib::ICPMethod PointToPlane

Detailed Description

The method how to update transformation from point pairs

Generated from enum MR::ICPMethod. The constants are associated constants of this type.

Member Data Documentation

◆ Combined

const meshlib::ICPMethod meshlib::ICPMethod::Combined
static

< PointToPoint for the first 2 iterations, and PointToPlane for the remaining iterations

◆ PointToPlane

const meshlib::ICPMethod meshlib::ICPMethod::PointToPlane
static

< select transformation that minimizes mean squared distance between a point and a plane via the other point in each pair, < converge much faster than PointToPoint in case of many good (with not all points/normals in one plane) pairs < This mode only works correctly if the object that points are being projected onto has normals information (is not a point clouds without normals). < By default both objects are projected onto each other, so at least one of them must have normals, unless you change the settings < to only project one way (using MR::ICP::setFltSamples() or MR::ICP::setRefSamples()), in which case the object being projected onto < must have normals.

◆ PointToPoint

const meshlib::ICPMethod meshlib::ICPMethod::PointToPoint
static

< select transformation that minimizes mean squared distance between two points in each pair, < it is the safest approach but can converge slowly


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