19 if ( region && !region->test( i ) )
37 if ( region && !region->test( i ) )
#define MR_TIMER
Definition MRTimer.h:53
container of bits representing specific indices (faces, verts or edges)
Definition MRMesh/MRBitSet.h:132
TypedBitSet & set(IndexType n, size_type len, bool val)
Definition MRMesh/MRBitSet.h:144
Union-find data structure for representing disjoin sets of elements with few very quick operations: 1...
Definition MRUnionFind.h:20
I find(I a)
finds the root of the set containing given element with optimizing data structure updates
Definition MRUnionFind.h:83
bool isRoot(I a) const
returns true if given element is the root of some set
Definition MRUnionFind.h:77
auto size() const
returns the number of elements in union-find
Definition MRUnionFind.h:31
I findUpdateRange(I a, I begin, I end)
finds the root of the set containing given element with optimizing data structure in the range [begin...
Definition MRUnionFind.h:86
auto BitSetParallelForAll(const BS &bs, F &&f, Cb &&... cb)
Definition MRBitSetParallelFor.h:170
auto BitSetParallelForAllRanged(const BS &bs, F &&... f)
Definition MRBitSetParallelFor.h:148
Definition MRCameraOrientationPlugin.h:8
TypedBitSet< I > findComponentBitSet(UnionFind< I > &uf, I a, const TypedBitSet< I > *region=nullptr)
Definition MRUnionFindParallel.h:30
TypedBitSet< I > findRootsBitSet(const UnionFind< I > &uf, const TypedBitSet< I > *region=nullptr)
Definition MRUnionFindParallel.h:13