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

Public Member Functions

NodeBitSet __iand__ (self, ConstNodeBitSet b)
None __init__ (self)
None __init__ (self, int numBits, bool fillValue=False)
None __init__ (self, ConstBitSet src)
None __init__ (self, BitSet src)
None __init__ (self, ConstNodeBitSet arg0)
NodeBitSet __ior__ (self, ConstNodeBitSet b)
NodeBitSet __isub__ (self, ConstNodeBitSet b)
NodeBitSet __ixor__ (self, ConstNodeBitSet b)
NodeBitSet assign (self, ConstNodeBitSet other)
bool atomicTestSet (self, ConstNodeId n)
None autoResizeSet (self, ConstNodeId pos, int len, bool val=True)
None autoResizeSet (self, ConstNodeId pos, bool val=True)
bool autoResizeTestSet (self, ConstNodeId pos, bool val=True)
NodeBitSet flip (self, ConstNodeId n, int len)
NodeBitSet flip (self, ConstNodeId n)
NodeBitSet flip (self)
NodeBitSet reset (self, ConstNodeId n, int len)
NodeBitSet reset (self, ConstNodeId n)
NodeBitSet reset (self)
NodeBitSet set (self, ConstNodeId n, int len, bool val)
NodeBitSet set (self, ConstNodeId n, bool val)
NodeBitSet set (self, ConstNodeId n)
NodeBitSet set (self)
NodeBitSet subtract (self, ConstNodeBitSet b, int bShiftInBlocks)
bool test_set (self, ConstNodeId n, bool val=True)
Public Member Functions inherited from mrmeshpy.ConstAABBTreePoints.ConstNodeBitSet
NodeBitSet __and__ (self, ConstNodeBitSet b)
 __init__ (self, *args, **kwargs)
typing.Iterator[NodeId] __iter__ (self)
NodeBitSet __or__ (self, ConstNodeBitSet b)
str __repr__ (self)
NodeBitSet __sub__ (self, ConstNodeBitSet b)
NodeBitSet __xor__ (self, ConstNodeBitSet b)
NodeId backId (self)
NodeId endId (self)
NodeId find_first (self)
NodeId find_first_not_set (self)
NodeId find_last (self)
NodeId find_last_not_set (self)
NodeId find_next (self, ConstNodeId pos)
NodeId find_next_not_set (self, ConstNodeId pos)
NodeBitSet getMapping (self, ConstVector_NodeId_NodeId map)
NodeBitSet getMapping (self, ConstBMap_NodeId_NodeId map)
NodeBitSet getMapping (self, Const_phmap_flat_hash_map_Id_NodeTag_Id_NodeTag_phmap_Hash_Id_NodeTag_phmap_EqualTo_Id_NodeTag_Allocator_std_pair_Id_NodeTag_const_Id_NodeTag map)
NodeBitSet getMapping (self, ConstVector_NodeId_NodeId map, int resSize)
NodeBitSet getMapping (self, Const_phmap_flat_hash_map_Id_NodeTag_Id_NodeTag_phmap_Hash_Id_NodeTag_phmap_EqualTo_Id_NodeTag_Allocator_std_pair_Id_NodeTag_const_Id_NodeTag map, int resSize)
bool intersects (self, ConstNodeBitSet a)
bool is_subset_of (self, ConstNodeBitSet a)
NodeId nthSetBit (self, int n)
bool test (self, ConstNodeId n)
Public Member Functions inherited from mrmeshpy.ConstBitSet
BitSet __and__ (self, ConstBitSet b)
bool __eq__ (self, ConstBitSet b)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
bool __ne__ (self, ConstBitSet b)
BitSet __or__ (self, ConstBitSet b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any bs)
BitSet __sub__ (self, ConstBitSet b)
BitSet __xor__ (self, ConstBitSet b)
bool all (self)
bool any (self)
Const_std_vector_unsigned_long_Allocator_unsigned_long bits (self)
int capacity (self)
int count (self)
BitSet.Counts countBitsAndBlocks (self, int maxBits='~MR::BitSet::size_type{}')
bool empty (self)
int heapBytes (self)
bool none (self)
int num_blocks (self)
int size (self)
bool uncheckedTest (self, int n)
Public Member Functions inherited from mrmeshpy.BitSet
BitSet __iand__ (self, ConstBitSet b)
None __init__ (self)
None __init__ (self, int numBits, bool fillValue=False)
None __init__ (self, ConstBitSet arg0)
BitSet __ior__ (self, ConstBitSet b)
BitSet __isub__ (self, ConstBitSet b)
BitSet __ixor__ (self, ConstBitSet b)
typing.Any __rrshift__ (self, typing.Any bs)
None clear (self)
None pop_back (self)
None push_back (self, bool val)
None reserve (self, int numBits)
None resize (self, int numBits, bool fillValue=False)
None resizeWithReserve (self, int newSize)
None reverse (self)
None shrink_to_fit (self)
bool uncheckedTestSet (self, int n, bool val=True)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstAABBTreePoints.ConstNodeBitSet
NodeId beginId ()
Static Public Member Functions inherited from mrmeshpy.ConstBitSet
BitSet fromBlocks (std_vector_unsigned_long_Allocator_unsigned_long blocks)
Static Public Member Functions inherited from mrmeshpy.BitSet
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBitSet
typing bits_per_block = 64
typing npos = 18446744073709551615
 Blocks = std_vector_unsigned_long_Allocator_unsigned_long
 ConstBlocks = Const_std_vector_unsigned_long_Allocator_unsigned_long

Detailed Description

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

Vector<bool, I> like container (random-access, I - index type, bool - value type)
with all bits after size() considered off during testing

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.__init__ ( self)

◆ __init__() [3/6]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.__init__ ( self,
int numBits,
bool fillValue = False )
creates bitset of given size filled with given value

◆ __init__() [4/6]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.__init__ ( self,
ConstBitSet src )
copies all bits from another BitSet (or a descending class, e.g. `TypedBitSet<U>`)

◆ __init__() [5/6]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.__init__ ( self,
BitSet src )
moves all bits from another BitSet (or a descending class, e.g. `TypedBitSet<U>`)

◆ __init__() [6/6]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.__init__ ( self,
ConstNodeBitSet arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __iand__()

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.__iand__ ( self,
ConstNodeBitSet b )

◆ __ior__()

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.__ior__ ( self,
ConstNodeBitSet b )

◆ __isub__()

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.__isub__ ( self,
ConstNodeBitSet b )

◆ __ixor__()

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.__ixor__ ( self,
ConstNodeBitSet b )

◆ assign()

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.assign ( self,
ConstNodeBitSet other )

Reimplemented from mrmeshpy.BitSet.

◆ atomicTestSet()

bool mrmeshpy.ConstAABBTreePoints.NodeBitSet.atomicTestSet ( self,
ConstNodeId n )
sets n-th bit and returns its previous value; it is safe to call simultaneously from several threads for any bits of the same bitset,
provided no other modification of the bitset (including resizing) is performed in parallel

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.autoResizeSet ( self,
ConstNodeId pos,
bool len = True )
sets elements [pos, pos+len) to given value, adjusting the size of the set to include new elements

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [2/2]

None mrmeshpy.ConstAABBTreePoints.NodeBitSet.autoResizeSet ( self,
ConstNodeId 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 mrmeshpy.BitSet.

◆ autoResizeTestSet()

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

Reimplemented from mrmeshpy.BitSet.

◆ flip() [1/3]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.flip ( self)

Reimplemented from mrmeshpy.BitSet.

◆ flip() [2/3]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.flip ( self,
ConstNodeId n )

Reimplemented from mrmeshpy.BitSet.

◆ flip() [3/3]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.flip ( self,
ConstNodeId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ reset() [1/3]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.reset ( self)

Reimplemented from mrmeshpy.BitSet.

◆ reset() [2/3]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.reset ( self,
ConstNodeId n )

Reimplemented from mrmeshpy.BitSet.

◆ reset() [3/3]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.reset ( self,
ConstNodeId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ set() [1/4]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.set ( self)

Reimplemented from mrmeshpy.BitSet.

◆ set() [2/4]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.set ( self,
ConstNodeId n )

Reimplemented from mrmeshpy.BitSet.

◆ set() [3/4]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.set ( self,
ConstNodeId n,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ set() [4/4]

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.set ( self,
ConstNodeId n,
int len,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ subtract()

NodeBitSet mrmeshpy.ConstAABBTreePoints.NodeBitSet.subtract ( self,
ConstNodeBitSet b,
int bShiftInBlocks )
subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block

Reimplemented from mrmeshpy.BitSet.

◆ test_set()

bool mrmeshpy.ConstAABBTreePoints.NodeBitSet.test_set ( self,
ConstNodeId n,
bool val = True )

Reimplemented from mrmeshpy.BitSet.


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