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

Public Member Functions

BitSet __and__ (self, BitSet b)
 
bool __eq__ (self, BitSet b)
 
BitSet __iand__ (self, BitSet b)
 
None __init__ (self, int numBits, bool fillValue)
 
None __init__ (self)
 
None __init__ (self, BitSet arg0)
 
BitSet __ior__ (self, BitSet b)
 
BitSet __isub__ (self, BitSet b)
 
typing.Iterator __iter__ (self)
 
BitSet __ixor__ (self, BitSet b)
 
BitSet __or__ (self, BitSet b)
 
BitSet __sub__ (self, BitSet b)
 
BitSet __xor__ (self, BitSet b)
 
None autoResizeSet (self, int pos, int len, bool val=True)
 
None autoResizeSet (self, int pos, bool val=True)
 
bool autoResizeTestSet (self, int pos, bool val=True)
 
int backId (self)
 
None clear (self)
 
int count (self)
 
int endId (self)
 
int find_last (self)
 
BitSet flip (self, int n, int len)
 
BitSet flip (self, int n)
 
BitSet flip (self)
 
int heapBytes (self)
 
int nthSetBit (self, int n)
 
None pop_back (self)
 
None push_back (self, bool bit)
 
BitSet reset (self, int n, int len)
 
BitSet reset (self, int n)
 
BitSet reset (self)
 
None resize (self, int num_bits, bool value=False)
 
None resizeWithReserve (self, int newSize)
 
BitSet set (self, int n, int len, bool val)
 
BitSet set (self, int n, bool val=True)
 
BitSet set (self)
 
int size (self)
 
BitSet subtract (self, BitSet b, int bShiftInBlocks)
 
bool test (self, int n)
 
bool test_set (self, int n, bool val=True)
 

Static Public Member Functions

int beginId ()
 

Detailed Description

Generated from:  MR::BitSet

container of bits

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.BitSet.__init__ ( self,
int numBits,
bool fillValue )
creates bitset of given size filled with given value

Reimplemented in meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VoxelBitSet, meshlib.mrmeshpy.VoxelBitSet, meshlib.mrmeshpy.VoxelBitSet, and meshlib.mrmeshpy.VoxelBitSet.

◆ __init__() [2/3]

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

Reimplemented in meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VoxelBitSet, meshlib.mrmeshpy.VoxelBitSet, meshlib.mrmeshpy.VoxelBitSet, and meshlib.mrmeshpy.VoxelBitSet.

◆ __init__() [3/3]

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

Reimplemented in meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.AABBTreePoints.NodeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.EdgeBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.FaceBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphEdgeBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.GraphVertBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.NodeBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.ObjBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.PixelBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.RegionBitSet, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TaggedBitSet_ICPElemtTag, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.TextureBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.UndirectedEdgeBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VertBitSet, meshlib.mrmeshpy.VoxelBitSet, meshlib.mrmeshpy.VoxelBitSet, meshlib.mrmeshpy.VoxelBitSet, and meshlib.mrmeshpy.VoxelBitSet.

Member Function Documentation

◆ __and__()

◆ __eq__()

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

◆ __iand__()

◆ __ior__()

◆ __isub__()

◆ __iter__()

◆ __ixor__()

◆ __or__()

◆ __sub__()

◆ __xor__()

◆ autoResizeSet() [1/2]

◆ autoResizeSet() [2/2]

◆ autoResizeTestSet()

◆ backId()

◆ beginId()

◆ clear()

None meshlib.mrmeshpy.BitSet.clear ( self)

◆ count()

int meshlib.mrmeshpy.BitSet.count ( self)

◆ endId()

◆ find_last()

◆ flip() [1/3]

◆ flip() [2/3]

◆ flip() [3/3]

◆ heapBytes()

int meshlib.mrmeshpy.BitSet.heapBytes ( self)
returns the amount of memory this object occupies on heap

◆ nthSetBit()

◆ pop_back()

None meshlib.mrmeshpy.BitSet.pop_back ( self)

◆ push_back()

None meshlib.mrmeshpy.BitSet.push_back ( self,
bool bit )

◆ reset() [1/3]

◆ reset() [2/3]

◆ reset() [3/3]

◆ resize()

None meshlib.mrmeshpy.BitSet.resize ( self,
int num_bits,
bool value = False )

◆ resizeWithReserve()

None meshlib.mrmeshpy.BitSet.resizeWithReserve ( self,
int newSize )
doubles reserved memory until resize(newSize) can be done without reallocation

◆ set() [1/3]

◆ set() [2/3]

◆ set() [3/3]

◆ size()

int meshlib.mrmeshpy.BitSet.size ( self)

◆ subtract()

◆ test()

◆ test_set()


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