MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.TextureBitSet Class Reference
+ Inheritance diagram for meshlib.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 __iter__ (self)
 
TextureBitSet __ixor__ (self, TextureBitSet b)
 
TextureBitSet __or__ (self, TextureBitSet b)
 
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)
 
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 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

TextureId beginId ()
 

Detailed Description

Generated from:  MR::TextureBitSet
Aliases:  TaggedBitSet_TextureTag

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __init__() [4/4]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

Member Function Documentation

◆ __and__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iand__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ior__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __isub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __iter__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __ixor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __or__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __sub__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ __xor__()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [1/2]

None meshlib.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 meshlib.mrmeshpy.BitSet.

◆ autoResizeSet() [2/2]

None meshlib.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 meshlib.mrmeshpy.BitSet.

◆ autoResizeTestSet()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ backId()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ beginId()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ endId()

TextureId meshlib.mrmeshpy.TextureBitSet.endId ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ find_first()

TextureId meshlib.mrmeshpy.TextureBitSet.find_first ( self)

◆ find_last()

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

◆ find_next()

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

◆ flip() [1/3]

TextureBitSet meshlib.mrmeshpy.TextureBitSet.flip ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [2/3]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ flip() [3/3]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ getMapping() [1/5]

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

◆ getMapping() [2/5]

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

◆ getMapping() [3/5]

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

◆ getMapping() [4/5]

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

◆ getMapping() [5/5]

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

◆ nthSetBit()

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

◆ operator()

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

◆ reset() [1/3]

TextureBitSet meshlib.mrmeshpy.TextureBitSet.reset ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [2/3]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ reset() [3/3]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [1/3]

TextureBitSet meshlib.mrmeshpy.TextureBitSet.set ( self)

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [2/3]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ set() [3/3]

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ subtract()

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

◆ test()

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

Reimplemented from meshlib.mrmeshpy.BitSet.

◆ test_set()

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

Reimplemented from meshlib.mrmeshpy.BitSet.


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