MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPartMapping.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4
5namespace MR
6{
7
10{
11 // source.id -> target.id
12 // each map here can be either dense vector or hash map, the type is set by the user and preserved by mesh copying functions;
13 // dense maps are better by speed and memory when source mesh is packed and must be copied entirely;
14 // hash maps minimize memory consumption when only a small portion of source mesh is copied
18
19 // target.id -> source.id
20 // dense vectors are better by speed and memory when target mesh was empty before copying
24
27};
28
29} //namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:80
Definition MRCameraOrientationPlugin.h:8
mapping among elements of source mesh, from which a part is taken, and target mesh
Definition MRPartMapping.h:10
MRMESH_API void clear()
clears all member maps
VertMapOrHashMap * tgt2srcVerts
Definition MRPartMapping.h:22
WholeEdgeMapOrHashMap * src2tgtEdges
Definition MRPartMapping.h:17
FaceMapOrHashMap * src2tgtFaces
Definition MRPartMapping.h:15
WholeEdgeMapOrHashMap * tgt2srcEdges
Definition MRPartMapping.h:23
VertMapOrHashMap * src2tgtVerts
Definition MRPartMapping.h:16
FaceMapOrHashMap * tgt2srcFaces
Definition MRPartMapping.h:21