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

Public Member Functions

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

GraphEdgeId beginId ()
 

Detailed Description

Generated from:  MR::GraphEdgeBitSet
Aliases:  TaggedBitSet_GraphEdgeTag, Graph.EdgeBitSet, Graph.EdgeBitSet

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

None meshlib.mrmeshpy.GraphEdgeBitSet.__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.GraphEdgeBitSet.__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.GraphEdgeBitSet.__init__ ( self)
Implicit default constructor.

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [4/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iand__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ior__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __isub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iter__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ixor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __or__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __sub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __xor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

None meshlib.mrmeshpy.GraphEdgeBitSet.autoResizeSet ( self,
GraphEdgeId 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.GraphEdgeBitSet.autoResizeSet ( self,
GraphEdgeId 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.GraphEdgeBitSet.autoResizeTestSet ( self,
GraphEdgeId pos,
bool val = True )
same as \\ref autoResizeSet and returns previous value of pos-bit

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ backId()

GraphEdgeId meshlib.mrmeshpy.GraphEdgeBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ beginId()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ endId()

GraphEdgeId meshlib.mrmeshpy.GraphEdgeBitSet.endId ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_first()

GraphEdgeId meshlib.mrmeshpy.GraphEdgeBitSet.find_first ( self)

◆ find_last()

GraphEdgeId meshlib.mrmeshpy.GraphEdgeBitSet.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()

GraphEdgeId meshlib.mrmeshpy.GraphEdgeBitSet.find_next ( self,
GraphEdgeId pos )

◆ flip() [1/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.flip ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [2/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.flip ( self,
GraphEdgeId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [3/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.flip ( self,
GraphEdgeId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ getMapping() [1/5]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.getMapping ( self,
BMap_GraphEdgeId_GraphEdgeId map )

◆ getMapping() [2/5]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_GraphEdgeTag_Id_GraphEdgeTag map )

◆ getMapping() [3/5]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_GraphEdgeTag_Id_GraphEdgeTag map,
int resSize )

◆ getMapping() [4/5]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.getMapping ( self,
Vector_GraphEdgeId_GraphEdgeId map )

◆ getMapping() [5/5]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.getMapping ( self,
Vector_GraphEdgeId_GraphEdgeId map,
int resSize )

◆ nthSetBit()

GraphEdgeId meshlib.mrmeshpy.GraphEdgeBitSet.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.GraphEdgeBitSet.operator ( self,
GraphEdgeId pos )

◆ reset() [1/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.reset ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [2/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.reset ( self,
GraphEdgeId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [3/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.reset ( self,
GraphEdgeId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [1/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.set ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [2/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.set ( self,
GraphEdgeId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [3/3]

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.set ( self,
GraphEdgeId n,
int len,
bool val )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ subtract()

GraphEdgeBitSet meshlib.mrmeshpy.GraphEdgeBitSet.subtract ( self,
GraphEdgeBitSet 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.GraphEdgeBitSet.test ( self,
GraphEdgeId n )
all bits after size() we silently consider as not-set

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test_set()

bool meshlib.mrmeshpy.GraphEdgeBitSet.test_set ( self,
GraphEdgeId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.


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