Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::PointPair) -> &mut meshlib::PointPair |
| auto | src_vert_id () const -> &meshlib::VertId |
| auto | src_vert_id_mut () -> &mut meshlib::VertId |
| void | set_src_vert_id (value:meshlib::VertId) |
| auto | tgt_close_vert () const -> &meshlib::VertId |
| auto | tgt_close_vert_mut () -> &mut meshlib::VertId |
| void | set_tgt_close_vert (value:meshlib::VertId) |
| auto | normals_angle_cos () const -> &f32 |
| auto | normals_angle_cos_mut () -> &mut f32 |
| void | set_normals_angle_cos (value:f32) |
| auto | tgt_on_bd () const -> &bool |
| auto | tgt_on_bd_mut () -> &mut bool |
| void | set_tgt_on_bd (value:bool) |
| auto | src_point () const -> &meshlib::Vector3f |
| auto | src_point_mut () -> &mut meshlib::Vector3f |
| void | set_src_point (value:meshlib::Vector3f) |
| auto | src_norm () const -> &meshlib::Vector3f |
| auto | src_norm_mut () -> &mut meshlib::Vector3f |
| void | set_src_norm (value:meshlib::Vector3f) |
| auto | tgt_point () const -> &meshlib::Vector3f |
| auto | tgt_point_mut () -> &mut meshlib::Vector3f |
| void | set_tgt_point (value:meshlib::Vector3f) |
| auto | tgt_norm () const -> &meshlib::Vector3f |
| auto | tgt_norm_mut () -> &mut meshlib::Vector3f |
| void | set_tgt_norm (value:meshlib::Vector3f) |
| auto | dist_sq () const -> &f32 |
| auto | dist_sq_mut () -> &mut f32 |
| void | set_dist_sq (value:f32) |
| auto | weight () const -> &f32 |
| auto | weight_mut () -> &mut f32 |
| void | set_weight (value:f32) |
| auto | upcast_to_icp_pair_data () const -> &meshlib::ICPPairData |
| auto | upcast_to_icp_pair_data_mut () -> &mut meshlib::ICPPairData |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PointPair > |
| static auto | construct_from_another (_other:&meshlib::PointPair) -> meshlib::Owned< meshlib::PointPair > |
| static auto | static_downcast_from_icp_pair_data (object:&meshlib::ICPPairData) -> &Self |
| static auto | static_downcast_from_icp_pair_data_mut (object:&mut meshlib::ICPPairData) -> &mut Self |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Stores a pair of points: one samples on the source and the closest to it on the target Generated from class MR::PointPair. Base classes: Direct: (non-virtual) MR::ICPPairData
Generated from class MR::PointPair. Heap-allocated instances are held in Owned<PointPair>.
| auto meshlib::PointPair::assign_from_another | ( | _other:&meshlib::PointPair | ) | -> &mut meshlib::PointPair |
Generated from method MR::PointPair::operator=.
Calls MR_PointPair_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::PointPair::PointPair.
Calls MR_PointPair_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PointPair::dist_sq | ( | ) | const -> &f32 |
squared distance between source and target points Returns a pointer to a member variable of class MR::PointPair named distSq.
Calls MR_PointPair_Get_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::dist_sq_mut | ( | ) | -> &mut f32 |
squared distance between source and target points Returns a mutable pointer to a member variable of class MR::PointPair named distSq.
Calls MR_PointPair_GetMutable_distSq(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointPair_DefaultConstruct().
| auto meshlib::PointPair::normals_angle_cos | ( | ) | const -> &f32 |
cosine between normals in source and target points Returns a pointer to a member variable of class MR::PointPair named normalsAngleCos.
Calls MR_PointPair_Get_normalsAngleCos(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::normals_angle_cos_mut | ( | ) | -> &mut f32 |
cosine between normals in source and target points Returns a mutable pointer to a member variable of class MR::PointPair named normalsAngleCos.
Calls MR_PointPair_GetMutable_normalsAngleCos(). The reference to this object might be preserved as the return value.
| void meshlib::PointPair::set_dist_sq | ( | value:f32 | ) |
squared distance between source and target points Modifies a member variable of class MR::PointPair named distSq.
Calls MR_PointPair_Set_distSq().
| void meshlib::PointPair::set_normals_angle_cos | ( | value:f32 | ) |
cosine between normals in source and target points Modifies a member variable of class MR::PointPair named normalsAngleCos.
Calls MR_PointPair_Set_normalsAngleCos().
| void meshlib::PointPair::set_src_norm | ( | value:meshlib::Vector3f | ) |
normal in source point after transforming in world space Modifies a member variable of class MR::PointPair named srcNorm.
Calls MR_PointPair_Set_srcNorm(). The reference to the parameter value might be preserved in this object in element srcNorm.
| void meshlib::PointPair::set_src_point | ( | value:meshlib::Vector3f | ) |
coordinates of the source point after transforming in world space Modifies a member variable of class MR::PointPair named srcPoint.
Calls MR_PointPair_Set_srcPoint(). The reference to the parameter value might be preserved in this object in element srcPoint.
| void meshlib::PointPair::set_src_vert_id | ( | value:meshlib::VertId | ) |
id of the source point: a vertex of the source object, or a point of the denser cloud in case of grid sampling of a mesh with big triangles (see ICP::sampleFltPoints) Modifies a member variable of class MR::PointPair named srcVertId.
Calls MR_PointPair_Set_srcVertId(). The reference to the parameter value might be preserved in this object in element srcVertId.
| void meshlib::PointPair::set_tgt_close_vert | ( | value:meshlib::VertId | ) |
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 Modifies a member variable of class MR::PointPair named tgtCloseVert.
Calls MR_PointPair_Set_tgtCloseVert(). The reference to the parameter value might be preserved in this object in element tgtCloseVert.
| void meshlib::PointPair::set_tgt_norm | ( | value:meshlib::Vector3f | ) |
normal in the target point after transforming in world space Modifies a member variable of class MR::PointPair named tgtNorm.
Calls MR_PointPair_Set_tgtNorm(). The reference to the parameter value might be preserved in this object in element tgtNorm.
| void meshlib::PointPair::set_tgt_on_bd | ( | value:bool | ) |
true if if the closest point on target is located on the boundary (only for meshes) Modifies a member variable of class MR::PointPair named tgtOnBd.
Calls MR_PointPair_Set_tgtOnBd().
| void meshlib::PointPair::set_tgt_point | ( | value:meshlib::Vector3f | ) |
coordinates of the closest point on target after transforming in world space Modifies a member variable of class MR::PointPair named tgtPoint.
Calls MR_PointPair_Set_tgtPoint(). The reference to the parameter value might be preserved in this object in element tgtPoint.
| void meshlib::PointPair::set_weight | ( | value:f32 | ) |
weight of the pair (to prioritize over other pairs) Modifies a member variable of class MR::PointPair named weight.
Calls MR_PointPair_Set_weight().
| auto meshlib::PointPair::src_norm | ( | ) | const -> &meshlib::Vector3f |
normal in source point after transforming in world space Returns a pointer to a member variable of class MR::PointPair named srcNorm.
Calls MR_PointPair_Get_srcNorm(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::src_norm_mut | ( | ) | -> &mut meshlib::Vector3f |
normal in source point after transforming in world space Returns a mutable pointer to a member variable of class MR::PointPair named srcNorm.
Calls MR_PointPair_GetMutable_srcNorm(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::src_point | ( | ) | const -> &meshlib::Vector3f |
coordinates of the source point after transforming in world space Returns a pointer to a member variable of class MR::PointPair named srcPoint.
Calls MR_PointPair_Get_srcPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::src_point_mut | ( | ) | -> &mut meshlib::Vector3f |
coordinates of the source point after transforming in world space Returns a mutable pointer to a member variable of class MR::PointPair named srcPoint.
Calls MR_PointPair_GetMutable_srcPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::src_vert_id | ( | ) | const -> &meshlib::VertId |
id of the source point: a vertex of the source object, or a point of the denser cloud in case of grid sampling of a mesh with big triangles (see ICP::sampleFltPoints) Returns a pointer to a member variable of class MR::PointPair named srcVertId.
Calls MR_PointPair_Get_srcVertId(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::src_vert_id_mut | ( | ) | -> &mut meshlib::VertId |
id of the source point: a vertex of the source object, or a point of the denser cloud in case of grid sampling of a mesh with big triangles (see ICP::sampleFltPoints) Returns a mutable pointer to a member variable of class MR::PointPair named srcVertId.
Calls MR_PointPair_GetMutable_srcVertId(). The reference to this object might be preserved as the return value.
|
static |
Static downcast from the base class MR::ICPPairData.
Calls MR_PointPair_StaticDowncastFrom_MR_ICPPairData(). Undefined behavior if the object isn't actually a PointPair.
|
static |
Static downcast from the base class MR::ICPPairData.
Calls MR_PointPair_MutableStaticDowncastFrom_MR_ICPPairData(). Undefined behavior if the object isn't actually a PointPair.
| auto meshlib::PointPair::tgt_close_vert | ( | ) | const -> &meshlib::VertId |
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 Returns a pointer to a member variable of class MR::PointPair named tgtCloseVert.
Calls MR_PointPair_Get_tgtCloseVert(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::tgt_close_vert_mut | ( | ) | -> &mut meshlib::VertId |
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 Returns a mutable pointer to a member variable of class MR::PointPair named tgtCloseVert.
Calls MR_PointPair_GetMutable_tgtCloseVert(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::tgt_norm | ( | ) | const -> &meshlib::Vector3f |
normal in the target point after transforming in world space Returns a pointer to a member variable of class MR::PointPair named tgtNorm.
Calls MR_PointPair_Get_tgtNorm(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::tgt_norm_mut | ( | ) | -> &mut meshlib::Vector3f |
normal in the target point after transforming in world space Returns a mutable pointer to a member variable of class MR::PointPair named tgtNorm.
Calls MR_PointPair_GetMutable_tgtNorm(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::tgt_on_bd | ( | ) | const -> &bool |
true if if the closest point on target is located on the boundary (only for meshes) Returns a pointer to a member variable of class MR::PointPair named tgtOnBd.
Calls MR_PointPair_Get_tgtOnBd(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::tgt_on_bd_mut | ( | ) | -> &mut bool |
true if if the closest point on target is located on the boundary (only for meshes) Returns a mutable pointer to a member variable of class MR::PointPair named tgtOnBd.
Calls MR_PointPair_GetMutable_tgtOnBd(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::tgt_point | ( | ) | const -> &meshlib::Vector3f |
coordinates of the closest point on target after transforming in world space Returns a pointer to a member variable of class MR::PointPair named tgtPoint.
Calls MR_PointPair_Get_tgtPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::tgt_point_mut | ( | ) | -> &mut meshlib::Vector3f |
coordinates of the closest point on target after transforming in world space Returns a mutable pointer to a member variable of class MR::PointPair named tgtPoint.
Calls MR_PointPair_GetMutable_tgtPoint(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::upcast_to_icp_pair_data | ( | ) | const -> &meshlib::ICPPairData |
Upcasts to the base class MR::ICPPairData.
Calls MR_PointPair_UpcastTo_MR_ICPPairData().
| auto meshlib::PointPair::upcast_to_icp_pair_data_mut | ( | ) | -> &mut meshlib::ICPPairData |
Upcasts to the base class MR::ICPPairData.
Calls MR_PointPair_MutableUpcastTo_MR_ICPPairData().
| auto meshlib::PointPair::weight | ( | ) | const -> &f32 |
weight of the pair (to prioritize over other pairs) Returns a pointer to a member variable of class MR::PointPair named weight.
Calls MR_PointPair_Get_weight(). The reference to this object might be preserved as the return value.
| auto meshlib::PointPair::weight_mut | ( | ) | -> &mut f32 |
weight of the pair (to prioritize over other pairs) Returns a mutable pointer to a member variable of class MR::PointPair named weight.
Calls MR_PointPair_GetMutable_weight(). The reference to this object might be preserved as the return value.