Public Member Functions | |
VertBitSet | __and__ (self, VertBitSet b) |
bool | __eq__ (self, VertBitSet b) |
VertBitSet | __iand__ (self, VertBitSet b) |
None | __init__ (self, BitSet src) |
None | __init__ (self, BitSet src) |
None | __init__ (self) |
None | __init__ (self, VertBitSet arg0) |
VertBitSet | __ior__ (self, VertBitSet b) |
VertBitSet | __isub__ (self, VertBitSet b) |
typing.Iterator | __iter__ (self) |
VertBitSet | __ixor__ (self, VertBitSet b) |
VertBitSet | __or__ (self, VertBitSet b) |
VertBitSet | __sub__ (self, VertBitSet b) |
VertBitSet | __xor__ (self, VertBitSet b) |
None | autoResizeSet (self, VertId pos, int len, bool val=True) |
None | autoResizeSet (self, VertId pos, bool val=True) |
bool | autoResizeTestSet (self, VertId pos, bool val=True) |
VertId | backId (self) |
VertId | endId (self) |
VertId | find_first (self) |
VertId | find_last (self) |
VertId | find_next (self, VertId pos) |
VertBitSet | flip (self, VertId n, int len) |
VertBitSet | flip (self, VertId n) |
VertBitSet | flip (self) |
VertBitSet | getMapping (self, VertMap map) |
VertBitSet | getMapping (self, VertBMap map) |
VertBitSet | getMapping (self, phmap_flat_hash_map_Id_VertTag_Id_VertTag map) |
VertBitSet | getMapping (self, VertMap map, int resSize) |
VertBitSet | getMapping (self, phmap_flat_hash_map_Id_VertTag_Id_VertTag map, int resSize) |
VertId | nthSetBit (self, int n) |
bool | operator (self, VertId pos) |
VertBitSet | reset (self, VertId n, int len) |
VertBitSet | reset (self, VertId n) |
VertBitSet | reset (self) |
VertBitSet | set (self, VertId n, int len, bool val) |
VertBitSet | set (self, VertId n, bool val=True) |
VertBitSet | set (self) |
VertBitSet | subtract (self, VertBitSet b, int bShiftInBlocks) |
bool | test (self, VertId n) |
bool | test_set (self, VertId n, bool val=True) |
Public Member Functions inherited from meshlib.mrmeshpy.BitSet | |
None | clear (self) |
int | count (self) |
int | heapBytes (self) |
None | pop_back (self) |
None | push_back (self, bool bit) |
None | resize (self, int num_bits, bool value=False) |
None | resizeWithReserve (self, int newSize) |
int | size (self) |
Static Public Member Functions | |
VertId | beginId () |
Generated from: MR::VertBitSet Aliases: ColorMapAggregator_VertTag_ElementBitSet, TaggedBitSet_VertTag, std_vector_VertBitSet_const_reference, std_vector_VertBitSet_reference, Vector_VertBitSet_ObjId.reference, std_vector_VertBitSet_value_type, Vector_VertBitSet_ObjId.const_reference, TaggedBitSet_VertTag, ColorMapAggregator_VertTag_ElementBitSet, Vector_VertBitSet_ObjId.value_type, TaggedBitSet_VertTag container of bits representing specific indices (faces, verts or edges)
None meshlib.mrmeshpy.VertBitSet.__init__ | ( | self, | |
BitSet | src ) |
copies all bits from another BitSet (or a descending class, e.g. TaggedBitSet<U>)
Reimplemented from meshlib.mrmeshpy.BitSet.
None meshlib.mrmeshpy.VertBitSet.__init__ | ( | self, | |
BitSet | src ) |
moves all bits from another BitSet (or a descending class, e.g. TaggedBitSet<U>)
Reimplemented from meshlib.mrmeshpy.BitSet.
None meshlib.mrmeshpy.VertBitSet.__init__ | ( | self | ) |
Implicit default constructor.
Reimplemented from meshlib.mrmeshpy.BitSet.
None meshlib.mrmeshpy.VertBitSet.__init__ | ( | self, | |
VertBitSet | arg0 ) |
Implicit copy constructor.
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__and__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
bool meshlib.mrmeshpy.VertBitSet.__eq__ | ( | self, | |
VertBitSet | b ) |
compare that two bit sets have the same set bits (they can be equal even if sizes are distinct but last bits are off)
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__iand__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__ior__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__isub__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
typing.Iterator meshlib.mrmeshpy.VertBitSet.__iter__ | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__ixor__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__or__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__sub__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.__xor__ | ( | self, | |
VertBitSet | b ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
None meshlib.mrmeshpy.VertBitSet.autoResizeSet | ( | self, | |
VertId | pos, | ||
bool | len = True ) |
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements
Reimplemented from meshlib.mrmeshpy.BitSet.
None meshlib.mrmeshpy.VertBitSet.autoResizeSet | ( | self, | |
VertId | 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 meshlib.mrmeshpy.BitSet.
bool meshlib.mrmeshpy.VertBitSet.autoResizeTestSet | ( | self, | |
VertId | pos, | ||
bool | val = True ) |
same as \\ref autoResizeSet and returns previous value of pos-bit
Reimplemented from meshlib.mrmeshpy.BitSet.
VertId meshlib.mrmeshpy.VertBitSet.backId | ( | self | ) |
returns the identifier of the back() element
Reimplemented from meshlib.mrmeshpy.BitSet.
|
static |
[beginId(), endId()) is the range of all bits in the set
Reimplemented from meshlib.mrmeshpy.BitSet.
VertId meshlib.mrmeshpy.VertBitSet.endId | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertId meshlib.mrmeshpy.VertBitSet.find_first | ( | self | ) |
VertId meshlib.mrmeshpy.VertBitSet.find_last | ( | self | ) |
return the highest index i such as bit i is set, or npos if *this has no on bits.
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.flip | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.flip | ( | self, | |
VertId | n ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.flip | ( | self, | |
VertId | n, | ||
int | len ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.getMapping | ( | self, | |
phmap_flat_hash_map_Id_VertTag_Id_VertTag | map ) |
VertBitSet meshlib.mrmeshpy.VertBitSet.getMapping | ( | self, | |
phmap_flat_hash_map_Id_VertTag_Id_VertTag | map, | ||
int | resSize ) |
VertBitSet meshlib.mrmeshpy.VertBitSet.getMapping | ( | self, | |
VertBMap | map ) |
VertBitSet meshlib.mrmeshpy.VertBitSet.getMapping | ( | self, | |
VertMap | map ) |
VertBitSet meshlib.mrmeshpy.VertBitSet.getMapping | ( | self, | |
VertMap | map, | ||
int | resSize ) |
VertId meshlib.mrmeshpy.VertBitSet.nthSetBit | ( | self, | |
int | n ) |
returns the location of nth set bit (where the first bit corresponds to n=0) or IndexType(npos) if there are less bit set
Reimplemented from meshlib.mrmeshpy.BitSet.
bool meshlib.mrmeshpy.VertBitSet.operator | ( | self, | |
VertId | pos ) |
VertBitSet meshlib.mrmeshpy.VertBitSet.reset | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.reset | ( | self, | |
VertId | n ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.reset | ( | self, | |
VertId | n, | ||
int | len ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.set | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.set | ( | self, | |
VertId | n, | ||
bool | val = True ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.set | ( | self, | |
VertId | n, | ||
int | len, | ||
bool | val ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
VertBitSet meshlib.mrmeshpy.VertBitSet.subtract | ( | self, | |
VertBitSet | b, | ||
int | bShiftInBlocks ) |
subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block
Reimplemented from meshlib.mrmeshpy.BitSet.
bool meshlib.mrmeshpy.VertBitSet.test | ( | self, | |
VertId | n ) |
all bits after size() we silently consider as not-set
Reimplemented from meshlib.mrmeshpy.BitSet.
bool meshlib.mrmeshpy.VertBitSet.test_set | ( | self, | |
VertId | n, | ||
bool | val = True ) |
Reimplemented from meshlib.mrmeshpy.BitSet.