MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.Vector_unsigned_short_MR_VoxelId Class Reference
Inheritance diagram for meshlib.Vector_unsigned_short_MR_VoxelId:

Public Member Functions

 Vector_unsigned_short_MR_VoxelId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Vector_unsigned_short_MR_VoxelId ()
 Vector_unsigned_short_MR_VoxelId (meshlib.Vector_unsigned_short_MR_VoxelId _other)
 Vector_unsigned_short_MR_VoxelId (long size)
 Vector_unsigned_short_MR_VoxelId (long size, short val)
meshlib.Vector_unsigned_short_MR_VoxelId assignFromAnother (meshlib.Vector_unsigned_short_MR_VoxelId _other)
void assign (long count, short val)
boolean opEqual (meshlib.Vector_unsigned_short_MR_VoxelId b)
boolean opNotEqual (meshlib.Vector_unsigned_short_MR_VoxelId b)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize)
void resize (long newSize, short t)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
short index (meshlib.VoxelId i)
java.lang.foreign.MemorySegment index_mut (meshlib.VoxelId i)
void resizeWithReserve (long newSize)
void resizeWithReserve (long newSize, short value)
void autoResizeSet (meshlib.VoxelId pos, long len, short val)
void autoResizeSet (meshlib.VoxelId i, short val)
java.lang.foreign.MemorySegment autoResizeAt (meshlib.VoxelId i)
void push_back_unsigned_const_short_ref (short t)
void push_back_unsigned_short_rvalue_ref (short t)
void pop_back ()
short front ()
java.lang.foreign.MemorySegment front_mut ()
short back ()
java.lang.foreign.MemorySegment back_mut ()
meshlib.VoxelId beginId ()
meshlib.VoxelId backId ()
meshlib.VoxelId endId ()
java.lang.foreign.MemorySegment data_mut ()
java.lang.Short data ()
void swap (meshlib.Vector_unsigned_short_MR_VoxelId b)
long heapBytes ()
meshlib.std_vector_unsigned_short_MR_Allocator_unsigned_short vec ()
void setVec (meshlib.std_vector_unsigned_short_MR_Allocator_unsigned_short value)
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 ()

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<T> is indexed by size_t Generated from class MR::Vector<unsigned short, MR::VoxelId>.

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

Constructor & Destructor Documentation

◆ Vector_unsigned_short_MR_VoxelId() [1/5]

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

◆ Vector_unsigned_short_MR_VoxelId() [2/5]

meshlib.Vector_unsigned_short_MR_VoxelId.Vector_unsigned_short_MR_VoxelId ( )

creates empty vector

Calls MR_Vector_unsigned_short_MR_VoxelId_DefaultConstruct().

◆ Vector_unsigned_short_MR_VoxelId() [3/5]

meshlib.Vector_unsigned_short_MR_VoxelId.Vector_unsigned_short_MR_VoxelId ( meshlib.Vector_unsigned_short_MR_VoxelId _other)

Generated from constructor MR::Vector<unsigned short, MR::VoxelId>::Vector. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Vector_unsigned_short_MR_VoxelId_ConstructFromAnother().

◆ Vector_unsigned_short_MR_VoxelId() [4/5]

meshlib.Vector_unsigned_short_MR_VoxelId.Vector_unsigned_short_MR_VoxelId ( long size)

creates a vector with size elements with default value Generated from constructor MR::Vector<unsigned short, MR::VoxelId>::Vector. The reference to the parameter size might be preserved in the constructed object.

Calls MR_Vector_unsigned_short_MR_VoxelId_Construct().

◆ Vector_unsigned_short_MR_VoxelId() [5/5]

meshlib.Vector_unsigned_short_MR_VoxelId.Vector_unsigned_short_MR_VoxelId ( long size,
short val )

creates a vector with size elements with the given value Generated from constructor MR::Vector<unsigned short, MR::VoxelId>::Vector. The reference to the parameter size might be preserved in the constructed object. The reference to the parameter val might be preserved in the constructed object.

Calls MR_Vector_unsigned_short_MR_VoxelId_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.Vector_unsigned_short_MR_VoxelId.assign ( long count,
short val )

replaces the contents with count copies of val Generated from method MR::Vector<unsigned short, MR::VoxelId>::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.

Calls MR_Vector_unsigned_short_MR_VoxelId_assign().

◆ assignFromAnother()

meshlib.Vector_unsigned_short_MR_VoxelId meshlib.Vector_unsigned_short_MR_VoxelId.assignFromAnother ( meshlib.Vector_unsigned_short_MR_VoxelId _other)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Vector_unsigned_short_MR_VoxelId_AssignFromAnother().

◆ autoResizeAt()

java.lang.foreign.MemorySegment meshlib.Vector_unsigned_short_MR_VoxelId.autoResizeAt ( meshlib.VoxelId i)

this accessor automatically adjusts the size of the vector Generated from method MR::Vector<unsigned short, MR::VoxelId>::autoResizeAt.

Calls MR_Vector_unsigned_short_MR_VoxelId_autoResizeAt(). Some types are raw C types, see the C bindings for the details.

◆ autoResizeSet() [1/2]

void meshlib.Vector_unsigned_short_MR_VoxelId.autoResizeSet ( meshlib.VoxelId i,
short val )

sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::Vector<unsigned short, MR::VoxelId>::autoResizeSet.

Calls MR_Vector_unsigned_short_MR_VoxelId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_unsigned_short_MR_VoxelId.autoResizeSet ( meshlib.VoxelId pos,
long len,
short val )

sets elements [pos, pos+len) to the given value, adjusting the size of the vector to include new elements; the elements in between old size and pos are also set to val (for faster implementation) Generated from method MR::Vector<unsigned short, MR::VoxelId>::autoResizeSet.

Calls MR_Vector_unsigned_short_MR_VoxelId_autoResizeSet_3().

◆ back()

short meshlib.Vector_unsigned_short_MR_VoxelId.back ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_back().

◆ back_mut()

java.lang.foreign.MemorySegment meshlib.Vector_unsigned_short_MR_VoxelId.back_mut ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::back. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_back_mut(). Some types are raw C types, see the C bindings for the details.

◆ backId()

meshlib.VoxelId meshlib.Vector_unsigned_short_MR_VoxelId.backId ( )

returns the identifier of the back() element Generated from method MR::Vector<unsigned short, MR::VoxelId>::backId.

Calls MR_Vector_unsigned_short_MR_VoxelId_backId().

◆ beginId()

meshlib.VoxelId meshlib.Vector_unsigned_short_MR_VoxelId.beginId ( )

returns the identifier of the first element Generated from method MR::Vector<unsigned short, MR::VoxelId>::beginId.

Calls MR_Vector_unsigned_short_MR_VoxelId_beginId().

◆ capacity()

long meshlib.Vector_unsigned_short_MR_VoxelId.capacity ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::capacity.

Calls MR_Vector_unsigned_short_MR_VoxelId_capacity().

◆ clear()

void meshlib.Vector_unsigned_short_MR_VoxelId.clear ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::clear.

Calls MR_Vector_unsigned_short_MR_VoxelId_clear().

◆ data()

java.lang.Short meshlib.Vector_unsigned_short_MR_VoxelId.data ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_data().

◆ data_mut()

java.lang.foreign.MemorySegment meshlib.Vector_unsigned_short_MR_VoxelId.data_mut ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::data. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_data_mut(). Some types are raw C types, see the C bindings for the details.

◆ empty()

boolean meshlib.Vector_unsigned_short_MR_VoxelId.empty ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::empty.

Calls MR_Vector_unsigned_short_MR_VoxelId_empty().

◆ endId()

meshlib.VoxelId meshlib.Vector_unsigned_short_MR_VoxelId.endId ( )

returns backId() + 1 Generated from method MR::Vector<unsigned short, MR::VoxelId>::endId.

Calls MR_Vector_unsigned_short_MR_VoxelId_endId().

◆ front()

short meshlib.Vector_unsigned_short_MR_VoxelId.front ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_front().

◆ front_mut()

java.lang.foreign.MemorySegment meshlib.Vector_unsigned_short_MR_VoxelId.front_mut ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::front. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_front_mut(). Some types are raw C types, see the C bindings for the details.

◆ heapBytes()

long meshlib.Vector_unsigned_short_MR_VoxelId.heapBytes ( )

returns the amount of memory this object occupies on heap Generated from method MR::Vector<unsigned short, MR::VoxelId>::heapBytes.

Calls MR_Vector_unsigned_short_MR_VoxelId_heapBytes().

◆ index()

short meshlib.Vector_unsigned_short_MR_VoxelId.index ( meshlib.VoxelId i)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_index().

◆ index_mut()

java.lang.foreign.MemorySegment meshlib.Vector_unsigned_short_MR_VoxelId.index_mut ( meshlib.VoxelId i)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator[]. The reference to this object might be preserved in the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_index_mut(). Some types are raw C types, see the C bindings for the details.

◆ max_size()

long meshlib.Vector_unsigned_short_MR_VoxelId.max_size ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::max_size.

Calls MR_Vector_unsigned_short_MR_VoxelId_max_size().

◆ opEqual()

boolean meshlib.Vector_unsigned_short_MR_VoxelId.opEqual ( meshlib.Vector_unsigned_short_MR_VoxelId b)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator==.

Calls MR_equal_MR_Vector_unsigned_short_MR_VoxelId().

◆ opNotEqual()

boolean meshlib.Vector_unsigned_short_MR_VoxelId.opNotEqual ( meshlib.Vector_unsigned_short_MR_VoxelId b)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::operator!=.

Calls MR_not_equal_MR_Vector_unsigned_short_MR_VoxelId().

◆ pop_back()

void meshlib.Vector_unsigned_short_MR_VoxelId.pop_back ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::pop_back.

Calls MR_Vector_unsigned_short_MR_VoxelId_pop_back().

◆ push_back_unsigned_const_short_ref()

void meshlib.Vector_unsigned_short_MR_VoxelId.push_back_unsigned_const_short_ref ( short t)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_unsigned_short_MR_VoxelId_push_back_unsigned_const_short_ref().

◆ push_back_unsigned_short_rvalue_ref()

void meshlib.Vector_unsigned_short_MR_VoxelId.push_back_unsigned_short_rvalue_ref ( short t)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.

Calls MR_Vector_unsigned_short_MR_VoxelId_push_back_unsigned_short_rvalue_ref().

◆ reserve()

void meshlib.Vector_unsigned_short_MR_VoxelId.reserve ( long capacity)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::reserve.

Calls MR_Vector_unsigned_short_MR_VoxelId_reserve().

◆ resize() [1/2]

void meshlib.Vector_unsigned_short_MR_VoxelId.resize ( long newSize)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::resize.

Calls MR_Vector_unsigned_short_MR_VoxelId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_unsigned_short_MR_VoxelId.resize ( long newSize,
short t )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::resize.

Calls MR_Vector_unsigned_short_MR_VoxelId_resize_2().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_unsigned_short_MR_VoxelId.resizeWithReserve ( long newSize)

same as resize(newSize), which already grows the capacity geometrically Generated from method MR::Vector<unsigned short, MR::VoxelId>::resizeWithReserve.

Calls MR_Vector_unsigned_short_MR_VoxelId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_unsigned_short_MR_VoxelId.resizeWithReserve ( long newSize,
short value )

same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::Vector<unsigned short, MR::VoxelId>::resizeWithReserve.

Calls MR_Vector_unsigned_short_MR_VoxelId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_unsigned_short_MR_VoxelId.setVec ( meshlib.std_vector_unsigned_short_MR_Allocator_unsigned_short value)

The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::Vector<unsigned short, MR::VoxelId> named vec. The reference to the parameter value might be preserved in this object in element vec.

Calls MR_Vector_unsigned_short_MR_VoxelId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_unsigned_short_MR_VoxelId.shrink_to_fit ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::shrink_to_fit.

Calls MR_Vector_unsigned_short_MR_VoxelId_shrink_to_fit().

◆ size()

long meshlib.Vector_unsigned_short_MR_VoxelId.size ( )

Generated from method MR::Vector<unsigned short, MR::VoxelId>::size.

Calls MR_Vector_unsigned_short_MR_VoxelId_size().

◆ swap()

void meshlib.Vector_unsigned_short_MR_VoxelId.swap ( meshlib.Vector_unsigned_short_MR_VoxelId b)

Generated from method MR::Vector<unsigned short, MR::VoxelId>::swap.

Calls MR_Vector_unsigned_short_MR_VoxelId_swap().

◆ vec()

meshlib.std_vector_unsigned_short_MR_Allocator_unsigned_short meshlib.Vector_unsigned_short_MR_VoxelId.vec ( )

The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::Vector<unsigned short, MR::VoxelId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_unsigned_short_MR_VoxelId_Get_vec().


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