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 |
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>.
| 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.
| void meshlib::PartMapping::clear | ( | ) |
clears all member maps Generated from method MR::PartMapping::clear.
Calls MR_PartMapping_clear().
|
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.
|
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.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PartMapping_DefaultConstruct().
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.