MeshLib C# Docs
Loading...
Searching...
No Matches
MR.PixelBitSet Class Reference

Vector<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR.PixelBitSet. Base classes: Direct: (non-virtual) MR.BitSet This is the non-const half of the class. More...

+ Inheritance diagram for MR.PixelBitSet:

Public Member Functions

unsafe PixelBitSet ()
 Constructs an empty (default-constructed) instance.
 
unsafe PixelBitSet (MR._ByValue_PixelBitSet _other)
 Generated from constructor MR.PixelBitSet.PixelBitSet.
 
 PixelBitSet (Const_PixelBitSet _other)
 Generated from constructor MR.PixelBitSet.PixelBitSet.
 
 PixelBitSet (PixelBitSet _other)
 Generated from constructor MR.PixelBitSet.PixelBitSet.
 
unsafe PixelBitSet (ulong numBits, bool? fillValue=null)
 creates bitset of given size filled with given value Generated from constructor MR.PixelBitSet.PixelBitSet. Parameter fillValue defaults to false.
 
unsafe PixelBitSet (MR.Const_BitSet src)
 copies all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.PixelBitSet.PixelBitSet.
 
unsafe PixelBitSet (MR.Misc._Moved< MR.BitSet > src)
 moves all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.PixelBitSet.PixelBitSet.
 
unsafe MR.PixelBitSet assign (MR._ByValue_PixelBitSet _other)
 Generated from method MR.PixelBitSet.operator=.
 
unsafe MR.PixelBitSet set (MR.PixelId n, ulong len, bool val)
 Generated from method MR.PixelBitSet.set.
 
unsafe MR.PixelBitSet set (MR.PixelId n, bool val)
 Generated from method MR.PixelBitSet.set.
 
unsafe MR.PixelBitSet set (MR.PixelId n)
 Generated from method MR.PixelBitSet.set.
 
unsafe MR.PixelBitSet set ()
 Generated from method MR.PixelBitSet.set.
 
unsafe MR.PixelBitSet reset (MR.PixelId n, ulong len)
 Generated from method MR.PixelBitSet.reset.
 
unsafe MR.PixelBitSet reset (MR.PixelId n)
 Generated from method MR.PixelBitSet.reset.
 
unsafe MR.PixelBitSet reset ()
 Generated from method MR.PixelBitSet.reset.
 
unsafe MR.PixelBitSet flip (MR.PixelId n, ulong len)
 Generated from method MR.PixelBitSet.flip.
 
unsafe MR.PixelBitSet flip (MR.PixelId n)
 Generated from method MR.PixelBitSet.flip.
 
unsafe MR.PixelBitSet flip ()
 Generated from method MR.PixelBitSet.flip.
 
unsafe bool testSet (MR.PixelId n, bool? val=null)
 Generated from method MR.PixelBitSet.test_set. Parameter val defaults to true.
 
unsafe MR.PixelBitSet bitandAssign (MR.Const_PixelBitSet b)
 Generated from method MR.PixelBitSet.operator&=.
 
unsafe MR.PixelBitSet bitorAssign (MR.Const_PixelBitSet b)
 Generated from method MR.PixelBitSet.operator|=.
 
unsafe MR.PixelBitSet xorAssign (MR.Const_PixelBitSet b)
 Generated from method MR.PixelBitSet.operator^=.
 
unsafe MR.PixelBitSet subAssign (MR.Const_PixelBitSet b)
 Generated from method MR.PixelBitSet.operator-=.
 
unsafe MR.PixelBitSet subtract (MR.Const_PixelBitSet b, int bShiftInBlocks)
 subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block Generated from method MR.PixelBitSet.subtract.
 
unsafe void autoResizeSet (MR.PixelId pos, ulong len, bool? val=null)
 Generated from method MR.PixelBitSet.autoResizeSet. Parameter val defaults to true.
 
unsafe void autoResizeSet (MR.PixelId pos, bool? val=null)
 Generated from method MR.PixelBitSet.autoResizeSet. Parameter val defaults to true.
 
unsafe bool autoResizeTestSet (MR.PixelId pos, bool? val=null)
 Generated from method MR.PixelBitSet.autoResizeTestSet. Parameter val defaults to true.
 
unsafe void reserve (ulong numBits)
 Generated from method MR.PixelBitSet.reserve.
 
unsafe void resize (ulong numBits, bool? fillValue=null)
 Generated from method MR.PixelBitSet.resize. Parameter fillValue defaults to false.
 
unsafe void clear ()
 Generated from method MR.PixelBitSet.clear.
 
unsafe void shrinkToFit ()
 Generated from method MR.PixelBitSet.shrink_to_fit.
 
unsafe bool uncheckedTestSet (ulong n, bool? val=null)
 Generated from method MR.PixelBitSet.uncheckedTestSet. Parameter val defaults to true.
 
unsafe void reverse ()
 changes the order of bits on the opposite Generated from method MR.PixelBitSet.reverse.
 
unsafe void pushBack (bool val)
 adds one more bit with the given value in the container, increasing its size on 1 Generated from method MR.PixelBitSet.push_back.
 
unsafe void popBack ()
 removes last bit from the container, decreasing its size on 1 Generated from method MR.PixelBitSet.pop_back.
 
unsafe void resizeWithReserve (ulong newSize)
 doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.PixelBitSet.resizeWithReserve.
 

Static Public Member Functions

static unsafe implicit operator MR.BitSet (PixelBitSet self)
 

Detailed Description

Vector<bool, I> like container (random-access, I - index type, bool - value type) with all bits after size() considered off during testing Generated from class MR.PixelBitSet. Base classes: Direct: (non-virtual) MR.BitSet This is the non-const half of the class.

Constructor & Destructor Documentation

◆ PixelBitSet() [1/7]

unsafe MR.PixelBitSet.PixelBitSet ( )
inline

Constructs an empty (default-constructed) instance.

◆ PixelBitSet() [2/7]

unsafe MR.PixelBitSet.PixelBitSet ( MR._ByValue_PixelBitSet _other)
inline

Generated from constructor MR.PixelBitSet.PixelBitSet.

◆ PixelBitSet() [3/7]

MR.PixelBitSet.PixelBitSet ( Const_PixelBitSet _other)
inline

Generated from constructor MR.PixelBitSet.PixelBitSet.

◆ PixelBitSet() [4/7]

MR.PixelBitSet.PixelBitSet ( PixelBitSet _other)
inline

Generated from constructor MR.PixelBitSet.PixelBitSet.

◆ PixelBitSet() [5/7]

unsafe MR.PixelBitSet.PixelBitSet ( ulong numBits,
bool? fillValue = null )
inline

creates bitset of given size filled with given value Generated from constructor MR.PixelBitSet.PixelBitSet. Parameter fillValue defaults to false.

◆ PixelBitSet() [6/7]

unsafe MR.PixelBitSet.PixelBitSet ( MR.Const_BitSet src)
inline

copies all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.PixelBitSet.PixelBitSet.

◆ PixelBitSet() [7/7]

unsafe MR.PixelBitSet.PixelBitSet ( MR.Misc._Moved< MR.BitSet > src)
inline

moves all bits from another BitSet (or a descending class, e.g. TypedBitSet) Generated from constructor MR.PixelBitSet.PixelBitSet.

Member Function Documentation

◆ assign()

unsafe MR.PixelBitSet MR.PixelBitSet.assign ( MR._ByValue_PixelBitSet _other)
inline

Generated from method MR.PixelBitSet.operator=.

◆ autoResizeSet() [1/2]

unsafe void MR.PixelBitSet.autoResizeSet ( MR.PixelId pos,
bool? val = null )
inline

Generated from method MR.PixelBitSet.autoResizeSet. Parameter val defaults to true.

◆ autoResizeSet() [2/2]

unsafe void MR.PixelBitSet.autoResizeSet ( MR.PixelId pos,
ulong len,
bool? val = null )
inline

Generated from method MR.PixelBitSet.autoResizeSet. Parameter val defaults to true.

◆ autoResizeTestSet()

unsafe bool MR.PixelBitSet.autoResizeTestSet ( MR.PixelId pos,
bool? val = null )
inline

Generated from method MR.PixelBitSet.autoResizeTestSet. Parameter val defaults to true.

◆ bitandAssign()

unsafe MR.PixelBitSet MR.PixelBitSet.bitandAssign ( MR.Const_PixelBitSet b)
inline

Generated from method MR.PixelBitSet.operator&=.

◆ bitorAssign()

unsafe MR.PixelBitSet MR.PixelBitSet.bitorAssign ( MR.Const_PixelBitSet b)
inline

Generated from method MR.PixelBitSet.operator|=.

◆ clear()

unsafe void MR.PixelBitSet.clear ( )
inline

Generated from method MR.PixelBitSet.clear.

◆ flip() [1/3]

unsafe MR.PixelBitSet MR.PixelBitSet.flip ( )
inline

Generated from method MR.PixelBitSet.flip.

◆ flip() [2/3]

unsafe MR.PixelBitSet MR.PixelBitSet.flip ( MR.PixelId n)
inline

Generated from method MR.PixelBitSet.flip.

◆ flip() [3/3]

unsafe MR.PixelBitSet MR.PixelBitSet.flip ( MR.PixelId n,
ulong len )
inline

Generated from method MR.PixelBitSet.flip.

◆ operator MR.BitSet()

static unsafe implicit MR.PixelBitSet.operator MR.BitSet ( PixelBitSet self)
inlinestatic

◆ popBack()

unsafe void MR.PixelBitSet.popBack ( )
inline

removes last bit from the container, decreasing its size on 1 Generated from method MR.PixelBitSet.pop_back.

◆ pushBack()

unsafe void MR.PixelBitSet.pushBack ( bool val)
inline

adds one more bit with the given value in the container, increasing its size on 1 Generated from method MR.PixelBitSet.push_back.

◆ reserve()

unsafe void MR.PixelBitSet.reserve ( ulong numBits)
inline

Generated from method MR.PixelBitSet.reserve.

◆ reset() [1/3]

unsafe MR.PixelBitSet MR.PixelBitSet.reset ( )
inline

Generated from method MR.PixelBitSet.reset.

◆ reset() [2/3]

unsafe MR.PixelBitSet MR.PixelBitSet.reset ( MR.PixelId n)
inline

Generated from method MR.PixelBitSet.reset.

◆ reset() [3/3]

unsafe MR.PixelBitSet MR.PixelBitSet.reset ( MR.PixelId n,
ulong len )
inline

Generated from method MR.PixelBitSet.reset.

◆ resize()

unsafe void MR.PixelBitSet.resize ( ulong numBits,
bool? fillValue = null )
inline

Generated from method MR.PixelBitSet.resize. Parameter fillValue defaults to false.

◆ resizeWithReserve()

unsafe void MR.PixelBitSet.resizeWithReserve ( ulong newSize)
inline

doubles reserved memory until resize(newSize) can be done without reallocation Generated from method MR.PixelBitSet.resizeWithReserve.

◆ reverse()

unsafe void MR.PixelBitSet.reverse ( )
inline

changes the order of bits on the opposite Generated from method MR.PixelBitSet.reverse.

◆ set() [1/4]

unsafe MR.PixelBitSet MR.PixelBitSet.set ( )
inline

Generated from method MR.PixelBitSet.set.

◆ set() [2/4]

unsafe MR.PixelBitSet MR.PixelBitSet.set ( MR.PixelId n)
inline

Generated from method MR.PixelBitSet.set.

◆ set() [3/4]

unsafe MR.PixelBitSet MR.PixelBitSet.set ( MR.PixelId n,
bool val )
inline

Generated from method MR.PixelBitSet.set.

◆ set() [4/4]

unsafe MR.PixelBitSet MR.PixelBitSet.set ( MR.PixelId n,
ulong len,
bool val )
inline

Generated from method MR.PixelBitSet.set.

◆ shrinkToFit()

unsafe void MR.PixelBitSet.shrinkToFit ( )
inline

Generated from method MR.PixelBitSet.shrink_to_fit.

◆ subAssign()

unsafe MR.PixelBitSet MR.PixelBitSet.subAssign ( MR.Const_PixelBitSet b)
inline

Generated from method MR.PixelBitSet.operator-=.

◆ subtract()

unsafe MR.PixelBitSet MR.PixelBitSet.subtract ( MR.Const_PixelBitSet b,
int bShiftInBlocks )
inline

subtracts b from this, considering that bits in b are shifted right on bShiftInBlocks*bits_per_block Generated from method MR.PixelBitSet.subtract.

◆ testSet()

unsafe bool MR.PixelBitSet.testSet ( MR.PixelId n,
bool? val = null )
inline

Generated from method MR.PixelBitSet.test_set. Parameter val defaults to true.

◆ uncheckedTestSet()

unsafe bool MR.PixelBitSet.uncheckedTestSet ( ulong n,
bool? val = null )
inline

Generated from method MR.PixelBitSet.uncheckedTestSet. Parameter val defaults to true.

◆ xorAssign()

unsafe MR.PixelBitSet MR.PixelBitSet.xorAssign ( MR.Const_PixelBitSet b)
inline

Generated from method MR.PixelBitSet.operator^=.


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