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

Public Member Functions

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

FaceId beginId ()
 

Detailed Description

Generated from:  MR::FaceBitSet
Aliases:  Vector_FaceBitSet_GraphVertId.reference, std_vector_FaceBitSet_value_type, TaggedBitSet_FaceTag, TaggedBitSet_AABBTreeBase_AABBTreeTraits_FaceTag_Box3f_LeafTag, AABBTreeBase_AABBTreeTraits_FaceTag_Box3f.LeafBitSet, std_vector_FaceBitSet_reference, AABBTreeBase_AABBTreeTraits_FaceTag_Box3f.LeafBitSet, TaggedBitSet_FaceTag, std_vector_FaceBitSet_const_reference, TaggedBitSet_FaceTag, ColorMapAggregator_FaceTag_ElementBitSet, Vector_FaceBitSet_GraphVertId.const_reference, Vector_FaceBitSet_GraphVertId.value_type, ColorMapAggregator_FaceTag_ElementBitSet

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [4/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __eq__()

bool meshlib.mrmeshpy.FaceBitSet.__eq__ ( self,
FaceBitSet 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.

◆ __iand__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ior__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __isub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iter__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ixor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __or__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __sub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __xor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ backId()

FaceId meshlib.mrmeshpy.FaceBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ beginId()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ endId()

FaceId meshlib.mrmeshpy.FaceBitSet.endId ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_first()

FaceId meshlib.mrmeshpy.FaceBitSet.find_first ( self)

◆ find_last()

FaceId meshlib.mrmeshpy.FaceBitSet.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()

FaceId meshlib.mrmeshpy.FaceBitSet.find_next ( self,
FaceId pos )

◆ flip() [1/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.flip ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [2/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.flip ( self,
FaceId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [3/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.flip ( self,
FaceId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ getMapping() [1/5]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.getMapping ( self,
FaceBMap map )

◆ getMapping() [2/5]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.getMapping ( self,
FaceMap map )

◆ getMapping() [3/5]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.getMapping ( self,
FaceMap map,
int resSize )

◆ getMapping() [4/5]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.getMapping ( self,
phmap_flat_hash_map_Id_FaceTag_Id_FaceTag map )

◆ getMapping() [5/5]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.getMapping ( self,
phmap_flat_hash_map_Id_FaceTag_Id_FaceTag map,
int resSize )

◆ nthSetBit()

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

◆ reset() [1/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.reset ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [2/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.reset ( self,
FaceId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [3/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.reset ( self,
FaceId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [1/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.set ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [2/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.set ( self,
FaceId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [3/3]

FaceBitSet meshlib.mrmeshpy.FaceBitSet.set ( self,
FaceId n,
int len,
bool val )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ subtract()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test_set()

bool meshlib.mrmeshpy.FaceBitSet.test_set ( self,
FaceId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.


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