MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.VertBitSet:

Public Member Functions

VertBitSet __iand__ (self, ConstVertBitSet b)
None __init__ (self)
None __init__ (self, int numBits, bool fillValue=False)
None __init__ (self, ConstBitSet src)
None __init__ (self, BitSet src)
None __init__ (self, ConstVertBitSet arg0)
VertBitSet __ior__ (self, ConstVertBitSet b)
VertBitSet __isub__ (self, ConstVertBitSet b)
VertBitSet __ixor__ (self, ConstVertBitSet b)
VertBitSet assign (self, ConstVertBitSet other)
bool atomicTestSet (self, ConstVertId n)
None autoResizeSet (self, ConstVertId pos, int len, bool val=True)
None autoResizeSet (self, ConstVertId pos, bool val=True)
bool autoResizeTestSet (self, ConstVertId pos, bool val=True)
VertBitSet flip (self, ConstVertId n, int len)
VertBitSet flip (self, ConstVertId n)
VertBitSet flip (self)
VertBitSet reset (self, ConstVertId n, int len)
VertBitSet reset (self, ConstVertId n)
VertBitSet reset (self)
VertBitSet set (self, ConstVertId n, int len, bool val)
VertBitSet set (self, ConstVertId n, bool val)
VertBitSet set (self, ConstVertId n)
VertBitSet set (self)
VertBitSet subtract (self, ConstVertBitSet b, int bShiftInBlocks)
bool test_set (self, ConstVertId n, bool val=True)
Public Member Functions inherited from mrmeshpy.ConstVertBitSet
VertBitSet __and__ (self, ConstVertBitSet b)
bool __eq__ (self, ConstVertBitSet b)
 __init__ (self, *args, **kwargs)
typing.Iterator[VertId] __iter__ (self)
bool __ne__ (self, ConstVertBitSet b)
VertBitSet __or__ (self, ConstVertBitSet b)
str __repr__ (self)
VertBitSet __sub__ (self, ConstVertBitSet b)
VertBitSet __xor__ (self, ConstVertBitSet b)
VertId backId (self)
VertId endId (self)
VertId find_first (self)
VertId find_first_not_set (self)
VertId find_last (self)
VertId find_last_not_set (self)
VertId find_next (self, ConstVertId pos)
VertId find_next_not_set (self, ConstVertId pos)
VertBitSet getMapping (self, ConstVertMap map)
VertBitSet getMapping (self, ConstVertBMap map)
VertBitSet getMapping (self, Const_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag map)
VertBitSet getMapping (self, ConstVertMap map, int resSize)
VertBitSet getMapping (self, Const_phmap_flat_hash_map_Id_VertTag_Id_VertTag_phmap_Hash_Id_VertTag_phmap_EqualTo_Id_VertTag_Allocator_std_pair_Id_VertTag_const_Id_VertTag map, int resSize)
bool intersects (self, ConstVertBitSet a)
bool is_subset_of (self, ConstVertBitSet a)
VertId nthSetBit (self, int n)
bool test (self, ConstVertId n)
Public Member Functions inherited from mrmeshpy.ConstBitSet
BitSet __and__ (self, ConstBitSet b)
bool __eq__ (self, ConstBitSet b)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
bool __ne__ (self, ConstBitSet b)
BitSet __or__ (self, ConstBitSet b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any bs)
BitSet __sub__ (self, ConstBitSet b)
BitSet __xor__ (self, ConstBitSet b)
bool all (self)
bool any (self)
Const_std_vector_unsigned_long_Allocator_unsigned_long bits (self)
int capacity (self)
int count (self)
BitSet.Counts countBitsAndBlocks (self, int maxBits='~MR::BitSet::size_type{}')
bool empty (self)
int heapBytes (self)
bool none (self)
int num_blocks (self)
int size (self)
bool uncheckedTest (self, int n)
Public Member Functions inherited from mrmeshpy.BitSet
BitSet __iand__ (self, ConstBitSet b)
None __init__ (self)
None __init__ (self, int numBits, bool fillValue=False)
None __init__ (self, ConstBitSet arg0)
BitSet __ior__ (self, ConstBitSet b)
BitSet __isub__ (self, ConstBitSet b)
BitSet __ixor__ (self, ConstBitSet b)
typing.Any __rrshift__ (self, typing.Any bs)
None clear (self)
None pop_back (self)
None push_back (self, bool val)
None reserve (self, int numBits)
None resize (self, int numBits, bool fillValue=False)
None resizeWithReserve (self, int newSize)
None reverse (self)
None shrink_to_fit (self)
bool uncheckedTestSet (self, int n, bool val=True)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstVertBitSet
VertId beginId ()
Static Public Member Functions inherited from mrmeshpy.ConstBitSet
BitSet fromBlocks (std_vector_unsigned_long_Allocator_unsigned_long blocks)
Static Public Member Functions inherited from mrmeshpy.BitSet
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBitSet
typing bits_per_block = 64
typing npos = 18446744073709551615
 Blocks = std_vector_unsigned_long_Allocator_unsigned_long
 ConstBlocks = Const_std_vector_unsigned_long_Allocator_unsigned_long

Detailed Description

Generated from:  MR::VertBitSet
Aliases:  ColorMapAggregator_VertTag_ElementBitSet, Vector_VertBitSet_ObjId.const_pointer, Vector_VertBitSet_ObjId.const_reference, Vector_VertBitSet_ObjId.pointer, Vector_VertBitSet_ObjId.reference, Vector_VertBitSet_ObjId.value_type

Vector<bool, I> like container (random-access, I - index type, bool - value type)
with all bits after size() considered off during testing

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.VertBitSet.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.VertBitSet.__init__ ( self)

◆ __init__() [3/6]

None mrmeshpy.VertBitSet.__init__ ( self,
int numBits,
bool fillValue = False )
creates bitset of given size filled with given value

◆ __init__() [4/6]

None mrmeshpy.VertBitSet.__init__ ( self,
ConstBitSet src )
copies all bits from another BitSet (or a descending class, e.g. `TypedBitSet<U>`)

◆ __init__() [5/6]

None mrmeshpy.VertBitSet.__init__ ( self,
BitSet src )
moves all bits from another BitSet (or a descending class, e.g. `TypedBitSet<U>`)

◆ __init__() [6/6]

None mrmeshpy.VertBitSet.__init__ ( self,
ConstVertBitSet arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __iand__()

VertBitSet mrmeshpy.VertBitSet.__iand__ ( self,
ConstVertBitSet b )

◆ __ior__()

VertBitSet mrmeshpy.VertBitSet.__ior__ ( self,
ConstVertBitSet b )

◆ __isub__()

VertBitSet mrmeshpy.VertBitSet.__isub__ ( self,
ConstVertBitSet b )

◆ __ixor__()

VertBitSet mrmeshpy.VertBitSet.__ixor__ ( self,
ConstVertBitSet b )

◆ assign()

VertBitSet mrmeshpy.VertBitSet.assign ( self,
ConstVertBitSet other )

Reimplemented from mrmeshpy.BitSet.

◆ atomicTestSet()

bool mrmeshpy.VertBitSet.atomicTestSet ( self,
ConstVertId n )
sets n-th bit and returns its previous value; it is safe to call simultaneously from several threads for any bits of the same bitset,
provided no other modification of the bitset (including resizing) is performed in parallel

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

None mrmeshpy.VertBitSet.autoResizeSet ( self,
ConstVertId pos,
bool len = True )
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [2/2]

None mrmeshpy.VertBitSet.autoResizeSet ( self,
ConstVertId pos,
int len,
bool val = True )
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeTestSet()

bool mrmeshpy.VertBitSet.autoResizeTestSet ( self,
ConstVertId pos,
bool val = True )
same as \\ref autoResizeSet and returns previous value of pos-bit

Reimplemented from mrmeshpy.BitSet.

◆ flip() [1/3]

VertBitSet mrmeshpy.VertBitSet.flip ( self)

Reimplemented from mrmeshpy.BitSet.

◆ flip() [2/3]

VertBitSet mrmeshpy.VertBitSet.flip ( self,
ConstVertId n )

Reimplemented from mrmeshpy.BitSet.

◆ flip() [3/3]

VertBitSet mrmeshpy.VertBitSet.flip ( self,
ConstVertId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ reset() [1/3]

VertBitSet mrmeshpy.VertBitSet.reset ( self)

Reimplemented from mrmeshpy.BitSet.

◆ reset() [2/3]

VertBitSet mrmeshpy.VertBitSet.reset ( self,
ConstVertId n )

Reimplemented from mrmeshpy.BitSet.

◆ reset() [3/3]

VertBitSet mrmeshpy.VertBitSet.reset ( self,
ConstVertId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ set() [1/4]

VertBitSet mrmeshpy.VertBitSet.set ( self)

Reimplemented from mrmeshpy.BitSet.

◆ set() [2/4]

VertBitSet mrmeshpy.VertBitSet.set ( self,
ConstVertId n )

Reimplemented from mrmeshpy.BitSet.

◆ set() [3/4]

VertBitSet mrmeshpy.VertBitSet.set ( self,
ConstVertId n,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ set() [4/4]

VertBitSet mrmeshpy.VertBitSet.set ( self,
ConstVertId n,
int len,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ subtract()

VertBitSet mrmeshpy.VertBitSet.subtract ( self,
ConstVertBitSet b,
int bShiftInBlocks )
subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block

Reimplemented from mrmeshpy.BitSet.

◆ test_set()

bool mrmeshpy.VertBitSet.test_set ( self,
ConstVertId n,
bool val = True )

Reimplemented from mrmeshpy.BitSet.


The documentation for this class was generated from the following file: