applies a non-rigid transformation to the vertices of the mesh.
Vertex normal vectors are updated when the vertex normal property map is provided in the named parameters. Potential face normal vectors are not updated.
is a property map with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and GeomTraits::Vector_3 as value type, GeomTraits being the type of the parameter geom_traits.
VertexRotationMap
is a property map with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and CGAL::Aff_transformation_3<GeomTraits> as value type, GeomTraits being the type of the parameter geom_traits. Only the rotational part of the transformations is considered.
computes non-rigid transformation of a mesh onto another mesh.
A non-rigid ICP, iterative closest point, method based on a SIGGRAPH'16 Tutorial. The method uses optional correspondences between the source and the target for the rough alignment. The iterative closest point method iteratively approaches the target by minimizing the distance between vertices of the source and vertices of the target.
is a property map with boost::graph_traits<TriangleMesh1>::vertex_descriptor as key type and GeomTraits::Vector_3 as value type, GeomTraits being the type of the parameter geom_traits.
VertexRotationMap
is a property map with boost::graph_traits<TriangleMesh1>::vertex_descriptor as key type and CGAL::Aff_transformation_3<GeomTraits> as value type, GeomTraits being the type of the parameter geom_traits.
a writable vertex property map of source to store the translation vector of the registration.
vrm
a writable vertex property map of source to store the rotation part of the registration.
np1
an optional sequence of Named Parameters 1 of the source and the method among the ones listed below.
np2
an optional sequence of Named Parameters 2 of the target providing a vertex point map and a vertex normal map as listed below.
Named Parameters 1
the number of registration iterations using ICP, iterative closest point
Type: unsigned int
Default: 50
the weight \(w_2\) of the point to plane energy in the registration.
Type: double
Default: 1
Extra: \(w_2\) needs to be 0 or positive. See Parameters.
the weight \(w_1\) of the point to matching point energy in the registration
Type: double
Default: 1
Extra: \(w_1\) needs to be 0 or positive. See Parameters.
defines the rigidity of the registration
Type: double
Default: 50
Extra: The weight \(w_3\) needs to be 0 or positive. See Parameters.
the maximal distance for a vertex in source to match with a point in target. The value 0 means no maximal matching distance.
Type: double
Default: average edge length in the target mesh.
a range of matching vertex pairs between the source and the target.
Type: ConstRange whose value type is a pair of boost::graph_traits<TriangleMesh1>::vertex_descriptor and boost::graph_traits<TriangleMesh2>::vertex_descriptor.
Default: empty
Extra: to avoid copies, this parameter can be passed using std::cref.
a property map associating points to the vertices of source
Type: a class model of ReadablePropertyMap with boost::graph_traits<TriangleMesh1>::vertex_descriptor as key type and Point_3 as value type
computes non-rigid transformation of a mesh onto a set of oriented points.
A non-rigid ICP, iterative closest point, method based on a SIGGRAPH'16 Tutorial. The method uses a few correspondences between the source and the target for the rough alignment. The iterative closest point method iteratively approaches the target by minimizing the distance between vertices of the source and points of the target.
is a model of ConstRange. The value type of its iterator is the key type of the named parameter point_map.
VertexTranslationMap
is a property map with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and GeomTraits::Vector_3 as value type, GeomTraits being the type of the parameter geom_traits.
VertexRotationMap
is a property map with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and CGAL::Aff_transformation_3<GeomTraits> as value type, GeomTraits being the type of the parameter geom_traits.