MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::ICPPairData:

Public Member Functions

auto assign_from_another (_other:&meshlib::ICPPairData) -> &mut meshlib::ICPPairData
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)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ICPPairData >
static auto construct_from (srcPoint:meshlib::Vector3f, srcNorm:meshlib::Vector3f, tgtPoint:meshlib::Vector3f, tgtNorm:meshlib::Vector3f, distSq:f32, weight:f32) -> meshlib::Owned< meshlib::ICPPairData >
static auto construct_from_another (_other:&meshlib::ICPPairData) -> meshlib::Owned< meshlib::ICPPairData >
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

Detailed Description

Generated from class MR::ICPPairData. Derived classes: Direct: (non-virtual) MR::ICPGroupPair MR::PointPair

Generated from class MR::ICPPairData. Heap-allocated instances are held in Owned<ICPPairData>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::ICPPairData::assign_from_another ( _other:&meshlib::ICPPairData ) -> &mut meshlib::ICPPairData

Generated from method MR::ICPPairData::operator=.

Calls MR_ICPPairData_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::ICPPairData::construct_from ( srcPoint:meshlib::Vector3f ,
srcNorm:meshlib::Vector3f ,
tgtPoint:meshlib::Vector3f ,
tgtNorm:meshlib::Vector3f ,
distSq:f32 ,
weight:f32  ) -> meshlib::Owned< meshlib::ICPPairData >
static

Constructs MR::ICPPairData elementwise.

Calls MR_ICPPairData_ConstructFrom(). The reference to the parameter srcPoint might be preserved in the constructed object. The reference to the parameter srcNorm might be preserved in the constructed object. The reference to the parameter tgtPoint might be preserved in the constructed object. The reference to the parameter tgtNorm might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::ICPPairData::construct_from_another ( _other:&meshlib::ICPPairData ) -> meshlib::Owned< meshlib::ICPPairData >
static

Generated from constructor MR::ICPPairData::ICPPairData.

Calls MR_ICPPairData_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ dist_sq()

auto meshlib::ICPPairData::dist_sq ( ) const -> &f32

squared distance between source and target points Returns a pointer to a member variable of class MR::ICPPairData named distSq.

Calls MR_ICPPairData_Get_distSq(). The reference to this object might be preserved as the return value.

◆ dist_sq_mut()

auto meshlib::ICPPairData::dist_sq_mut ( ) -> &mut f32

squared distance between source and target points Returns a mutable pointer to a member variable of class MR::ICPPairData named distSq.

Calls MR_ICPPairData_GetMutable_distSq(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::ICPPairData::new ( ) -> meshlib::Owned< meshlib::ICPPairData >
static

Constructs an empty (default-constructed) instance.

Calls MR_ICPPairData_DefaultConstruct().

◆ set_dist_sq()

void meshlib::ICPPairData::set_dist_sq ( value:f32 )

squared distance between source and target points Modifies a member variable of class MR::ICPPairData named distSq.

Calls MR_ICPPairData_Set_distSq().

◆ set_src_norm()

void meshlib::ICPPairData::set_src_norm ( value:meshlib::Vector3f )

normal in source point after transforming in world space Modifies a member variable of class MR::ICPPairData named srcNorm.

Calls MR_ICPPairData_Set_srcNorm(). The reference to the parameter value might be preserved in this object in element srcNorm.

◆ set_src_point()

void meshlib::ICPPairData::set_src_point ( value:meshlib::Vector3f )

coordinates of the source point after transforming in world space Modifies a member variable of class MR::ICPPairData named srcPoint.

Calls MR_ICPPairData_Set_srcPoint(). The reference to the parameter value might be preserved in this object in element srcPoint.

◆ set_tgt_norm()

void meshlib::ICPPairData::set_tgt_norm ( value:meshlib::Vector3f )

normal in the target point after transforming in world space Modifies a member variable of class MR::ICPPairData named tgtNorm.

Calls MR_ICPPairData_Set_tgtNorm(). The reference to the parameter value might be preserved in this object in element tgtNorm.

◆ set_tgt_point()

void meshlib::ICPPairData::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::ICPPairData named tgtPoint.

Calls MR_ICPPairData_Set_tgtPoint(). The reference to the parameter value might be preserved in this object in element tgtPoint.

◆ set_weight()

void meshlib::ICPPairData::set_weight ( value:f32 )

weight of the pair (to prioritize over other pairs) Modifies a member variable of class MR::ICPPairData named weight.

Calls MR_ICPPairData_Set_weight().

◆ src_norm()

auto meshlib::ICPPairData::src_norm ( ) const -> &meshlib::Vector3f

normal in source point after transforming in world space Returns a pointer to a member variable of class MR::ICPPairData named srcNorm.

Calls MR_ICPPairData_Get_srcNorm(). The reference to this object might be preserved as the return value.

◆ src_norm_mut()

auto meshlib::ICPPairData::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::ICPPairData named srcNorm.

Calls MR_ICPPairData_GetMutable_srcNorm(). The reference to this object might be preserved as the return value.

◆ src_point()

auto meshlib::ICPPairData::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::ICPPairData named srcPoint.

Calls MR_ICPPairData_Get_srcPoint(). The reference to this object might be preserved as the return value.

◆ src_point_mut()

auto meshlib::ICPPairData::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::ICPPairData named srcPoint.

Calls MR_ICPPairData_GetMutable_srcPoint(). The reference to this object might be preserved as the return value.

◆ tgt_norm()

auto meshlib::ICPPairData::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::ICPPairData named tgtNorm.

Calls MR_ICPPairData_Get_tgtNorm(). The reference to this object might be preserved as the return value.

◆ tgt_norm_mut()

auto meshlib::ICPPairData::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::ICPPairData named tgtNorm.

Calls MR_ICPPairData_GetMutable_tgtNorm(). The reference to this object might be preserved as the return value.

◆ tgt_point()

auto meshlib::ICPPairData::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::ICPPairData named tgtPoint.

Calls MR_ICPPairData_Get_tgtPoint(). The reference to this object might be preserved as the return value.

◆ tgt_point_mut()

auto meshlib::ICPPairData::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::ICPPairData named tgtPoint.

Calls MR_ICPPairData_GetMutable_tgtPoint(). The reference to this object might be preserved as the return value.

◆ weight()

auto meshlib::ICPPairData::weight ( ) const -> &f32

weight of the pair (to prioritize over other pairs) Returns a pointer to a member variable of class MR::ICPPairData named weight.

Calls MR_ICPPairData_Get_weight(). The reference to this object might be preserved as the return value.

◆ weight_mut()

auto meshlib::ICPPairData::weight_mut ( ) -> &mut f32

weight of the pair (to prioritize over other pairs) Returns a mutable pointer to a member variable of class MR::ICPPairData named weight.

Calls MR_ICPPairData_GetMutable_weight(). The reference to this object might be preserved as the return value.


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