MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.TextureBitSet:

Public Member Functions

 TextureBitSet (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 TextureBitSet ()
 TextureBitSet (meshlib.TextureBitSet _other)
 TextureBitSet (long numBits, java.lang.Boolean fillValue)
meshlib.TextureBitSet assignFromAnother (meshlib.TextureBitSet _other)
meshlib.TextureBitSet set (meshlib.TextureId n, long len, boolean val)
meshlib.TextureBitSet set (meshlib.TextureId n, boolean val)
meshlib.TextureBitSet set (meshlib.TextureId n)
meshlib.TextureBitSet set ()
boolean atomicTestSet (meshlib.TextureId n)
meshlib.TextureBitSet reset (meshlib.TextureId n, long len)
meshlib.TextureBitSet reset (meshlib.TextureId n)
meshlib.TextureBitSet reset ()
meshlib.TextureBitSet flip (meshlib.TextureId n, long len)
meshlib.TextureBitSet flip (meshlib.TextureId n)
meshlib.TextureBitSet flip ()
boolean test (meshlib.TextureId n)
boolean test_set (meshlib.TextureId n, java.lang.Boolean val)
meshlib.TextureId find_first ()
meshlib.TextureId find_next (meshlib.TextureId pos)
meshlib.TextureId find_last ()
meshlib.TextureId find_first_not_set ()
meshlib.TextureId find_next_not_set (meshlib.TextureId pos)
meshlib.TextureId find_last_not_set ()
meshlib.TextureId nthSetBit (long n)
meshlib.TextureBitSet bitand_assign (meshlib.TextureBitSet b)
meshlib.TextureBitSet bitor_assign (meshlib.TextureBitSet b)
meshlib.TextureBitSet xor_assign (meshlib.TextureBitSet b)
meshlib.TextureBitSet sub_assign (meshlib.TextureBitSet b)
meshlib.TextureBitSet subtract (meshlib.TextureBitSet b, int bShiftInBlocks)
boolean is_subset_of (meshlib.TextureBitSet a)
boolean intersects (meshlib.TextureBitSet a)
void autoResizeSet (meshlib.TextureId pos, long len, java.lang.Boolean val)
void autoResizeSet (meshlib.TextureId pos, java.lang.Boolean val)
boolean autoResizeTestSet (meshlib.TextureId pos, java.lang.Boolean val)
meshlib.TextureBitSet getMapping (meshlib.Vector_MR_TextureId_MR_TextureId map)
meshlib.TextureBitSet getMapping (meshlib.BMap_MR_TextureId_MR_TextureId map)
meshlib.TextureBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR___b0dced12 map)
meshlib.TextureBitSet getMapping (meshlib.Vector_MR_TextureId_MR_TextureId map, long resSize)
meshlib.TextureBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR___b0dced12 map, long resSize)
meshlib.TextureId backId ()
meshlib.TextureId endId ()
void reserve (long numBits)
void resize (long numBits, java.lang.Boolean fillValue)
void clear ()
void shrink_to_fit ()
boolean empty ()
long size ()
long num_blocks ()
long capacity ()
boolean uncheckedTest (long n)
boolean uncheckedTestSet (long n, java.lang.Boolean val)
void reverse ()
void push_back (boolean val)
void pop_back ()
meshlib.std_vector_uint64_t_MR_Allocator_uint64_t bits ()
boolean all ()
boolean any ()
boolean none ()
long count ()
meshlib.BitSet_Counts countBitsAndBlocks (java.lang.Long maxBits)
void resizeWithReserve (long newSize)
long heapBytes ()
meshlib.BitSet upcastToBitSet ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.TextureBitSet construct_1_const_MR_BitSet_ref (meshlib.BitSet src)
static meshlib.TextureBitSet construct_1_MR_BitSet_rvalue_ref (meshlib.BitSet src)
static meshlib.TextureId beginId ()
static meshlib.BitSet fromBlocks (meshlib.std_vector_uint64_t_MR_Allocator_uint64_t blocks)
static long bits_per_block ()
static long npos ()
static meshlib.TextureBitSet staticDowncastFromBitSet (meshlib.BitSet object)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

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::TextureBitSet. Base classes: Direct: (non-virtual) MR::BitSet

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ TextureBitSet() [1/4]

meshlib.TextureBitSet.TextureBitSet ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ TextureBitSet() [2/4]

meshlib.TextureBitSet.TextureBitSet ( )

Constructs an empty (default-constructed) instance.

Calls MR_TextureBitSet_DefaultConstruct().

◆ TextureBitSet() [3/4]

meshlib.TextureBitSet.TextureBitSet ( meshlib.TextureBitSet _other)

Generated from constructor MR::TextureBitSet::TextureBitSet. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_TextureBitSet_ConstructFromAnother().

◆ TextureBitSet() [4/4]

meshlib.TextureBitSet.TextureBitSet ( long numBits,
java.lang.Boolean fillValue )

creates bitset of given size filled with given value Generated from constructor MR::TextureBitSet::TextureBitSet. The reference to the parameter numBits might be preserved in the constructed object.

Calls MR_TextureBitSet_Construct_2().

Member Function Documentation

◆ all()

boolean meshlib.TextureBitSet.all ( )

returns true if all bits in this container are set Generated from method MR::TextureBitSet::all.

Calls MR_TextureBitSet_all().

◆ any()

boolean meshlib.TextureBitSet.any ( )

returns true if at least one bits in this container is set Generated from method MR::TextureBitSet::any.

Calls MR_TextureBitSet_any().

◆ assignFromAnother()

meshlib.TextureBitSet meshlib.TextureBitSet.assignFromAnother ( meshlib.TextureBitSet _other)

Generated from method MR::TextureBitSet::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_TextureBitSet_AssignFromAnother().

◆ atomicTestSet()

boolean meshlib.TextureBitSet.atomicTestSet ( meshlib.TextureId n)

Generated from method MR::TextureBitSet::atomicTestSet.

Calls MR_TextureBitSet_atomicTestSet().

◆ autoResizeSet() [1/2]

void meshlib.TextureBitSet.autoResizeSet ( meshlib.TextureId pos,
java.lang.Boolean val )

Generated from method MR::TextureBitSet::autoResizeSet.

Calls MR_TextureBitSet_autoResizeSet().

◆ autoResizeSet() [2/2]

void meshlib.TextureBitSet.autoResizeSet ( meshlib.TextureId pos,
long len,
java.lang.Boolean val )

Generated from method MR::TextureBitSet::autoResizeSet.

Calls MR_TextureBitSet_autoResizeSet_range().

◆ autoResizeTestSet()

boolean meshlib.TextureBitSet.autoResizeTestSet ( meshlib.TextureId pos,
java.lang.Boolean val )

Generated from method MR::TextureBitSet::autoResizeTestSet.

Calls MR_TextureBitSet_autoResizeTestSet().

◆ backId()

meshlib.TextureId meshlib.TextureBitSet.backId ( )

returns the identifier of the back() element Generated from method MR::TextureBitSet::backId.

Calls MR_TextureBitSet_backId().

◆ beginId()

meshlib.TextureId meshlib.TextureBitSet.beginId ( )
static

[beginId(), endId()) is the range of all bits in the set Generated from method MR::TextureBitSet::beginId.

Calls MR_TextureBitSet_beginId().

◆ bitand_assign()

meshlib.TextureBitSet meshlib.TextureBitSet.bitand_assign ( meshlib.TextureBitSet b)

Generated from method MR::TextureBitSet::operator&=. The reference to this object might be preserved in the return value.

Calls MR_TextureBitSet_bitand_assign().

◆ bitor_assign()

meshlib.TextureBitSet meshlib.TextureBitSet.bitor_assign ( meshlib.TextureBitSet b)

Generated from method MR::TextureBitSet::operator|=. The reference to this object might be preserved in the return value.

Calls MR_TextureBitSet_bitor_assign().

◆ bits()

meshlib.std_vector_uint64_t_MR_Allocator_uint64_t meshlib.TextureBitSet.bits ( )

read-only access to all bits stored as a vector of uint64 blocks Generated from method MR::TextureBitSet::bits.

Calls MR_TextureBitSet_bits().

◆ bits_per_block()

long meshlib.TextureBitSet.bits_per_block ( )
static

Returns a pointer to a member variable of class MR::TextureBitSet named bits_per_block.

Calls MR_TextureBitSet_Get_bits_per_block().

◆ capacity()

long meshlib.TextureBitSet.capacity ( )

Generated from method MR::TextureBitSet::capacity.

Calls MR_TextureBitSet_capacity().

◆ clear()

void meshlib.TextureBitSet.clear ( )

Generated from method MR::TextureBitSet::clear.

Calls MR_TextureBitSet_clear().

◆ construct_1_const_MR_BitSet_ref()

meshlib.TextureBitSet meshlib.TextureBitSet.construct_1_const_MR_BitSet_ref ( meshlib.BitSet src)
static

copies all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::TextureBitSet::TextureBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_TextureBitSet_Construct_1_const_MR_BitSet_ref().

◆ construct_1_MR_BitSet_rvalue_ref()

meshlib.TextureBitSet meshlib.TextureBitSet.construct_1_MR_BitSet_rvalue_ref ( meshlib.BitSet src)
static

moves all bits from another BitSet (or a descending class, e.g. TypedBitSet<U>) Generated from constructor MR::TextureBitSet::TextureBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_TextureBitSet_Construct_1_MR_BitSet_rvalue_ref().

◆ count()

long meshlib.TextureBitSet.count ( )

computes the number of set bits in the whole set Generated from method MR::TextureBitSet::count.

Calls MR_TextureBitSet_count().

◆ countBitsAndBlocks()

meshlib.BitSet_Counts meshlib.TextureBitSet.countBitsAndBlocks ( java.lang.Long maxBits)

computes the numbers of set bits and of non-empty blocks, stopping as soon as the set bits exceed maxBits; both numbers are then partial, which makes a size test of a large set cheap Generated from method MR::TextureBitSet::countBitsAndBlocks.

Calls MR_TextureBitSet_countBitsAndBlocks().

◆ empty()

boolean meshlib.TextureBitSet.empty ( )

Generated from method MR::TextureBitSet::empty.

Calls MR_TextureBitSet_empty().

◆ endId()

meshlib.TextureId meshlib.TextureBitSet.endId ( )

Generated from method MR::TextureBitSet::endId.

Calls MR_TextureBitSet_endId().

◆ find_first()

meshlib.TextureId meshlib.TextureBitSet.find_first ( )

Generated from method MR::TextureBitSet::find_first.

Calls MR_TextureBitSet_find_first().

◆ find_first_not_set()

meshlib.TextureId meshlib.TextureBitSet.find_first_not_set ( )

Generated from method MR::TextureBitSet::find_first_not_set.

Calls MR_TextureBitSet_find_first_not_set().

◆ find_last()

meshlib.TextureId meshlib.TextureBitSet.find_last ( )

Generated from method MR::TextureBitSet::find_last.

Calls MR_TextureBitSet_find_last().

◆ find_last_not_set()

meshlib.TextureId meshlib.TextureBitSet.find_last_not_set ( )

Generated from method MR::TextureBitSet::find_last_not_set.

Calls MR_TextureBitSet_find_last_not_set().

◆ find_next()

meshlib.TextureId meshlib.TextureBitSet.find_next ( meshlib.TextureId pos)

Generated from method MR::TextureBitSet::find_next.

Calls MR_TextureBitSet_find_next().

◆ find_next_not_set()

meshlib.TextureId meshlib.TextureBitSet.find_next_not_set ( meshlib.TextureId pos)

Generated from method MR::TextureBitSet::find_next_not_set.

Calls MR_TextureBitSet_find_next_not_set().

◆ flip() [1/3]

meshlib.TextureBitSet meshlib.TextureBitSet.flip ( )

Generated from method MR::TextureBitSet::flip.

Calls MR_TextureBitSet_flip_0().

◆ flip() [2/3]

meshlib.TextureBitSet meshlib.TextureBitSet.flip ( meshlib.TextureId n)

Generated from method MR::TextureBitSet::flip.

Calls MR_TextureBitSet_flip_1().

◆ flip() [3/3]

meshlib.TextureBitSet meshlib.TextureBitSet.flip ( meshlib.TextureId n,
long len )

Generated from method MR::TextureBitSet::flip.

Calls MR_TextureBitSet_flip_2().

◆ fromBlocks()

meshlib.BitSet meshlib.TextureBitSet.fromBlocks ( meshlib.std_vector_uint64_t_MR_Allocator_uint64_t blocks)
static

creates bitset from the given blocks of bits Generated from method MR::TextureBitSet::fromBlocks.

Calls MR_TextureBitSet_fromBlocks().

◆ getMapping() [1/5]

meshlib.TextureBitSet meshlib.TextureBitSet.getMapping ( meshlib.BMap_MR_TextureId_MR_TextureId map)

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_1_MR_BMap_MR_TextureId_MR_TextureId().

◆ getMapping() [2/5]

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_1_phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR_Allocator_std_pair_const_MR_TextureId_MR_TextureId().

◆ getMapping() [3/5]

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_2_phmap_flat_hash_map_MR_TextureId_MR_TextureId_phmap_Hash_MR_TextureId_phmap_EqualTo_MR_TextureId_MR_Allocator_std_pair_const_MR_TextureId_MR_TextureId().

◆ getMapping() [4/5]

meshlib.TextureBitSet meshlib.TextureBitSet.getMapping ( meshlib.Vector_MR_TextureId_MR_TextureId map)

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_1_MR_Vector_MR_TextureId_MR_TextureId().

◆ getMapping() [5/5]

meshlib.TextureBitSet meshlib.TextureBitSet.getMapping ( meshlib.Vector_MR_TextureId_MR_TextureId map,
long resSize )

Generated from method MR::TextureBitSet::getMapping.

Calls MR_TextureBitSet_getMapping_2_MR_Vector_MR_TextureId_MR_TextureId().

◆ heapBytes()

long meshlib.TextureBitSet.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::TextureBitSet::heapBytes.

Calls MR_TextureBitSet_heapBytes().

◆ intersects()

boolean meshlib.TextureBitSet.intersects ( meshlib.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. Generated from method MR::TextureBitSet::intersects.

Calls MR_TextureBitSet_intersects().

◆ is_subset_of()

boolean meshlib.TextureBitSet.is_subset_of ( meshlib.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. Generated from method MR::TextureBitSet::is_subset_of.

Calls MR_TextureBitSet_is_subset_of().

◆ none()

boolean meshlib.TextureBitSet.none ( )

returns true if all bits in this container are reset Generated from method MR::TextureBitSet::none.

Calls MR_TextureBitSet_none().

◆ npos()

long meshlib.TextureBitSet.npos ( )
static

Returns a pointer to a member variable of class MR::TextureBitSet named npos.

Calls MR_TextureBitSet_Get_npos().

◆ nthSetBit()

meshlib.TextureId meshlib.TextureBitSet.nthSetBit ( long 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 Generated from method MR::TextureBitSet::nthSetBit.

Calls MR_TextureBitSet_nthSetBit().

◆ num_blocks()

long meshlib.TextureBitSet.num_blocks ( )

Generated from method MR::TextureBitSet::num_blocks.

Calls MR_TextureBitSet_num_blocks().

◆ pop_back()

void meshlib.TextureBitSet.pop_back ( )

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

Calls MR_TextureBitSet_pop_back().

◆ push_back()

void meshlib.TextureBitSet.push_back ( boolean val)

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

Calls MR_TextureBitSet_push_back().

◆ reserve()

void meshlib.TextureBitSet.reserve ( long numBits)

Generated from method MR::TextureBitSet::reserve.

Calls MR_TextureBitSet_reserve().

◆ reset() [1/3]

meshlib.TextureBitSet meshlib.TextureBitSet.reset ( )

Generated from method MR::TextureBitSet::reset.

Calls MR_TextureBitSet_reset_0().

◆ reset() [2/3]

meshlib.TextureBitSet meshlib.TextureBitSet.reset ( meshlib.TextureId n)

Generated from method MR::TextureBitSet::reset.

Calls MR_TextureBitSet_reset_1().

◆ reset() [3/3]

meshlib.TextureBitSet meshlib.TextureBitSet.reset ( meshlib.TextureId n,
long len )

Generated from method MR::TextureBitSet::reset.

Calls MR_TextureBitSet_reset_2().

◆ resize()

void meshlib.TextureBitSet.resize ( long numBits,
java.lang.Boolean fillValue )

Generated from method MR::TextureBitSet::resize.

Calls MR_TextureBitSet_resize().

◆ resizeWithReserve()

void meshlib.TextureBitSet.resizeWithReserve ( long newSize)

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::TextureBitSet::resizeWithReserve.

Calls MR_TextureBitSet_resizeWithReserve().

◆ reverse()

void meshlib.TextureBitSet.reverse ( )

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

Calls MR_TextureBitSet_reverse().

◆ set() [1/4]

meshlib.TextureBitSet meshlib.TextureBitSet.set ( )

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set_all().

◆ set() [2/4]

meshlib.TextureBitSet meshlib.TextureBitSet.set ( meshlib.TextureId n)

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set_bit().

◆ set() [3/4]

meshlib.TextureBitSet meshlib.TextureBitSet.set ( meshlib.TextureId n,
boolean val )

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set().

◆ set() [4/4]

meshlib.TextureBitSet meshlib.TextureBitSet.set ( meshlib.TextureId n,
long len,
boolean val )

Generated from method MR::TextureBitSet::set.

Calls MR_TextureBitSet_set_range().

◆ shrink_to_fit()

void meshlib.TextureBitSet.shrink_to_fit ( )

Generated from method MR::TextureBitSet::shrink_to_fit.

Calls MR_TextureBitSet_shrink_to_fit().

◆ size()

long meshlib.TextureBitSet.size ( )

Generated from method MR::TextureBitSet::size.

Calls MR_TextureBitSet_size().

◆ staticDowncastFromBitSet()

meshlib.TextureBitSet meshlib.TextureBitSet.staticDowncastFromBitSet ( meshlib.BitSet object)
static

Static downcast from the base class MR::BitSet. Undefined behavior if the object isn't actually a TextureBitSet. The result refers to object.

Calls MR_TextureBitSet_MutableStaticDowncastFrom_MR_BitSet().

◆ sub_assign()

meshlib.TextureBitSet meshlib.TextureBitSet.sub_assign ( meshlib.TextureBitSet b)

Generated from method MR::TextureBitSet::operator-=. The reference to this object might be preserved in the return value.

Calls MR_TextureBitSet_sub_assign().

◆ subtract()

meshlib.TextureBitSet meshlib.TextureBitSet.subtract ( meshlib.TextureBitSet b,
int bShiftInBlocks )

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

Calls MR_TextureBitSet_subtract().

◆ test()

boolean meshlib.TextureBitSet.test ( meshlib.TextureId n)

Generated from method MR::TextureBitSet::test.

Calls MR_TextureBitSet_test().

◆ test_set()

boolean meshlib.TextureBitSet.test_set ( meshlib.TextureId n,
java.lang.Boolean val )

Generated from method MR::TextureBitSet::test_set.

Calls MR_TextureBitSet_test_set().

◆ uncheckedTest()

boolean meshlib.TextureBitSet.uncheckedTest ( long n)

Generated from method MR::TextureBitSet::uncheckedTest.

Calls MR_TextureBitSet_uncheckedTest().

◆ uncheckedTestSet()

boolean meshlib.TextureBitSet.uncheckedTestSet ( long n,
java.lang.Boolean val )

Generated from method MR::TextureBitSet::uncheckedTestSet.

Calls MR_TextureBitSet_uncheckedTestSet().

◆ upcastToBitSet()

meshlib.BitSet meshlib.TextureBitSet.upcastToBitSet ( )

Upcasts to the base class MR::BitSet. The result refers to this object.

Calls MR_TextureBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

meshlib.TextureBitSet meshlib.TextureBitSet.xor_assign ( meshlib.TextureBitSet b)

Generated from method MR::TextureBitSet::operator^=. The reference to this object might be preserved in the return value.

Calls MR_TextureBitSet_xor_assign().


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