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

Public Member Functions

auto assign_from_another (_other:&meshlib::CloudPartMapping) -> &mut meshlib::CloudPartMapping
auto src2tgt_verts () const -> *const *mut meshlib::ffi::MR_VertMap
auto src2tgt_verts_mut () -> *mut *mut meshlib::ffi::MR_VertMap
void set_src2tgt_verts (value:Option<&mut meshlib::VertMap >)
auto tgt2src_verts () const -> *const *mut meshlib::ffi::MR_VertMap
auto tgt2src_verts_mut () -> *mut *mut meshlib::ffi::MR_VertMap
void set_tgt2src_verts (value:Option<&mut meshlib::VertMap >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CloudPartMapping >
static auto construct_from (src2tgtVerts:Option<&mut meshlib::VertMap >, tgt2srcVerts:Option<&mut meshlib::VertMap >) -> meshlib::Owned< meshlib::CloudPartMapping >
static auto construct_from_another (_other:&meshlib::CloudPartMapping) -> meshlib::Owned< meshlib::CloudPartMapping >
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

mapping among elements of source point cloud, from which a part is taken, and target (this) point cloud Generated from class MR::CloudPartMapping.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::CloudPartMapping::construct_from ( src2tgtVerts:Option<&mut meshlib::VertMap > ,
tgt2srcVerts:Option<&mut meshlib::VertMap >  ) -> meshlib::Owned< meshlib::CloudPartMapping >
static

Constructs MR::CloudPartMapping elementwise.

Calls MR_CloudPartMapping_ConstructFrom(). The reference to the parameter src2tgtVerts might be preserved in the constructed object. The reference to the parameter tgt2srcVerts might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CloudPartMapping::CloudPartMapping.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CloudPartMapping_DefaultConstruct().

◆ set_src2tgt_verts()

void meshlib::CloudPartMapping::set_src2tgt_verts ( value:Option<&mut meshlib::VertMap > )

from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud Modifies a member variable of class MR::CloudPartMapping named src2tgtVerts.

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

◆ set_tgt2src_verts()

void meshlib::CloudPartMapping::set_tgt2src_verts ( value:Option<&mut meshlib::VertMap > )

this.id -> from.id, efficient when any cloud or its part is added into empty cloud Modifies a member variable of class MR::CloudPartMapping named tgt2srcVerts.

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

◆ src2tgt_verts()

auto meshlib::CloudPartMapping::src2tgt_verts ( ) const -> *const *mut meshlib::ffi::MR_VertMap

from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud Returns a pointer to a member variable of class MR::CloudPartMapping named src2tgtVerts.

Calls MR_CloudPartMapping_Get_src2tgtVerts(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ src2tgt_verts_mut()

auto meshlib::CloudPartMapping::src2tgt_verts_mut ( ) -> *mut *mut meshlib::ffi::MR_VertMap

from.id -> this.id, efficient when full cloud without many invalid points is added into another cloud Returns a mutable pointer to a member variable of class MR::CloudPartMapping named src2tgtVerts.

Calls MR_CloudPartMapping_GetMutable_src2tgtVerts(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ tgt2src_verts()

auto meshlib::CloudPartMapping::tgt2src_verts ( ) const -> *const *mut meshlib::ffi::MR_VertMap

this.id -> from.id, efficient when any cloud or its part is added into empty cloud Returns a pointer to a member variable of class MR::CloudPartMapping named tgt2srcVerts.

Calls MR_CloudPartMapping_Get_tgt2srcVerts(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ tgt2src_verts_mut()

auto meshlib::CloudPartMapping::tgt2src_verts_mut ( ) -> *mut *mut meshlib::ffi::MR_VertMap

this.id -> from.id, efficient when any cloud or its part is added into empty cloud Returns a mutable pointer to a member variable of class MR::CloudPartMapping named tgt2srcVerts.

Calls MR_CloudPartMapping_GetMutable_tgt2srcVerts(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.


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