MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshComponents.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRId.h>
4#include <MRCMisc/common.h>
5#include <MRCMisc/exports.h>
6
7#include <stdbool.h>
8#include <stddef.h>
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15typedef struct MR_EdgeBitSet MR_EdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
16typedef struct MR_Face2RegionMap MR_Face2RegionMap; // Defined in `#include <MRCMesh/MRVector.h>`.
17typedef struct MR_FaceBitSet MR_FaceBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
18typedef struct MR_Mesh MR_Mesh; // Defined in `#include <MRCMesh/MRMesh.h>`.
19typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
20typedef struct MR_MeshTopology MR_MeshTopology; // Defined in `#include <MRCMesh/MRMeshTopology.h>`.
21typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
22typedef struct MR_UnionFind_MR_FaceId MR_UnionFind_MR_FaceId; // Defined in `#include <MRCMesh/MRUnionFind.h>`.
23typedef struct MR_UnionFind_MR_UndirectedEdgeId MR_UnionFind_MR_UndirectedEdgeId; // Defined in `#include <MRCMesh/MRUnionFind.h>`.
24typedef struct MR_UnionFind_MR_VertId MR_UnionFind_MR_VertId; // Defined in `#include <MRCMesh/MRUnionFind.h>`.
25typedef struct MR_Vector_double_MR_RegionId MR_Vector_double_MR_RegionId; // Defined in `#include <MRCMesh/MRVector.h>`.
26typedef struct MR_VertBitSet MR_VertBitSet; // Defined in `#include <MRCMesh/MRBitSet.h>`.
27typedef struct MR_expected_MR_FaceBitSet_std_string MR_expected_MR_FaceBitSet_std_string; // Defined in `#include <MRCMisc/expected_MR_FaceBitSet_std_string.h>`.
28typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
29typedef struct MR_std_pair_MR_Face2RegionMap_int32_t MR_std_pair_MR_Face2RegionMap_int32_t; // Defined in `#include <MRCMisc/std_pair_MR_Face2RegionMap_int32_t.h>`.
30typedef struct MR_std_pair_MR_FaceBitSet_int32_t MR_std_pair_MR_FaceBitSet_int32_t; // Defined in `#include <MRCMisc/std_pair_MR_FaceBitSet_int32_t.h>`.
31typedef struct MR_std_pair_std_vector_MR_FaceBitSet_int32_t MR_std_pair_std_vector_MR_FaceBitSet_int32_t; // Defined in `#include <MRCMisc/std_pair_std_vector_MR_FaceBitSet_int32_t.h>`.
32typedef struct MR_std_vector_MR_EdgeBitSet MR_std_vector_MR_EdgeBitSet; // Defined in `#include <MRCMisc/std_vector_MR_EdgeBitSet.h>`.
33typedef struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint; // Defined in `#include <MRCMisc/std_vector_MR_EdgePoint.h>`.
34typedef struct MR_std_vector_MR_FaceBitSet MR_std_vector_MR_FaceBitSet; // Defined in `#include <MRCMisc/std_vector_MR_FaceBitSet.h>`.
35typedef struct MR_std_vector_MR_UndirectedEdgeBitSet MR_std_vector_MR_UndirectedEdgeBitSet; // Defined in `#include <MRCMisc/std_vector_MR_UndirectedEdgeBitSet.h>`.
36typedef struct MR_std_vector_MR_VertBitSet MR_std_vector_MR_VertBitSet; // Defined in `#include <MRCMisc/std_vector_MR_VertBitSet.h>`.
37typedef struct MR_std_vector_std_vector_MR_EdgePoint MR_std_vector_std_vector_MR_EdgePoint; // Defined in `#include <MRCMisc/std_vector_std_vector_MR_EdgePoint.h>`.
38
39
48
51
54
63
71
78
85
94MRC_API MR_FaceBitSet *MR_MeshComponents_getLargestComponent(const MR_MeshPart *meshPart, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd, const float *minArea, int32_t *numSmallerComponents);
95
104
110
118
126
133
141
146
150
155
161
166
172
178
183
189
194
198
203
207
212
216
219
222
226
229
232
237
246
252
257
263
269
274
280
286
291
297
303
308
314
318
323
326MRC_API MR_MeshComponents_LargeByAreaComponentsSettings *MR_MeshComponents_LargeByAreaComponentsSettings_ConstructFrom(int32_t maxLargeComponents, int32_t *numSmallerComponents, float minArea, const MR_UndirectedEdgeBitSet *isCompBd);
327
330
333
338
341
344
350
357
364MRC_API MR_FaceBitSet *MR_MeshComponents_getLargeByAreaSmoothComponents(const MR_MeshPart *meshPart, float minArea, float angleFromPlanar, MR_UndirectedEdgeBitSet *outBdEdgesBetweenLargeComps);
365
373
380
389
400
409MRC_API MR_std_vector_MR_FaceBitSet *MR_MeshComponents_getAllComponents_4_MR_Face2RegionMap(MR_Face2RegionMap *componentsMap, int32_t componentsCount, const MR_FaceBitSet *region, int32_t maxComponentCount);
410
420
427
435MRC_API MR_std_pair_MR_FaceBitSet_int32_t *MR_MeshComponents_getLargeByAreaRegions(const MR_MeshPart *meshPart, const MR_Face2RegionMap *regionMap, int32_t numRegions, float minArea);
436
443
450
457
464
471
477
482
488
496
504
511
517
524
531
538
549
556
564
571
572#ifdef __cplusplus
573} // extern "C"
574#endif
struct MR_MeshTopology MR_MeshTopology
Definition MR2DContoursTriangulation.h:16
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
struct MR_FaceBitSet MR_FaceBitSet
Definition MRAABBTreeBase.h:25
struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
Definition MRAABBTreeBase.h:29
struct MR_VertBitSet MR_VertBitSet
Definition MRAABBTree.h:15
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:14
struct MR_EdgeBitSet MR_EdgeBitSet
Definition MRBitSet.h:79
struct MR_expected_MR_FaceBitSet_std_string MR_expected_MR_FaceBitSet_std_string
Definition MRContoursCut.h:20
struct MR_std_vector_MR_FaceBitSet MR_std_vector_MR_FaceBitSet
Definition MRContoursSeparation.h:11
struct MR_Mesh MR_Mesh
Definition MRCtm.h:13
struct MR_std_vector_MR_EdgePoint MR_std_vector_MR_EdgePoint
Definition MREdgePaths.h:28
struct MR_std_vector_std_vector_MR_EdgePoint MR_std_vector_std_vector_MR_EdgePoint
Definition MRExtractIsolines.h:27
struct MR_Face2RegionMap MR_Face2RegionMap
Definition MRMeshCollide.h:14
struct MR_std_pair_MR_FaceBitSet_int32_t MR_std_pair_MR_FaceBitSet_int32_t
Definition MRMeshComponents.h:30
MRC_API void MR_MeshComponents_ExpandToComponentsParams_Set_cb(MR_MeshComponents_ExpandToComponentsParams *_this, MR_PassBy value_pass_by, MR_std_function_bool_from_float *value)
struct MR_Vector_double_MR_RegionId MR_Vector_double_MR_RegionId
Definition MRMeshComponents.h:25
MRC_API void MR_MeshComponents_LargeByAreaComponentsSettings_DestroyArray(const MR_MeshComponents_LargeByAreaComponentsSettings *_this)
Destroys a heap-allocated array of MR_MeshComponents_LargeByAreaComponentsSettings....
struct MR_MeshComponents_LargeByAreaComponentsSettings MR_MeshComponents_LargeByAreaComponentsSettings
Generated from class MR::MeshComponents::LargeByAreaComponentsSettings.
Definition MRMeshComponents.h:53
MRC_API MR_std_vector_MR_VertBitSet * MR_MeshComponents_getAllComponentsVertsSeparatedByPaths(const MR_Mesh *mesh, const MR_std_vector_std_vector_MR_EdgePoint *paths)
MRC_API MR_MeshComponents_ExpandToComponentsParams * MR_MeshComponents_ExpandToComponentsParams_DefaultConstructArray(size_t num_elems)
MRC_API const MR_MeshComponents_ExpandToComponentsParams * MR_MeshComponents_ExpandToComponentsParams_OffsetPtr(const MR_MeshComponents_ExpandToComponentsParams *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const float * MR_MeshComponents_ExpandToComponentsParams_Get_coverRatio(const MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_FaceBitSet * MR_MeshComponents_getComponents(const MR_MeshPart *meshPart, const MR_FaceBitSet *seeds, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API MR_std_vector_MR_EdgeBitSet * MR_MeshComponents_getAllComponentsEdges(const MR_Mesh *mesh, const MR_EdgeBitSet *edges)
struct MR_UnionFind_MR_FaceId MR_UnionFind_MR_FaceId
Definition MRMeshComponents.h:22
MRC_API MR_std_vector_MR_VertBitSet * MR_MeshComponents_getAllComponentsVertsSeparatedByPath(const MR_Mesh *mesh, const MR_std_vector_MR_EdgePoint *path)
MRC_API MR_std_pair_MR_FaceBitSet_int32_t * MR_MeshComponents_getLargeByAreaRegions(const MR_MeshPart *meshPart, const MR_Face2RegionMap *regionMap, int32_t numRegions, float minArea)
MRC_API MR_UndirectedEdgeBitSet * MR_MeshComponents_getComponentsUndirectedEdges(const MR_Mesh *mesh, const MR_UndirectedEdgeBitSet *seeds)
MRC_API MR_MeshComponents_LargeByAreaComponentsSettings * MR_MeshComponents_LargeByAreaComponentsSettings_ConstructFrom(int32_t maxLargeComponents, int32_t *numSmallerComponents, float minArea, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API MR_UnionFind_MR_VertId * MR_MeshComponents_getUnionFindStructureVerts_const_MR_Mesh_ref_MR_UndirectedEdgeBitSet(const MR_Mesh *mesh, const MR_UndirectedEdgeBitSet *edges)
MRC_API bool MR_MeshComponents_hasFullySelectedComponent_MR_MeshTopology(const MR_MeshTopology *topology, const MR_VertBitSet *selection)
MRC_API void MR_MeshComponents_ExpandToComponentsParams_Set_isCompBd(MR_MeshComponents_ExpandToComponentsParams *_this, const MR_UndirectedEdgeBitSet *value)
MRC_API const MR_MeshComponents_LargeByAreaComponentsSettings * MR_MeshComponents_LargeByAreaComponentsSettings_OffsetPtr(const MR_MeshComponents_LargeByAreaComponentsSettings *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_std_pair_std_vector_MR_FaceBitSet_int32_t * MR_MeshComponents_getAllComponents_4_MR_MeshPart(const MR_MeshPart *meshPart, int32_t maxComponentCount, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API void MR_MeshComponents_LargeByAreaComponentsSettings_Set_maxLargeComponents(MR_MeshComponents_LargeByAreaComponentsSettings *_this, int32_t value)
MRC_API MR_MeshComponents_ExpandToComponentsParams * MR_MeshComponents_ExpandToComponentsParams_DefaultConstruct(void)
MRC_API int32_t *const * MR_MeshComponents_ExpandToComponentsParams_Get_optOutNumComponents(const MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_MeshComponents_LargeByAreaComponentsSettings * MR_MeshComponents_LargeByAreaComponentsSettings_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_MR_FaceBitSet * MR_MeshComponents_getAllComponents_3(const MR_MeshPart *meshPart, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API float * MR_MeshComponents_LargeByAreaComponentsSettings_GetMutable_minArea(MR_MeshComponents_LargeByAreaComponentsSettings *_this)
MRC_API MR_MeshComponents_LargeByAreaComponentsSettings * MR_MeshComponents_LargeByAreaComponentsSettings_OffsetMutablePtr(MR_MeshComponents_LargeByAreaComponentsSettings *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_UnionFind_MR_VertId * MR_MeshComponents_getUnionFindStructureVertsSeparatedByPaths(const MR_Mesh *mesh, const MR_std_vector_std_vector_MR_EdgePoint *paths, MR_VertBitSet *outPathVerts)
MRC_API void MR_MeshComponents_ExpandToComponentsParams_Set_incidence(MR_MeshComponents_ExpandToComponentsParams *_this, MR_MeshComponents_FaceIncidence value)
MRC_API MR_std_vector_MR_UndirectedEdgeBitSet * MR_MeshComponents_getAllComponentsUndirectedEdges(const MR_Mesh *mesh, const MR_UndirectedEdgeBitSet *edges)
MRC_API const int32_t * MR_MeshComponents_LargeByAreaComponentsSettings_Get_maxLargeComponents(const MR_MeshComponents_LargeByAreaComponentsSettings *_this)
struct MR_std_pair_std_vector_MR_FaceBitSet_int32_t MR_std_pair_std_vector_MR_FaceBitSet_int32_t
Definition MRMeshComponents.h:31
MRC_API MR_FaceBitSet * MR_MeshComponents_getLargeByAreaSmoothComponents(const MR_MeshPart *meshPart, float minArea, float angleFromPlanar, MR_UndirectedEdgeBitSet *outBdEdgesBetweenLargeComps)
MRC_API MR_MeshComponents_ExpandToComponentsParams * MR_MeshComponents_ExpandToComponentsParams_OffsetMutablePtr(MR_MeshComponents_ExpandToComponentsParams *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_std_vector_MR_UndirectedEdgeBitSet MR_std_vector_MR_UndirectedEdgeBitSet
Definition MRMeshComponents.h:35
MRC_API void MR_MeshComponents_ExpandToComponentsParams_Set_optOutNumComponents(MR_MeshComponents_ExpandToComponentsParams *_this, int32_t *value)
MRC_API MR_Vector_double_MR_RegionId * MR_MeshComponents_getRegionAreas(const MR_MeshPart *meshPart, const MR_Face2RegionMap *regionMap, int32_t numRegions)
MRC_API int32_t ** MR_MeshComponents_ExpandToComponentsParams_GetMutable_optOutNumComponents(MR_MeshComponents_ExpandToComponentsParams *_this)
struct MR_MeshComponents_ExpandToComponentsParams MR_MeshComponents_ExpandToComponentsParams
Generated from class MR::MeshComponents::ExpandToComponentsParams.
Definition MRMeshComponents.h:50
MRC_API MR_uint64_t MR_MeshComponents_getNumComponents(const MR_MeshPart *meshPart, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API const MR_MeshComponents_FaceIncidence * MR_MeshComponents_ExpandToComponentsParams_Get_incidence(const MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_UnionFind_MR_FaceId * MR_MeshComponents_getUnionFindStructureFacesPerEdge(const MR_MeshPart *meshPart, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API void MR_MeshComponents_LargeByAreaComponentsSettings_Set_minArea(MR_MeshComponents_LargeByAreaComponentsSettings *_this, float value)
MRC_API MR_VertBitSet * MR_MeshComponents_getComponentVerts(const MR_Mesh *mesh, MR_VertId id, const MR_VertBitSet *region)
MRC_API void MR_MeshComponents_LargeByAreaComponentsSettings_Destroy(const MR_MeshComponents_LargeByAreaComponentsSettings *_this)
Destroys a heap-allocated instance of MR_MeshComponents_LargeByAreaComponentsSettings....
MRC_API float * MR_MeshComponents_ExpandToComponentsParams_GetMutable_coverRatio(MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_FaceBitSet * MR_MeshComponents_getLargeByAreaComponents_4(const MR_MeshPart *meshPart, MR_UnionFind_MR_FaceId *unionFind, float minArea, MR_UndirectedEdgeBitSet *outBdEdgesBetweenLargeComps)
MRC_API MR_FaceBitSet * MR_MeshComponents_getLargestComponent(const MR_MeshPart *meshPart, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd, const float *minArea, int32_t *numSmallerComponents)
MRC_API MR_VertBitSet * MR_MeshComponents_getComponentsVerts(const MR_Mesh *mesh, const MR_VertBitSet *seeds, const MR_VertBitSet *region)
MRC_API void MR_MeshComponents_excludeFullySelectedComponents(const MR_Mesh *mesh, MR_VertBitSet *selection)
MRC_API MR_std_pair_MR_Face2RegionMap_int32_t * MR_MeshComponents_getAllComponentsMap(const MR_MeshPart *meshPart, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API int32_t ** MR_MeshComponents_LargeByAreaComponentsSettings_GetMutable_numSmallerComponents(MR_MeshComponents_LargeByAreaComponentsSettings *_this)
MRC_API MR_MeshComponents_ExpandToComponentsParams * MR_MeshComponents_ExpandToComponentsParams_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MeshComponents_ExpandToComponentsParams *_other)
MRC_API MR_UnionFind_MR_VertId * MR_MeshComponents_getUnionFindStructureVertsEx(const MR_Mesh *mesh, const MR_UndirectedEdgeBitSet *ignoreEdges)
MRC_API const MR_UndirectedEdgeBitSet *const * MR_MeshComponents_LargeByAreaComponentsSettings_Get_isCompBd(const MR_MeshComponents_LargeByAreaComponentsSettings *_this)
MRC_API MR_UnionFind_MR_VertId * MR_MeshComponents_getUnionFindStructureVerts_const_MR_Mesh_ref_const_MR_VertBitSet_ptr(const MR_Mesh *mesh, const MR_VertBitSet *region)
MRC_API MR_UnionFind_MR_VertId * MR_MeshComponents_getUnionFindStructureVerts_const_MR_Mesh_ref_MR_EdgeBitSet(const MR_Mesh *mesh, const MR_EdgeBitSet *edges)
MRC_API MR_MeshComponents_ExpandToComponentsParams * MR_MeshComponents_ExpandToComponentsParams_ConstructFrom(float coverRatio, MR_MeshComponents_FaceIncidence incidence, const MR_UndirectedEdgeBitSet *isCompBd, int32_t *optOutNumComponents, MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb)
struct MR_UnionFind_MR_VertId MR_UnionFind_MR_VertId
Definition MRMeshComponents.h:24
MRC_API void MR_MeshComponents_ExpandToComponentsParams_Destroy(const MR_MeshComponents_ExpandToComponentsParams *_this)
Destroys a heap-allocated instance of MR_MeshComponents_ExpandToComponentsParams. Does nothing if the...
MRC_API MR_UnionFind_MR_VertId * MR_MeshComponents_getUnionFindStructureVertsSeparatedByPath(const MR_Mesh *mesh, const MR_std_vector_MR_EdgePoint *path, MR_VertBitSet *outPathVerts)
gets union-find structure for vertices, separating vertices by given path (either closed or from boun...
MRC_API void MR_MeshComponents_ExpandToComponentsParams_Set_coverRatio(MR_MeshComponents_ExpandToComponentsParams *_this, float value)
struct MR_UnionFind_MR_UndirectedEdgeId MR_UnionFind_MR_UndirectedEdgeId
Definition MRMeshComponents.h:23
MRC_API int32_t * MR_MeshComponents_LargeByAreaComponentsSettings_GetMutable_maxLargeComponents(MR_MeshComponents_LargeByAreaComponentsSettings *_this)
MRC_API MR_UnionFind_MR_UndirectedEdgeId * MR_MeshComponents_getUnionFindStructureUndirectedEdges(const MR_Mesh *mesh, const bool *allPointToRoots)
MRC_API const MR_UndirectedEdgeBitSet ** MR_MeshComponents_ExpandToComponentsParams_GetMutable_isCompBd(MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API const MR_UndirectedEdgeBitSet *const * MR_MeshComponents_ExpandToComponentsParams_Get_isCompBd(const MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_expected_MR_FaceBitSet_std_string * MR_MeshComponents_expandToComponents(const MR_MeshPart *mp, const MR_FaceBitSet *seeds, const MR_MeshComponents_ExpandToComponentsParams *params)
MRC_API bool MR_MeshComponents_hasFullySelectedComponent_MR_Mesh(const MR_Mesh *mesh, const MR_VertBitSet *selection)
MRC_API MR_std_vector_MR_FaceBitSet * MR_MeshComponents_getNLargeByAreaComponents(const MR_MeshPart *meshPart, const MR_MeshComponents_LargeByAreaComponentsSettings *settings)
MRC_API MR_std_vector_MR_FaceBitSet * MR_MeshComponents_getAllComponents_4_MR_Face2RegionMap(MR_Face2RegionMap *componentsMap, int32_t componentsCount, const MR_FaceBitSet *region, int32_t maxComponentCount)
MRC_API MR_MeshComponents_LargeByAreaComponentsSettings * MR_MeshComponents_LargeByAreaComponentsSettings_ConstructFromAnother(const MR_MeshComponents_LargeByAreaComponentsSettings *_other)
MRC_API void MR_MeshComponents_ExpandToComponentsParams_DestroyArray(const MR_MeshComponents_ExpandToComponentsParams *_this)
Destroys a heap-allocated array of MR_MeshComponents_ExpandToComponentsParams. Does nothing if the po...
MR_MeshComponents_FaceIncidence
Face incidence type.
Definition MRMeshComponents.h:42
@ MR_MeshComponents_FaceIncidence_PerVertex
Definition MRMeshComponents.h:46
@ MR_MeshComponents_FaceIncidence_PerEdge
face can have neighbor only via edge
Definition MRMeshComponents.h:44
MRC_API MR_MeshComponents_FaceIncidence * MR_MeshComponents_ExpandToComponentsParams_GetMutable_incidence(MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_MeshComponents_LargeByAreaComponentsSettings * MR_MeshComponents_LargeByAreaComponentsSettings_DefaultConstruct(void)
MRC_API const MR_UndirectedEdgeBitSet ** MR_MeshComponents_LargeByAreaComponentsSettings_GetMutable_isCompBd(MR_MeshComponents_LargeByAreaComponentsSettings *_this)
struct MR_std_vector_MR_VertBitSet MR_std_vector_MR_VertBitSet
Definition MRMeshComponents.h:36
MRC_API MR_MeshComponents_LargeByAreaComponentsSettings * MR_MeshComponents_LargeByAreaComponentsSettings_AssignFromAnother(MR_MeshComponents_LargeByAreaComponentsSettings *_this, const MR_MeshComponents_LargeByAreaComponentsSettings *_other)
MRC_API MR_UnionFind_MR_VertId * MR_MeshComponents_getUnionFindStructureVerts_const_MR_MeshTopology_ref(const MR_MeshTopology *topology, const MR_VertBitSet *region)
MRC_API MR_FaceBitSet * MR_MeshComponents_getComponent(const MR_MeshPart *meshPart, MR_FaceId id, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API const MR_std_function_bool_from_float * MR_MeshComponents_ExpandToComponentsParams_Get_cb(const MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_std_vector_MR_VertBitSet * MR_MeshComponents_getAllComponentsVerts(const MR_Mesh *mesh, const MR_VertBitSet *region)
struct MR_std_pair_MR_Face2RegionMap_int32_t MR_std_pair_MR_Face2RegionMap_int32_t
Definition MRMeshComponents.h:29
MRC_API void MR_MeshComponents_LargeByAreaComponentsSettings_Set_numSmallerComponents(MR_MeshComponents_LargeByAreaComponentsSettings *_this, int32_t *value)
MRC_API const float * MR_MeshComponents_LargeByAreaComponentsSettings_Get_minArea(const MR_MeshComponents_LargeByAreaComponentsSettings *_this)
MRC_API int32_t *const * MR_MeshComponents_LargeByAreaComponentsSettings_Get_numSmallerComponents(const MR_MeshComponents_LargeByAreaComponentsSettings *_this)
MRC_API MR_UnionFind_MR_FaceId * MR_MeshComponents_getUnionFindStructureFaces(const MR_MeshPart *meshPart, const MR_MeshComponents_FaceIncidence *incidence, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API void MR_MeshComponents_LargeByAreaComponentsSettings_Set_isCompBd(MR_MeshComponents_LargeByAreaComponentsSettings *_this, const MR_UndirectedEdgeBitSet *value)
MRC_API MR_std_function_bool_from_float * MR_MeshComponents_ExpandToComponentsParams_GetMutable_cb(MR_MeshComponents_ExpandToComponentsParams *_this)
MRC_API MR_MeshComponents_ExpandToComponentsParams * MR_MeshComponents_ExpandToComponentsParams_AssignFromAnother(MR_MeshComponents_ExpandToComponentsParams *_this, MR_PassBy _other_pass_by, MR_MeshComponents_ExpandToComponentsParams *_other)
MRC_API MR_FaceBitSet * MR_MeshComponents_getLargeByAreaComponents_3(const MR_MeshPart *meshPart, float minArea, const MR_UndirectedEdgeBitSet *isCompBd)
MRC_API MR_VertBitSet * MR_MeshComponents_getLargestComponentVerts(const MR_Mesh *mesh, const MR_VertBitSet *region)
struct MR_std_vector_MR_EdgeBitSet MR_std_vector_MR_EdgeBitSet
Definition MRMeshComponents.h:32
MRC_API MR_VertBitSet * MR_MeshComponents_getLargeComponentVerts(const MR_Mesh *mesh, int32_t minVerts, const MR_VertBitSet *region)
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
const VoxelBitSet & selection() const
Definition MRId.h:46
Definition MRId.h:56