MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.PartMapping:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstPartMapping arg0)
None __init__ (self, MapOrHashMap_FaceId_FaceId src2tgtFaces, MapOrHashMap_VertId_VertId src2tgtVerts, MapOrHashMap_UndirectedEdgeId_EdgeId src2tgtEdges, MapOrHashMap_FaceId_FaceId tgt2srcFaces, MapOrHashMap_VertId_VertId tgt2srcVerts, MapOrHashMap_UndirectedEdgeId_EdgeId tgt2srcEdges)
PartMapping assign (self, ConstPartMapping other)
None clear (self)
MapOrHashMap_FaceId_FaceId src2tgtFaces (self)
None src2tgtFaces (self, MapOrHashMap_FaceId_FaceId arg1)
MapOrHashMap_FaceId_FaceId tgt2srcFaces (self)
None tgt2srcFaces (self, MapOrHashMap_FaceId_FaceId arg1)
Public Member Functions inherited from mrmeshpy.ConstPartMapping
 __init__ (self, *args, **kwargs)
MapOrHashMap_UndirectedEdgeId_EdgeId src2tgtEdges (self)
MapOrHashMap_VertId_VertId src2tgtVerts (self)
MapOrHashMap_UndirectedEdgeId_EdgeId tgt2srcEdges (self)
MapOrHashMap_VertId_VertId tgt2srcVerts (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstPartMapping
typing _offsetof_src2tgtEdges = 16
typing _offsetof_src2tgtFaces = 0
typing _offsetof_src2tgtVerts = 8
typing _offsetof_tgt2srcEdges = 40
typing _offsetof_tgt2srcFaces = 24
typing _offsetof_tgt2srcVerts = 32

Detailed Description

Generated from:  MR::PartMapping

mapping among elements of source mesh, from which a part is taken, and target mesh

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.PartMapping.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.PartMapping.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.PartMapping.__init__ ( self,
ConstPartMapping arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.PartMapping.__init__ ( self,
MapOrHashMap_FaceId_FaceId src2tgtFaces,
MapOrHashMap_VertId_VertId src2tgtVerts,
MapOrHashMap_UndirectedEdgeId_EdgeId src2tgtEdges,
MapOrHashMap_FaceId_FaceId tgt2srcFaces,
MapOrHashMap_VertId_VertId tgt2srcVerts,
MapOrHashMap_UndirectedEdgeId_EdgeId tgt2srcEdges )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

PartMapping mrmeshpy.PartMapping.assign ( self,
ConstPartMapping other )

◆ clear()

None mrmeshpy.PartMapping.clear ( self)
clears all member maps

◆ src2tgtFaces() [1/2]

MapOrHashMap_FaceId_FaceId mrmeshpy.PartMapping.src2tgtFaces ( self)
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

Reimplemented from mrmeshpy.ConstPartMapping.

◆ src2tgtFaces() [2/2]

None mrmeshpy.PartMapping.src2tgtFaces ( self,
MapOrHashMap_FaceId_FaceId arg1 )
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

Reimplemented from mrmeshpy.ConstPartMapping.

◆ tgt2srcFaces() [1/2]

MapOrHashMap_FaceId_FaceId mrmeshpy.PartMapping.tgt2srcFaces ( self)
target.id -> source.id
dense vectors are better by speed and memory when target mesh was empty before copying

Reimplemented from mrmeshpy.ConstPartMapping.

◆ tgt2srcFaces() [2/2]

None mrmeshpy.PartMapping.tgt2srcFaces ( self,
MapOrHashMap_FaceId_FaceId arg1 )
target.id -> source.id
dense vectors are better by speed and memory when target mesh was empty before copying

Reimplemented from mrmeshpy.ConstPartMapping.


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