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

Public Member Functions

 PixelBitSet (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PixelBitSet ()
 PixelBitSet (meshlib.PixelBitSet _other)
 PixelBitSet (long numBits, java.lang.Boolean fillValue)
meshlib.PixelBitSet assignFromAnother (meshlib.PixelBitSet _other)
meshlib.PixelBitSet set (meshlib.PixelId n, long len, boolean val)
meshlib.PixelBitSet set (meshlib.PixelId n, boolean val)
meshlib.PixelBitSet set (meshlib.PixelId n)
meshlib.PixelBitSet set ()
boolean atomicTestSet (meshlib.PixelId n)
meshlib.PixelBitSet reset (meshlib.PixelId n, long len)
meshlib.PixelBitSet reset (meshlib.PixelId n)
meshlib.PixelBitSet reset ()
meshlib.PixelBitSet flip (meshlib.PixelId n, long len)
meshlib.PixelBitSet flip (meshlib.PixelId n)
meshlib.PixelBitSet flip ()
boolean test (meshlib.PixelId n)
boolean test_set (meshlib.PixelId n, java.lang.Boolean val)
meshlib.PixelId find_first ()
meshlib.PixelId find_next (meshlib.PixelId pos)
meshlib.PixelId find_last ()
meshlib.PixelId find_first_not_set ()
meshlib.PixelId find_next_not_set (meshlib.PixelId pos)
meshlib.PixelId find_last_not_set ()
meshlib.PixelId nthSetBit (long n)
meshlib.PixelBitSet bitand_assign (meshlib.PixelBitSet b)
meshlib.PixelBitSet bitor_assign (meshlib.PixelBitSet b)
meshlib.PixelBitSet xor_assign (meshlib.PixelBitSet b)
meshlib.PixelBitSet sub_assign (meshlib.PixelBitSet b)
meshlib.PixelBitSet subtract (meshlib.PixelBitSet b, int bShiftInBlocks)
boolean is_subset_of (meshlib.PixelBitSet a)
boolean intersects (meshlib.PixelBitSet a)
void autoResizeSet (meshlib.PixelId pos, long len, java.lang.Boolean val)
void autoResizeSet (meshlib.PixelId pos, java.lang.Boolean val)
boolean autoResizeTestSet (meshlib.PixelId pos, java.lang.Boolean val)
meshlib.PixelBitSet getMapping (meshlib.Vector_MR_PixelId_MR_PixelId map)
meshlib.PixelBitSet getMapping (meshlib.BMap_MR_PixelId_MR_PixelId map)
meshlib.PixelBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_PixelId_MR_PixelId_phmap_Hash_MR_PixelId_phmap_EqualTo_MR_PixelId_MR_Allocato__6f53a6cf map)
meshlib.PixelBitSet getMapping (meshlib.Vector_MR_PixelId_MR_PixelId map, long resSize)
meshlib.PixelBitSet getMapping (meshlib.phmap.phmap_flat_hash_map_MR_PixelId_MR_PixelId_phmap_Hash_MR_PixelId_phmap_EqualTo_MR_PixelId_MR_Allocato__6f53a6cf map, long resSize)
meshlib.PixelId backId ()
meshlib.PixelId 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.PixelBitSet construct_1_const_MR_BitSet_ref (meshlib.BitSet src)
static meshlib.PixelBitSet construct_1_MR_BitSet_rvalue_ref (meshlib.BitSet src)
static meshlib.PixelId 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.PixelBitSet 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::PixelBitSet. Base classes: Direct: (non-virtual) MR::BitSet

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

Constructor & Destructor Documentation

◆ PixelBitSet() [1/4]

meshlib.PixelBitSet.PixelBitSet ( 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.

◆ PixelBitSet() [2/4]

meshlib.PixelBitSet.PixelBitSet ( )

Constructs an empty (default-constructed) instance.

Calls MR_PixelBitSet_DefaultConstruct().

◆ PixelBitSet() [3/4]

meshlib.PixelBitSet.PixelBitSet ( meshlib.PixelBitSet _other)

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

Calls MR_PixelBitSet_ConstructFromAnother().

◆ PixelBitSet() [4/4]

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

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

Calls MR_PixelBitSet_Construct_2().

Member Function Documentation

◆ all()

boolean meshlib.PixelBitSet.all ( )

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

Calls MR_PixelBitSet_all().

◆ any()

boolean meshlib.PixelBitSet.any ( )

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

Calls MR_PixelBitSet_any().

◆ assignFromAnother()

meshlib.PixelBitSet meshlib.PixelBitSet.assignFromAnother ( meshlib.PixelBitSet _other)

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

Calls MR_PixelBitSet_AssignFromAnother().

◆ atomicTestSet()

boolean meshlib.PixelBitSet.atomicTestSet ( meshlib.PixelId n)

Generated from method MR::PixelBitSet::atomicTestSet.

Calls MR_PixelBitSet_atomicTestSet().

◆ autoResizeSet() [1/2]

void meshlib.PixelBitSet.autoResizeSet ( meshlib.PixelId pos,
java.lang.Boolean val )

Generated from method MR::PixelBitSet::autoResizeSet.

Calls MR_PixelBitSet_autoResizeSet().

◆ autoResizeSet() [2/2]

void meshlib.PixelBitSet.autoResizeSet ( meshlib.PixelId pos,
long len,
java.lang.Boolean val )

Generated from method MR::PixelBitSet::autoResizeSet.

Calls MR_PixelBitSet_autoResizeSet_range().

◆ autoResizeTestSet()

boolean meshlib.PixelBitSet.autoResizeTestSet ( meshlib.PixelId pos,
java.lang.Boolean val )

Generated from method MR::PixelBitSet::autoResizeTestSet.

Calls MR_PixelBitSet_autoResizeTestSet().

◆ backId()

meshlib.PixelId meshlib.PixelBitSet.backId ( )

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

Calls MR_PixelBitSet_backId().

◆ beginId()

meshlib.PixelId meshlib.PixelBitSet.beginId ( )
static

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

Calls MR_PixelBitSet_beginId().

◆ bitand_assign()

meshlib.PixelBitSet meshlib.PixelBitSet.bitand_assign ( meshlib.PixelBitSet b)

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

Calls MR_PixelBitSet_bitand_assign().

◆ bitor_assign()

meshlib.PixelBitSet meshlib.PixelBitSet.bitor_assign ( meshlib.PixelBitSet b)

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

Calls MR_PixelBitSet_bitor_assign().

◆ bits()

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

Calls MR_PixelBitSet_bits().

◆ bits_per_block()

long meshlib.PixelBitSet.bits_per_block ( )
static

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

Calls MR_PixelBitSet_Get_bits_per_block().

◆ capacity()

long meshlib.PixelBitSet.capacity ( )

Generated from method MR::PixelBitSet::capacity.

Calls MR_PixelBitSet_capacity().

◆ clear()

void meshlib.PixelBitSet.clear ( )

Generated from method MR::PixelBitSet::clear.

Calls MR_PixelBitSet_clear().

◆ construct_1_const_MR_BitSet_ref()

meshlib.PixelBitSet meshlib.PixelBitSet.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::PixelBitSet::PixelBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_PixelBitSet_Construct_1_const_MR_BitSet_ref().

◆ construct_1_MR_BitSet_rvalue_ref()

meshlib.PixelBitSet meshlib.PixelBitSet.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::PixelBitSet::PixelBitSet. The reference to the parameter src might be preserved in the constructed object.

Calls MR_PixelBitSet_Construct_1_MR_BitSet_rvalue_ref().

◆ count()

long meshlib.PixelBitSet.count ( )

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

Calls MR_PixelBitSet_count().

◆ countBitsAndBlocks()

meshlib.BitSet_Counts meshlib.PixelBitSet.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::PixelBitSet::countBitsAndBlocks.

Calls MR_PixelBitSet_countBitsAndBlocks().

◆ empty()

boolean meshlib.PixelBitSet.empty ( )

Generated from method MR::PixelBitSet::empty.

Calls MR_PixelBitSet_empty().

◆ endId()

meshlib.PixelId meshlib.PixelBitSet.endId ( )

Generated from method MR::PixelBitSet::endId.

Calls MR_PixelBitSet_endId().

◆ find_first()

meshlib.PixelId meshlib.PixelBitSet.find_first ( )

Generated from method MR::PixelBitSet::find_first.

Calls MR_PixelBitSet_find_first().

◆ find_first_not_set()

meshlib.PixelId meshlib.PixelBitSet.find_first_not_set ( )

Generated from method MR::PixelBitSet::find_first_not_set.

Calls MR_PixelBitSet_find_first_not_set().

◆ find_last()

meshlib.PixelId meshlib.PixelBitSet.find_last ( )

Generated from method MR::PixelBitSet::find_last.

Calls MR_PixelBitSet_find_last().

◆ find_last_not_set()

meshlib.PixelId meshlib.PixelBitSet.find_last_not_set ( )

Generated from method MR::PixelBitSet::find_last_not_set.

Calls MR_PixelBitSet_find_last_not_set().

◆ find_next()

meshlib.PixelId meshlib.PixelBitSet.find_next ( meshlib.PixelId pos)

Generated from method MR::PixelBitSet::find_next.

Calls MR_PixelBitSet_find_next().

◆ find_next_not_set()

meshlib.PixelId meshlib.PixelBitSet.find_next_not_set ( meshlib.PixelId pos)

Generated from method MR::PixelBitSet::find_next_not_set.

Calls MR_PixelBitSet_find_next_not_set().

◆ flip() [1/3]

meshlib.PixelBitSet meshlib.PixelBitSet.flip ( )

Generated from method MR::PixelBitSet::flip.

Calls MR_PixelBitSet_flip_0().

◆ flip() [2/3]

meshlib.PixelBitSet meshlib.PixelBitSet.flip ( meshlib.PixelId n)

Generated from method MR::PixelBitSet::flip.

Calls MR_PixelBitSet_flip_1().

◆ flip() [3/3]

meshlib.PixelBitSet meshlib.PixelBitSet.flip ( meshlib.PixelId n,
long len )

Generated from method MR::PixelBitSet::flip.

Calls MR_PixelBitSet_flip_2().

◆ fromBlocks()

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

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

Calls MR_PixelBitSet_fromBlocks().

◆ getMapping() [1/5]

meshlib.PixelBitSet meshlib.PixelBitSet.getMapping ( meshlib.BMap_MR_PixelId_MR_PixelId map)

Generated from method MR::PixelBitSet::getMapping.

Calls MR_PixelBitSet_getMapping_1_MR_BMap_MR_PixelId_MR_PixelId().

◆ getMapping() [2/5]

Generated from method MR::PixelBitSet::getMapping.

Calls MR_PixelBitSet_getMapping_1_phmap_flat_hash_map_MR_PixelId_MR_PixelId_phmap_Hash_MR_PixelId_phmap_EqualTo_MR_PixelId_MR_Allocator_std_pair_const_MR_PixelId_MR_PixelId().

◆ getMapping() [3/5]

Generated from method MR::PixelBitSet::getMapping.

Calls MR_PixelBitSet_getMapping_2_phmap_flat_hash_map_MR_PixelId_MR_PixelId_phmap_Hash_MR_PixelId_phmap_EqualTo_MR_PixelId_MR_Allocator_std_pair_const_MR_PixelId_MR_PixelId().

◆ getMapping() [4/5]

meshlib.PixelBitSet meshlib.PixelBitSet.getMapping ( meshlib.Vector_MR_PixelId_MR_PixelId map)

Generated from method MR::PixelBitSet::getMapping.

Calls MR_PixelBitSet_getMapping_1_MR_Vector_MR_PixelId_MR_PixelId().

◆ getMapping() [5/5]

meshlib.PixelBitSet meshlib.PixelBitSet.getMapping ( meshlib.Vector_MR_PixelId_MR_PixelId map,
long resSize )

Generated from method MR::PixelBitSet::getMapping.

Calls MR_PixelBitSet_getMapping_2_MR_Vector_MR_PixelId_MR_PixelId().

◆ heapBytes()

long meshlib.PixelBitSet.heapBytes ( )

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

Calls MR_PixelBitSet_heapBytes().

◆ intersects()

boolean meshlib.PixelBitSet.intersects ( meshlib.PixelBitSet 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::PixelBitSet::intersects.

Calls MR_PixelBitSet_intersects().

◆ is_subset_of()

boolean meshlib.PixelBitSet.is_subset_of ( meshlib.PixelBitSet 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::PixelBitSet::is_subset_of.

Calls MR_PixelBitSet_is_subset_of().

◆ none()

boolean meshlib.PixelBitSet.none ( )

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

Calls MR_PixelBitSet_none().

◆ npos()

long meshlib.PixelBitSet.npos ( )
static

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

Calls MR_PixelBitSet_Get_npos().

◆ nthSetBit()

meshlib.PixelId meshlib.PixelBitSet.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::PixelBitSet::nthSetBit.

Calls MR_PixelBitSet_nthSetBit().

◆ num_blocks()

long meshlib.PixelBitSet.num_blocks ( )

Generated from method MR::PixelBitSet::num_blocks.

Calls MR_PixelBitSet_num_blocks().

◆ pop_back()

void meshlib.PixelBitSet.pop_back ( )

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

Calls MR_PixelBitSet_pop_back().

◆ push_back()

void meshlib.PixelBitSet.push_back ( boolean val)

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

Calls MR_PixelBitSet_push_back().

◆ reserve()

void meshlib.PixelBitSet.reserve ( long numBits)

Generated from method MR::PixelBitSet::reserve.

Calls MR_PixelBitSet_reserve().

◆ reset() [1/3]

meshlib.PixelBitSet meshlib.PixelBitSet.reset ( )

Generated from method MR::PixelBitSet::reset.

Calls MR_PixelBitSet_reset_0().

◆ reset() [2/3]

meshlib.PixelBitSet meshlib.PixelBitSet.reset ( meshlib.PixelId n)

Generated from method MR::PixelBitSet::reset.

Calls MR_PixelBitSet_reset_1().

◆ reset() [3/3]

meshlib.PixelBitSet meshlib.PixelBitSet.reset ( meshlib.PixelId n,
long len )

Generated from method MR::PixelBitSet::reset.

Calls MR_PixelBitSet_reset_2().

◆ resize()

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

Generated from method MR::PixelBitSet::resize.

Calls MR_PixelBitSet_resize().

◆ resizeWithReserve()

void meshlib.PixelBitSet.resizeWithReserve ( long newSize)

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

Calls MR_PixelBitSet_resizeWithReserve().

◆ reverse()

void meshlib.PixelBitSet.reverse ( )

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

Calls MR_PixelBitSet_reverse().

◆ set() [1/4]

meshlib.PixelBitSet meshlib.PixelBitSet.set ( )

Generated from method MR::PixelBitSet::set.

Calls MR_PixelBitSet_set_all().

◆ set() [2/4]

meshlib.PixelBitSet meshlib.PixelBitSet.set ( meshlib.PixelId n)

Generated from method MR::PixelBitSet::set.

Calls MR_PixelBitSet_set_bit().

◆ set() [3/4]

meshlib.PixelBitSet meshlib.PixelBitSet.set ( meshlib.PixelId n,
boolean val )

Generated from method MR::PixelBitSet::set.

Calls MR_PixelBitSet_set().

◆ set() [4/4]

meshlib.PixelBitSet meshlib.PixelBitSet.set ( meshlib.PixelId n,
long len,
boolean val )

Generated from method MR::PixelBitSet::set.

Calls MR_PixelBitSet_set_range().

◆ shrink_to_fit()

void meshlib.PixelBitSet.shrink_to_fit ( )

Generated from method MR::PixelBitSet::shrink_to_fit.

Calls MR_PixelBitSet_shrink_to_fit().

◆ size()

long meshlib.PixelBitSet.size ( )

Generated from method MR::PixelBitSet::size.

Calls MR_PixelBitSet_size().

◆ staticDowncastFromBitSet()

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

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

Calls MR_PixelBitSet_MutableStaticDowncastFrom_MR_BitSet().

◆ sub_assign()

meshlib.PixelBitSet meshlib.PixelBitSet.sub_assign ( meshlib.PixelBitSet b)

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

Calls MR_PixelBitSet_sub_assign().

◆ subtract()

meshlib.PixelBitSet meshlib.PixelBitSet.subtract ( meshlib.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.

Calls MR_PixelBitSet_subtract().

◆ test()

boolean meshlib.PixelBitSet.test ( meshlib.PixelId n)

Generated from method MR::PixelBitSet::test.

Calls MR_PixelBitSet_test().

◆ test_set()

boolean meshlib.PixelBitSet.test_set ( meshlib.PixelId n,
java.lang.Boolean val )

Generated from method MR::PixelBitSet::test_set.

Calls MR_PixelBitSet_test_set().

◆ uncheckedTest()

boolean meshlib.PixelBitSet.uncheckedTest ( long n)

Generated from method MR::PixelBitSet::uncheckedTest.

Calls MR_PixelBitSet_uncheckedTest().

◆ uncheckedTestSet()

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

Generated from method MR::PixelBitSet::uncheckedTestSet.

Calls MR_PixelBitSet_uncheckedTestSet().

◆ upcastToBitSet()

meshlib.BitSet meshlib.PixelBitSet.upcastToBitSet ( )

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

Calls MR_PixelBitSet_MutableUpcastTo_MR_BitSet().

◆ xor_assign()

meshlib.PixelBitSet meshlib.PixelBitSet.xor_assign ( meshlib.PixelBitSet b)

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

Calls MR_PixelBitSet_xor_assign().


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