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

Public Member Functions

TextureBitSet __and__ (self, TextureBitSet b)
 
TextureBitSet __iand__ (self, TextureBitSet b)
 
None __init__ (self, BitSet src)
 
None __init__ (self, BitSet src)
 
None __init__ (self)
 
None __init__ (self, TextureBitSet arg0)
 
TextureBitSet __ior__ (self, TextureBitSet b)
 
TextureBitSet __isub__ (self, TextureBitSet b)
 
typing.Iterator[TextureId__iter__ (self)
 
TextureBitSet __ixor__ (self, TextureBitSet b)
 
TextureBitSet __or__ (self, TextureBitSet b)
 
str __repr__ (self)
 
TextureBitSet __sub__ (self, TextureBitSet b)
 
TextureBitSet __xor__ (self, TextureBitSet b)
 
None autoResizeSet (self, TextureId pos, int len, bool val=True)
 
None autoResizeSet (self, TextureId pos, bool val=True)
 
bool autoResizeTestSet (self, TextureId pos, bool val=True)
 
TextureId backId (self)
 
TextureId endId (self)
 
TextureId find_first (self)
 
TextureId find_last (self)
 
TextureId find_next (self, TextureId pos)
 
TextureBitSet flip (self, TextureId n, int len)
 
TextureBitSet flip (self, TextureId n)
 
TextureBitSet flip (self)
 
TextureBitSet getMapping (self, Vector_TextureId_TextureId map)
 
TextureBitSet getMapping (self, BMap_TextureId_TextureId map)
 
TextureBitSet getMapping (self, phmap_flat_hash_map_Id_TextureTag_Id_TextureTag map)
 
TextureBitSet getMapping (self, Vector_TextureId_TextureId map, int resSize)
 
TextureBitSet getMapping (self, phmap_flat_hash_map_Id_TextureTag_Id_TextureTag map, int resSize)
 
bool intersects (self, TextureBitSet a)
 
bool is_proper_subset_of (self, TextureBitSet a)
 
bool is_subset_of (self, TextureBitSet a)
 
TextureId nthSetBit (self, int n)
 
bool operator (self, TextureId pos)
 
TextureBitSet reset (self, TextureId n, int len)
 
TextureBitSet reset (self, TextureId n)
 
TextureBitSet reset (self)
 
TextureBitSet set (self, TextureId n, int len, bool val)
 
TextureBitSet set (self, TextureId n, bool val=True)
 
TextureBitSet set (self)
 
TextureBitSet subtract (self, TextureBitSet b, int bShiftInBlocks)
 
bool test (self, TextureId n)
 
bool test_set (self, TextureId n, bool val=True)
 
- Public Member Functions inherited from 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

TextureId beginId ()
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::TextureBitSet

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.TextureBitSet.__init__ ( self,
BitSet src )
copies all bits from another BitSet (or a descending class, e.g. TaggedBitSet<U>)

Reimplemented from mrmeshpy.BitSet.

◆ __init__() [2/4]

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

Reimplemented from mrmeshpy.BitSet.

◆ __init__() [3/4]

None mrmeshpy.TextureBitSet.__init__ ( self)
Implicit default constructor.

Reimplemented from mrmeshpy.BitSet.

◆ __init__() [4/4]

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

Reimplemented from mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

TextureBitSet mrmeshpy.TextureBitSet.__and__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __iand__()

TextureBitSet mrmeshpy.TextureBitSet.__iand__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __ior__()

TextureBitSet mrmeshpy.TextureBitSet.__ior__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __isub__()

TextureBitSet mrmeshpy.TextureBitSet.__isub__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __iter__()

typing.Iterator[TextureId] mrmeshpy.TextureBitSet.__iter__ ( self)

Reimplemented from mrmeshpy.BitSet.

◆ __ixor__()

TextureBitSet mrmeshpy.TextureBitSet.__ixor__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __or__()

TextureBitSet mrmeshpy.TextureBitSet.__or__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __repr__()

str mrmeshpy.TextureBitSet.__repr__ ( self)

Reimplemented from mrmeshpy.BitSet.

◆ __sub__()

TextureBitSet mrmeshpy.TextureBitSet.__sub__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ __xor__()

TextureBitSet mrmeshpy.TextureBitSet.__xor__ ( self,
TextureBitSet b )

Reimplemented from mrmeshpy.BitSet.

◆ _pybind11_conduit_v1_()

mrmeshpy.TextureBitSet._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

Reimplemented from mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

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

Reimplemented from mrmeshpy.BitSet.

◆ backId()

TextureId mrmeshpy.TextureBitSet.backId ( self)
returns the identifier of the back() element

Reimplemented from mrmeshpy.BitSet.

◆ beginId()

TextureId mrmeshpy.TextureBitSet.beginId ( )
static
[beginId(), endId()) is the range of all bits in the set

Reimplemented from mrmeshpy.BitSet.

◆ endId()

TextureId mrmeshpy.TextureBitSet.endId ( self)

Reimplemented from mrmeshpy.BitSet.

◆ find_first()

TextureId mrmeshpy.TextureBitSet.find_first ( self)

◆ find_last()

TextureId mrmeshpy.TextureBitSet.find_last ( self)
return the highest index i such as bit i is set, or npos if *this has no on bits.

Reimplemented from mrmeshpy.BitSet.

◆ find_next()

TextureId mrmeshpy.TextureBitSet.find_next ( self,
TextureId pos )

◆ flip() [1/3]

TextureBitSet mrmeshpy.TextureBitSet.flip ( self)

Reimplemented from mrmeshpy.BitSet.

◆ flip() [2/3]

TextureBitSet mrmeshpy.TextureBitSet.flip ( self,
TextureId n )

Reimplemented from mrmeshpy.BitSet.

◆ flip() [3/3]

TextureBitSet mrmeshpy.TextureBitSet.flip ( self,
TextureId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ getMapping() [1/5]

TextureBitSet mrmeshpy.TextureBitSet.getMapping ( self,
BMap_TextureId_TextureId map )

◆ getMapping() [2/5]

TextureBitSet mrmeshpy.TextureBitSet.getMapping ( self,
phmap_flat_hash_map_Id_TextureTag_Id_TextureTag map )

◆ getMapping() [3/5]

TextureBitSet mrmeshpy.TextureBitSet.getMapping ( self,
phmap_flat_hash_map_Id_TextureTag_Id_TextureTag map,
int resSize )

◆ getMapping() [4/5]

TextureBitSet mrmeshpy.TextureBitSet.getMapping ( self,
Vector_TextureId_TextureId map )

◆ getMapping() [5/5]

TextureBitSet mrmeshpy.TextureBitSet.getMapping ( self,
Vector_TextureId_TextureId map,
int resSize )

◆ intersects()

bool mrmeshpy.TextureBitSet.intersects ( self,
TextureBitSet a )
returns true if, there is a bit which is set in this bitset, such that the corresponding bit in bitset a is also set. Otherwise this function returns false.

◆ is_proper_subset_of()

bool mrmeshpy.TextureBitSet.is_proper_subset_of ( self,
TextureBitSet a )
returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set and if this->count() < a.count(). Otherwise this function returns false.

◆ is_subset_of()

bool mrmeshpy.TextureBitSet.is_subset_of ( self,
TextureBitSet a )
returns true if, for every bit that is set in this bitset, the corresponding bit in bitset a is also set. Otherwise this function returns false.

◆ nthSetBit()

TextureId mrmeshpy.TextureBitSet.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 mrmeshpy.BitSet.

◆ operator()

bool mrmeshpy.TextureBitSet.operator ( self,
TextureId pos )

◆ reset() [1/3]

TextureBitSet mrmeshpy.TextureBitSet.reset ( self)

Reimplemented from mrmeshpy.BitSet.

◆ reset() [2/3]

TextureBitSet mrmeshpy.TextureBitSet.reset ( self,
TextureId n )

Reimplemented from mrmeshpy.BitSet.

◆ reset() [3/3]

TextureBitSet mrmeshpy.TextureBitSet.reset ( self,
TextureId n,
int len )

Reimplemented from mrmeshpy.BitSet.

◆ set() [1/3]

TextureBitSet mrmeshpy.TextureBitSet.set ( self)

Reimplemented from mrmeshpy.BitSet.

◆ set() [2/3]

TextureBitSet mrmeshpy.TextureBitSet.set ( self,
TextureId n,
bool val = True )

Reimplemented from mrmeshpy.BitSet.

◆ set() [3/3]

TextureBitSet mrmeshpy.TextureBitSet.set ( self,
TextureId n,
int len,
bool val )

Reimplemented from mrmeshpy.BitSet.

◆ subtract()

TextureBitSet mrmeshpy.TextureBitSet.subtract ( self,
TextureBitSet 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()

bool mrmeshpy.TextureBitSet.test ( self,
TextureId n )
all bits after size() we silently consider as not-set

Reimplemented from mrmeshpy.BitSet.

◆ test_set()

bool mrmeshpy.TextureBitSet.test_set ( self,
TextureId n,
bool val = True )

Reimplemented from mrmeshpy.BitSet.


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