48 std::vector<VertDuplication>* dups =
nullptr );
55 std::vector<VertDuplication> * dups =
nullptr,
74 const Triangulation & t, VertId maxVertId,
75 const std::vector<MeshPiece> & pieces,
85 FaceBitSet * createdFaces =
nullptr );
97 VertMap * optionalVertOldToNew =
nullptr );
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRMesh/MRMeshTopology.h:18
std::vector<T>-like container that requires specific indexing type,
Definition MRMesh/MRVector.h:20
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
MRMESH_API void addTriangles(MeshTopology &res, const Triangulation &t, const BuildSettings &settings={})
MRMESH_API size_t duplicateNonManifoldVertices(Triangulation &t, FaceBitSet *region=nullptr, std::vector< VertDuplication > *dups=nullptr)
MRMESH_API Mesh fromPointTriples(const std::vector< Triangle3f > &posTriples)
MRMESH_API MeshTopology fromTrianglesDuplicatingNonManifoldVertices(Triangulation &t, std::vector< VertDuplication > *dups=nullptr, const BuildSettings &settings={})
MRMESH_API MeshTopology fromFaceSoup(const std::vector< VertId > &verts, const Vector< VertSpan, FaceId > &faces, const BuildSettings &settings={}, ProgressCallback progressCb={})
construct mesh topology from face soup, where each face can have arbitrary degree (not only triangles...
MRMESH_API MeshTopology fromDisjointMeshPieces(const Triangulation &t, VertId maxVertId, const std::vector< MeshPiece > &pieces, const BuildSettings &settings={})
MRMESH_API MeshTopology fromTriangles(const Triangulation &t, const BuildSettings &settings={}, ProgressCallback progressCb={})
MRMESH_API int uniteCloseVertices(Mesh &mesh, float closeDist, bool uniteOnlyBd=true, VertMap *optionalVertOldToNew=nullptr)
Definition MRCameraOrientationPlugin.h:8
Definition MRMeshBuilderTypes.h:30
Definition MRMesh/MRMeshBuilder.h:64
VertMap vmap
Definition MRMesh/MRMeshBuilder.h:66
MeshTopology topology
Definition MRMesh/MRMeshBuilder.h:67
FaceMap fmap
Definition MRMesh/MRMeshBuilder.h:65
FaceBitSet rem
Definition MRMesh/MRMeshBuilder.h:68
Definition MRMesh/MRMeshBuilder.h:40
VertId dupVert
Definition MRMesh/MRMeshBuilder.h:42
VertId srcVert
Definition MRMesh/MRMeshBuilder.h:41
Definition MRMesh/MRMesh.h:23