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

Public Member Functions

auto assign_from_another (_other:&meshlib::PartMapping) -> &mut meshlib::PartMapping
void clear ()
auto src2tgt_faces () const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId
auto src2tgt_faces_mut () -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId
void set_src2tgt_faces (value:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId >)
auto src2tgt_verts () const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId
auto src2tgt_verts_mut () -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId
void set_src2tgt_verts (value:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId >)
auto src2tgt_edges () const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId
auto src2tgt_edges_mut () -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId
void set_src2tgt_edges (value:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId >)
auto tgt2src_faces () const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId
auto tgt2src_faces_mut () -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId
void set_tgt2src_faces (value:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId >)
auto tgt2src_verts () const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId
auto tgt2src_verts_mut () -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId
void set_tgt2src_verts (value:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId >)
auto tgt2src_edges () const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId
auto tgt2src_edges_mut () -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId
void set_tgt2src_edges (value:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PartMapping >
static auto construct_from (src2tgtFaces:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId >, src2tgtVerts:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId >, src2tgtEdges:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId >, tgt2srcFaces:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId >, tgt2srcVerts:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId >, tgt2srcEdges:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId >) -> meshlib::Owned< meshlib::PartMapping >
static auto construct_from_another (_other:&meshlib::PartMapping) -> meshlib::Owned< meshlib::PartMapping >
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 mesh, from which a part is taken, and target mesh Generated from class MR::PartMapping.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ clear()

void meshlib::PartMapping::clear ( )

clears all member maps Generated from method MR::PartMapping::clear.

Calls MR_PartMapping_clear().

◆ construct_from()

auto meshlib::PartMapping::construct_from ( src2tgtFaces:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId > ,
src2tgtVerts:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId > ,
src2tgtEdges:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId > ,
tgt2srcFaces:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId > ,
tgt2srcVerts:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId > ,
tgt2srcEdges:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId >  ) -> meshlib::Owned< meshlib::PartMapping >
static

Constructs MR::PartMapping elementwise.

Calls MR_PartMapping_ConstructFrom(). The reference to the parameter src2tgtFaces might be preserved in the constructed object. The reference to the parameter src2tgtVerts might be preserved in the constructed object. The reference to the parameter src2tgtEdges might be preserved in the constructed object. The reference to the parameter tgt2srcFaces might be preserved in the constructed object. The reference to the parameter tgt2srcVerts might be preserved in the constructed object. The reference to the parameter tgt2srcEdges might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PartMapping::PartMapping.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PartMapping_DefaultConstruct().

◆ set_src2tgt_edges()

void meshlib::PartMapping::set_src2tgt_edges ( value:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId > )

Modifies a member variable of class MR::PartMapping named src2tgtEdges.

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

◆ set_src2tgt_faces()

void meshlib::PartMapping::set_src2tgt_faces ( value:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId > )

source.id -> target.id each map here can be either dense vector or hash map, the type is set by the user and preserved by mesh copying functions; dense maps are better by speed and memory when source mesh is packed and must be copied entirely; hash maps minimize memory consumption when only a small portion of source mesh is copied Modifies a member variable of class MR::PartMapping named src2tgtFaces.

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

◆ set_src2tgt_verts()

void meshlib::PartMapping::set_src2tgt_verts ( value:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId > )

Modifies a member variable of class MR::PartMapping named src2tgtVerts.

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

◆ set_tgt2src_edges()

void meshlib::PartMapping::set_tgt2src_edges ( value:Option<&mut meshlib::MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId > )

Modifies a member variable of class MR::PartMapping named tgt2srcEdges.

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

◆ set_tgt2src_faces()

void meshlib::PartMapping::set_tgt2src_faces ( value:Option<&mut meshlib::MapOrHashMap_MR_FaceId_MR_FaceId > )

target.id -> source.id dense vectors are better by speed and memory when target mesh was empty before copying Modifies a member variable of class MR::PartMapping named tgt2srcFaces.

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

◆ set_tgt2src_verts()

void meshlib::PartMapping::set_tgt2src_verts ( value:Option<&mut meshlib::MapOrHashMap_MR_VertId_MR_VertId > )

Modifies a member variable of class MR::PartMapping named tgt2srcVerts.

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

◆ src2tgt_edges()

auto meshlib::PartMapping::src2tgt_edges ( ) const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId

Returns a pointer to a member variable of class MR::PartMapping named src2tgtEdges.

Calls MR_PartMapping_Get_src2tgtEdges(). 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_edges_mut()

auto meshlib::PartMapping::src2tgt_edges_mut ( ) -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId

Returns a mutable pointer to a member variable of class MR::PartMapping named src2tgtEdges.

Calls MR_PartMapping_GetMutable_src2tgtEdges(). 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_faces()

auto meshlib::PartMapping::src2tgt_faces ( ) const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId

source.id -> target.id each map here can be either dense vector or hash map, the type is set by the user and preserved by mesh copying functions; dense maps are better by speed and memory when source mesh is packed and must be copied entirely; hash maps minimize memory consumption when only a small portion of source mesh is copied Returns a pointer to a member variable of class MR::PartMapping named src2tgtFaces.

Calls MR_PartMapping_Get_src2tgtFaces(). 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_faces_mut()

auto meshlib::PartMapping::src2tgt_faces_mut ( ) -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId

source.id -> target.id each map here can be either dense vector or hash map, the type is set by the user and preserved by mesh copying functions; dense maps are better by speed and memory when source mesh is packed and must be copied entirely; hash maps minimize memory consumption when only a small portion of source mesh is copied Returns a mutable pointer to a member variable of class MR::PartMapping named src2tgtFaces.

Calls MR_PartMapping_GetMutable_src2tgtFaces(). 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()

auto meshlib::PartMapping::src2tgt_verts ( ) const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId

Returns a pointer to a member variable of class MR::PartMapping named src2tgtVerts.

Calls MR_PartMapping_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::PartMapping::src2tgt_verts_mut ( ) -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId

Returns a mutable pointer to a member variable of class MR::PartMapping named src2tgtVerts.

Calls MR_PartMapping_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_edges()

auto meshlib::PartMapping::tgt2src_edges ( ) const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId

Returns a pointer to a member variable of class MR::PartMapping named tgt2srcEdges.

Calls MR_PartMapping_Get_tgt2srcEdges(). 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_edges_mut()

auto meshlib::PartMapping::tgt2src_edges_mut ( ) -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId

Returns a mutable pointer to a member variable of class MR::PartMapping named tgt2srcEdges.

Calls MR_PartMapping_GetMutable_tgt2srcEdges(). 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_faces()

auto meshlib::PartMapping::tgt2src_faces ( ) const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId

target.id -> source.id dense vectors are better by speed and memory when target mesh was empty before copying Returns a pointer to a member variable of class MR::PartMapping named tgt2srcFaces.

Calls MR_PartMapping_Get_tgt2srcFaces(). 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_faces_mut()

auto meshlib::PartMapping::tgt2src_faces_mut ( ) -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_FaceId_MR_FaceId

target.id -> source.id dense vectors are better by speed and memory when target mesh was empty before copying Returns a mutable pointer to a member variable of class MR::PartMapping named tgt2srcFaces.

Calls MR_PartMapping_GetMutable_tgt2srcFaces(). 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::PartMapping::tgt2src_verts ( ) const -> *const *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId

Returns a pointer to a member variable of class MR::PartMapping named tgt2srcVerts.

Calls MR_PartMapping_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::PartMapping::tgt2src_verts_mut ( ) -> *mut *mut meshlib::ffi::MR_MapOrHashMap_MR_VertId_MR_VertId

Returns a mutable pointer to a member variable of class MR::PartMapping named tgt2srcVerts.

Calls MR_PartMapping_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: