Public Member Functions | |
ObjBitSet | __and__ (self, ObjBitSet b) |
ObjBitSet | __iand__ (self, ObjBitSet b) |
None | __init__ (self, BitSet src) |
None | __init__ (self, BitSet src) |
None | __init__ (self) |
None | __init__ (self, ObjBitSet arg0) |
ObjBitSet | __ior__ (self, ObjBitSet b) |
ObjBitSet | __isub__ (self, ObjBitSet b) |
typing.Iterator | __iter__ (self) |
ObjBitSet | __ixor__ (self, ObjBitSet b) |
ObjBitSet | __or__ (self, ObjBitSet b) |
ObjBitSet | __sub__ (self, ObjBitSet b) |
ObjBitSet | __xor__ (self, ObjBitSet b) |
None | autoResizeSet (self, ObjId pos, int len, bool val=True) |
None | autoResizeSet (self, ObjId pos, bool val=True) |
bool | autoResizeTestSet (self, ObjId pos, bool val=True) |
ObjId | backId (self) |
ObjId | endId (self) |
ObjId | find_first (self) |
ObjId | find_last (self) |
ObjId | find_next (self, ObjId pos) |
ObjBitSet | flip (self, ObjId n, int len) |
ObjBitSet | flip (self, ObjId n) |
ObjBitSet | flip (self) |
ObjBitSet | getMapping (self, ObjMap map) |
ObjBitSet | getMapping (self, BMap_ObjId_ObjId map) |
ObjBitSet | getMapping (self, phmap_flat_hash_map_Id_ObjTag_Id_ObjTag map) |
ObjBitSet | getMapping (self, ObjMap map, int resSize) |
ObjBitSet | getMapping (self, phmap_flat_hash_map_Id_ObjTag_Id_ObjTag map, int resSize) |
ObjId | nthSetBit (self, int n) |
bool | operator (self, ObjId pos) |
ObjBitSet | reset (self, ObjId n, int len) |
ObjBitSet | reset (self, ObjId n) |
ObjBitSet | reset (self) |
ObjBitSet | set (self, ObjId n, int len, bool val) |
ObjBitSet | set (self, ObjId n, bool val=True) |
ObjBitSet | set (self) |
ObjBitSet | subtract (self, ObjBitSet b, int bShiftInBlocks) |
bool | test (self, ObjId n) |
bool | test_set (self, ObjId n, bool val=True) |
Public Member Functions inherited from meshlib.mrmeshpy.BitSet | |
bool | __eq__ (self, BitSet b) |
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 | |
ObjId | beginId () |
Generated from: MR::ObjBitSet Aliases: AABBTreeBase_ObjTreeTraits.LeafBitSet, AABBTreeBase_ObjTreeTraits.LeafBitSet, TaggedBitSet_ObjTag, TaggedBitSet_AABBTreeBase_ObjTreeTraits_LeafTag container of bits representing specific indices (faces, verts or edges)
None meshlib.mrmeshpy.ObjBitSet.__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.ObjBitSet.__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.ObjBitSet.__init__ | ( | self | ) |
Implicit default constructor.
Reimplemented from meshlib.mrmeshpy.BitSet.
None meshlib.mrmeshpy.ObjBitSet.__init__ | ( | self, | |
ObjBitSet | arg0 ) |
Implicit copy constructor.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
typing.Iterator meshlib.mrmeshpy.ObjBitSet.__iter__ | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
None meshlib.mrmeshpy.ObjBitSet.autoResizeSet | ( | self, | |
ObjId | 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.ObjBitSet.autoResizeSet | ( | self, | |
ObjId | 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.ObjBitSet.autoResizeTestSet | ( | self, | |
ObjId | pos, | ||
bool | val = True ) |
same as \\ref autoResizeSet and returns previous value of pos-bit
Reimplemented from meshlib.mrmeshpy.BitSet.
ObjId meshlib.mrmeshpy.ObjBitSet.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.
ObjId meshlib.mrmeshpy.ObjBitSet.endId | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
ObjId meshlib.mrmeshpy.ObjBitSet.find_first | ( | self | ) |
ObjId meshlib.mrmeshpy.ObjBitSet.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.
ObjBitSet meshlib.mrmeshpy.ObjBitSet.flip | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
ObjBitSet meshlib.mrmeshpy.ObjBitSet.getMapping | ( | self, | |
BMap_ObjId_ObjId | map ) |
ObjBitSet meshlib.mrmeshpy.ObjBitSet.getMapping | ( | self, | |
phmap_flat_hash_map_Id_ObjTag_Id_ObjTag | map ) |
ObjBitSet meshlib.mrmeshpy.ObjBitSet.getMapping | ( | self, | |
phmap_flat_hash_map_Id_ObjTag_Id_ObjTag | map, | ||
int | resSize ) |
ObjId meshlib.mrmeshpy.ObjBitSet.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.ObjBitSet.operator | ( | self, | |
ObjId | pos ) |
ObjBitSet meshlib.mrmeshpy.ObjBitSet.reset | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
ObjBitSet meshlib.mrmeshpy.ObjBitSet.set | ( | self | ) |
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
Reimplemented from meshlib.mrmeshpy.BitSet.
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.ObjBitSet.test | ( | self, | |
ObjId | n ) |
all bits after size() we silently consider as not-set
Reimplemented from meshlib.mrmeshpy.BitSet.
bool meshlib.mrmeshpy.ObjBitSet.test_set | ( | self, | |
ObjId | n, | ||
bool | val = True ) |
Reimplemented from meshlib.mrmeshpy.BitSet.