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

Public Member Functions

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

NodeId beginId ()
 

Detailed Description

Generated from:  MR::NodeBitSet
Aliases:  TaggedBitSet_NodeTag, AABBTreePoints.NodeBitSet

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [4/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__and__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iand__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__iand__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ior__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__ior__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __isub__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__isub__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__iter__ ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ixor__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__ixor__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __or__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__or__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __sub__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__sub__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __xor__()

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.__xor__ ( self,
NodeBitSet b )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ backId()

NodeId meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ beginId()

NodeId meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.beginId ( )
static
[beginId(), endId()) is the range of all bits in the set

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ endId()

NodeId meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.endId ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_first()

NodeId meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.find_first ( self)

◆ find_last()

NodeId meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.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()

NodeId meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.find_next ( self,
NodeId pos )

◆ flip() [1/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.flip ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [2/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.flip ( self,
NodeId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [3/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.flip ( self,
NodeId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ getMapping() [1/5]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.getMapping ( self,
BMap_NodeId_NodeId map )

◆ getMapping() [2/5]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_NodeTag_Id_NodeTag map )

◆ getMapping() [3/5]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.getMapping ( self,
phmap_flat_hash_map_Id_NodeTag_Id_NodeTag map,
int resSize )

◆ getMapping() [4/5]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.getMapping ( self,
Vector_NodeId_NodeId map )

◆ getMapping() [5/5]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.getMapping ( self,
Vector_NodeId_NodeId map,
int resSize )

◆ nthSetBit()

NodeId meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.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.AABBTreePoints.NodeBitSet.operator ( self,
NodeId pos )

◆ reset() [1/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.reset ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [2/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.reset ( self,
NodeId n )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [3/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.reset ( self,
NodeId n,
int len )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [1/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.set ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [2/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.set ( self,
NodeId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [3/3]

NodeBitSet meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.set ( self,
NodeId n,
int len,
bool val )

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ subtract()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test_set()

bool meshlib.mrmeshpy.AABBTreePoints.NodeBitSet.test_set ( self,
NodeId n,
bool val = True )

Reimplemented from meshlib.mrmeshpy.BitSet.


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