Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
mapping among elements of source mesh, from which a part is taken, and target mesh Generated from class MR::PartMapping.
Instances created here own their C++ objects, see CppObject.
| meshlib.PartMapping.PartMapping | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.PartMapping.PartMapping | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PartMapping_DefaultConstruct().
| meshlib.PartMapping.PartMapping | ( | meshlib.MapOrHashMap_MR_FaceId_MR_FaceId | src2tgtFaces, |
| meshlib.MapOrHashMap_MR_VertId_MR_VertId | src2tgtVerts, | ||
| meshlib.MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId | src2tgtEdges, | ||
| meshlib.MapOrHashMap_MR_FaceId_MR_FaceId | tgt2srcFaces, | ||
| meshlib.MapOrHashMap_MR_VertId_MR_VertId | tgt2srcVerts, | ||
| meshlib.MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId | tgt2srcEdges ) |
Constructs MR::PartMapping elementwise. 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.
Calls MR_PartMapping_ConstructFrom().
| meshlib.PartMapping.PartMapping | ( | meshlib.PartMapping | _other | ) |
Generated from constructor MR::PartMapping::PartMapping. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PartMapping_ConstructFromAnother().
| meshlib.PartMapping meshlib.PartMapping.assignFromAnother | ( | meshlib.PartMapping | _other | ) |
Generated from method MR::PartMapping::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_PartMapping_AssignFromAnother().
| void meshlib.PartMapping.clear | ( | ) |
clears all member maps Generated from method MR::PartMapping::clear.
Calls MR_PartMapping_clear().
| void meshlib.PartMapping.setSrc2tgtEdges | ( | meshlib.MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId | value | ) |
Modifies a member variable of class MR::PartMapping named src2tgtEdges. The reference to the parameter value might be preserved in this object in element src2tgtEdges.
Calls MR_PartMapping_Set_src2tgtEdges().
| void meshlib.PartMapping.setSrc2tgtFaces | ( | meshlib.MapOrHashMap_MR_FaceId_MR_FaceId | value | ) |
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. The reference to the parameter value might be preserved in this object in element src2tgtFaces.
Calls MR_PartMapping_Set_src2tgtFaces().
| void meshlib.PartMapping.setSrc2tgtVerts | ( | meshlib.MapOrHashMap_MR_VertId_MR_VertId | value | ) |
Modifies a member variable of class MR::PartMapping named src2tgtVerts. The reference to the parameter value might be preserved in this object in element src2tgtVerts.
Calls MR_PartMapping_Set_src2tgtVerts().
| void meshlib.PartMapping.setTgt2srcEdges | ( | meshlib.MapOrHashMap_MR_UndirectedEdgeId_MR_EdgeId | value | ) |
Modifies a member variable of class MR::PartMapping named tgt2srcEdges. The reference to the parameter value might be preserved in this object in element tgt2srcEdges.
Calls MR_PartMapping_Set_tgt2srcEdges().
| void meshlib.PartMapping.setTgt2srcFaces | ( | meshlib.MapOrHashMap_MR_FaceId_MR_FaceId | value | ) |
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. The reference to the parameter value might be preserved in this object in element tgt2srcFaces.
Calls MR_PartMapping_Set_tgt2srcFaces().
| void meshlib.PartMapping.setTgt2srcVerts | ( | meshlib.MapOrHashMap_MR_VertId_MR_VertId | value | ) |
Modifies a member variable of class MR::PartMapping named tgt2srcVerts. The reference to the parameter value might be preserved in this object in element tgt2srcVerts.
Calls MR_PartMapping_Set_tgt2srcVerts().
| java.lang.foreign.MemorySegment meshlib.PartMapping.src2tgtEdges | ( | ) |
Returns a pointer to a member variable of class MR::PartMapping named src2tgtEdges. The reference to this object might be preserved as the return value.
Calls MR_PartMapping_Get_src2tgtEdges(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.PartMapping.src2tgtFaces | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_PartMapping_Get_src2tgtFaces(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.PartMapping.src2tgtVerts | ( | ) |
Returns a pointer to a member variable of class MR::PartMapping named src2tgtVerts. The reference to this object might be preserved as the return value.
Calls MR_PartMapping_Get_src2tgtVerts(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.PartMapping.tgt2srcEdges | ( | ) |
Returns a pointer to a member variable of class MR::PartMapping named tgt2srcEdges. The reference to this object might be preserved as the return value.
Calls MR_PartMapping_Get_tgt2srcEdges(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.PartMapping.tgt2srcFaces | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_PartMapping_Get_tgt2srcFaces(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.PartMapping.tgt2srcVerts | ( | ) |
Returns a pointer to a member variable of class MR::PartMapping named tgt2srcVerts. The reference to this object might be preserved as the return value.
Calls MR_PartMapping_Get_tgt2srcVerts(). Some types are raw C types, see the C bindings for the details.