MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.GraphVertBitSet Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.GraphVertBitSet:

Public Member Functions

GraphVertBitSet __and__ (self, GraphVertBitSet b)
 
GraphVertBitSet __iand__ (self, GraphVertBitSet b)
 
None __init__ (self, BitSet src)
 
None __init__ (self, BitSet src)
 
None __init__ (self)
 
None __init__ (self, GraphVertBitSet arg0)
 
GraphVertBitSet __ior__ (self, GraphVertBitSet b)
 
GraphVertBitSet __isub__ (self, GraphVertBitSet b)
 
typing.Iterator __iter__ (self)
 
GraphVertBitSet __ixor__ (self, GraphVertBitSet b)
 
GraphVertBitSet __or__ (self, GraphVertBitSet b)
 
GraphVertBitSet __sub__ (self, GraphVertBitSet b)
 
GraphVertBitSet __xor__ (self, GraphVertBitSet b)
 
None autoResizeSet (self, GraphVertId pos, int len, bool val=True)
 
None autoResizeSet (self, GraphVertId pos, bool val=True)
 
bool autoResizeTestSet (self, GraphVertId pos, bool val=True)
 
GraphVertId backId (self)
 
GraphVertId endId (self)
 
GraphVertId find_first (self)
 
GraphVertId find_last (self)
 
GraphVertId find_next (self, GraphVertId pos)
 
GraphVertBitSet flip (self, GraphVertId n, int len)
 
GraphVertBitSet flip (self, GraphVertId n)
 
GraphVertBitSet flip (self)
 
GraphVertBitSet getMapping (self, Vector_GraphVertId_GraphVertId map)
 
GraphVertBitSet getMapping (self, BMap_GraphVertId_GraphVertId map)
 
GraphVertBitSet getMapping (self, phmap_flat_hash_map_Id_GraphVertTag_Id_GraphVertTag map)
 
GraphVertBitSet getMapping (self, Vector_GraphVertId_GraphVertId map, int resSize)
 
GraphVertBitSet getMapping (self, phmap_flat_hash_map_Id_GraphVertTag_Id_GraphVertTag map, int resSize)
 
GraphVertId nthSetBit (self, int n)
 
bool operator (self, GraphVertId pos)
 
GraphVertBitSet reset (self, GraphVertId n, int len)
 
GraphVertBitSet reset (self, GraphVertId n)
 
GraphVertBitSet reset (self)
 
GraphVertBitSet set (self, GraphVertId n, int len, bool val)
 
GraphVertBitSet set (self, GraphVertId n, bool val=True)
 
GraphVertBitSet set (self)
 
GraphVertBitSet subtract (self, GraphVertBitSet b, int bShiftInBlocks)
 
bool test (self, GraphVertId n)
 
bool test_set (self, GraphVertId 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

GraphVertId beginId ()
 

Detailed Description

Generated from:  MR::GraphVertBitSet
Aliases:  Graph.VertBitSet, TaggedBitSet_GraphVertTag, Graph.VertBitSet

container of bits representing specific indices (faces, verts or edges)

Constructor & Destructor Documentation

◆ __init__() [1/4]

None meshlib.mrmeshpy.GraphVertBitSet.__init__ ( self,
BitSet src )
copies all bits from another BitSet (or a descending class, e.g. TaggedBitSet<U>)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [2/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [3/4]

None meshlib.mrmeshpy.GraphVertBitSet.__init__ ( self)
Implicit default constructor.

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [4/4]

None meshlib.mrmeshpy.GraphVertBitSet.__init__ ( self,
GraphVertBitSet arg0 )
Implicit copy constructor.

Reimplemented from meshlib.mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__and__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iand__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__iand__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ior__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__ior__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __isub__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__isub__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.GraphVertBitSet.__iter__ ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ixor__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__ixor__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __or__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__or__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __sub__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__sub__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __xor__()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.__xor__ ( self,
GraphVertBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.GraphVertBitSet.autoResizeSet ( self,
GraphVertId 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.

◆ autoResizeSet() [2/2]

None meshlib.mrmeshpy.GraphVertBitSet.autoResizeSet ( self,
GraphVertId 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.

◆ autoResizeTestSet()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ backId()

GraphVertId meshlib.mrmeshpy.GraphVertBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ beginId()

GraphVertId meshlib.mrmeshpy.GraphVertBitSet.beginId ( )
static
[beginId(), endId()) is the range of all bits in the set

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ endId()

GraphVertId meshlib.mrmeshpy.GraphVertBitSet.endId ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_first()

GraphVertId meshlib.mrmeshpy.GraphVertBitSet.find_first ( self)

◆ find_last()

GraphVertId meshlib.mrmeshpy.GraphVertBitSet.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.

◆ find_next()

GraphVertId meshlib.mrmeshpy.GraphVertBitSet.find_next ( self,
GraphVertId pos )

◆ flip() [1/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.flip ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [2/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.flip ( self,
GraphVertId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [3/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.flip ( self,
GraphVertId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ getMapping() [1/5]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.getMapping ( self,
BMap_GraphVertId_GraphVertId map )

◆ getMapping() [2/5]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.getMapping ( self,
phmap_flat_hash_map_Id_GraphVertTag_Id_GraphVertTag map )

◆ getMapping() [3/5]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.getMapping ( self,
phmap_flat_hash_map_Id_GraphVertTag_Id_GraphVertTag map,
int resSize )

◆ getMapping() [4/5]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.getMapping ( self,
Vector_GraphVertId_GraphVertId map )

◆ getMapping() [5/5]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.getMapping ( self,
Vector_GraphVertId_GraphVertId map,
int resSize )

◆ nthSetBit()

GraphVertId meshlib.mrmeshpy.GraphVertBitSet.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.

◆ operator()

bool meshlib.mrmeshpy.GraphVertBitSet.operator ( self,
GraphVertId pos )

◆ reset() [1/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.reset ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [2/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.reset ( self,
GraphVertId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [3/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.reset ( self,
GraphVertId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [1/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.set ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [2/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.set ( self,
GraphVertId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [3/3]

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.set ( self,
GraphVertId n,
int len,
bool val )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ subtract()

GraphVertBitSet meshlib.mrmeshpy.GraphVertBitSet.subtract ( self,
GraphVertBitSet 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.

◆ test()

bool meshlib.mrmeshpy.GraphVertBitSet.test ( self,
GraphVertId n )
all bits after size() we silently consider as not-set

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test_set()

bool meshlib.mrmeshpy.GraphVertBitSet.test_set ( self,
GraphVertId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.


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