Stores a pair of points: one samples on the source and the closest to it on the target. More...
#include <MRICP.h>
Public Attributes | |
VertId | srcVertId |
id of the source point | |
VertId | tgtCloseVert |
float | normalsAngleCos = 1.f |
cosine between normals in source and target points | |
bool | tgtOnBd = false |
true if if the closest point on target is located on the boundary (only for meshes) | |
Public Attributes inherited from MR::ICPPairData | |
Vector3f | srcPoint |
coordinates of the source point after transforming in world space | |
Vector3f | srcNorm |
normal in source point after transforming in world space | |
Vector3f | tgtPoint |
coordinates of the closest point on target after transforming in world space | |
Vector3f | tgtNorm |
normal in the target point after transforming in world space | |
float | distSq = 0.f |
squared distance between source and target points | |
float | weight = 1.f |
weight of the pair (to prioritize over other pairs) | |
Friends | |
bool | operator== (const PointPair &, const PointPair &)=default |
Stores a pair of points: one samples on the source and the closest to it on the target.
float MR::PointPair::normalsAngleCos = 1.f |
cosine between normals in source and target points
VertId MR::PointPair::srcVertId |
id of the source point
VertId MR::PointPair::tgtCloseVert |
for point clouds it is the closest vertex on target, for meshes it is the closest vertex of the triangle with the closest point on target
bool MR::PointPair::tgtOnBd = false |
true if if the closest point on target is located on the boundary (only for meshes)