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

Public Member Functions

 Vector_MR_PixelId_MR_PixelId (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Vector_MR_PixelId_MR_PixelId ()
 Vector_MR_PixelId_MR_PixelId (meshlib.Vector_MR_PixelId_MR_PixelId _other)
 Vector_MR_PixelId_MR_PixelId (long size)
 Vector_MR_PixelId_MR_PixelId (long size, meshlib.PixelId val)
meshlib.Vector_MR_PixelId_MR_PixelId assignFromAnother (meshlib.Vector_MR_PixelId_MR_PixelId _other)
void assign (long count, meshlib.PixelId val)
boolean opEqual (meshlib.Vector_MR_PixelId_MR_PixelId b)
boolean opNotEqual (meshlib.Vector_MR_PixelId_MR_PixelId b)
void clear ()
boolean empty ()
long size ()
long max_size ()
void resize (long newSize)
void resize (long newSize, meshlib.PixelId t)
void resizeNoInit (long targetSize, meshlib.ReserveMode mode)
long capacity ()
void reserve (long capacity)
void shrink_to_fit ()
meshlib.PixelId index (meshlib.PixelId i)
meshlib.PixelId index_mut (meshlib.PixelId i)
void resizeWithReserve (long newSize)
void resizeWithReserve (long newSize, meshlib.PixelId value)
void autoResizeSet (meshlib.PixelId pos, long len, meshlib.PixelId val)
void autoResizeSet (meshlib.PixelId i, meshlib.PixelId val)
meshlib.PixelId autoResizeAt (meshlib.PixelId i)
void push_back_const_MR_PixelId_ref (meshlib.PixelId t)
void push_back_MR_PixelId_rvalue_ref (meshlib.PixelId t)
void pop_back ()
meshlib.PixelId front ()
meshlib.PixelId front_mut ()
meshlib.PixelId back ()
meshlib.PixelId back_mut ()
meshlib.PixelId beginId ()
meshlib.PixelId backId ()
meshlib.PixelId endId ()
meshlib.PixelId data_mut ()
meshlib.PixelId data ()
void swap (meshlib.Vector_MR_PixelId_MR_PixelId b)
long heapBytes ()
meshlib.std_vector_MR_PixelId_MR_Allocator_MR_PixelId vec ()
void setVec (meshlib.std_vector_MR_PixelId_MR_Allocator_MR_PixelId 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<MR::PixelId, MR::PixelId>.

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

Constructor & Destructor Documentation

◆ Vector_MR_PixelId_MR_PixelId() [1/5]

meshlib.Vector_MR_PixelId_MR_PixelId.Vector_MR_PixelId_MR_PixelId ( 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_MR_PixelId_MR_PixelId() [2/5]

meshlib.Vector_MR_PixelId_MR_PixelId.Vector_MR_PixelId_MR_PixelId ( )

creates empty vector

Calls MR_Vector_MR_PixelId_MR_PixelId_DefaultConstruct().

◆ Vector_MR_PixelId_MR_PixelId() [3/5]

meshlib.Vector_MR_PixelId_MR_PixelId.Vector_MR_PixelId_MR_PixelId ( meshlib.Vector_MR_PixelId_MR_PixelId _other)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_ConstructFromAnother().

◆ Vector_MR_PixelId_MR_PixelId() [4/5]

meshlib.Vector_MR_PixelId_MR_PixelId.Vector_MR_PixelId_MR_PixelId ( long size)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_Construct().

◆ Vector_MR_PixelId_MR_PixelId() [5/5]

meshlib.Vector_MR_PixelId_MR_PixelId.Vector_MR_PixelId_MR_PixelId ( long size,
meshlib.PixelId val )

creates a vector with size elements with the given value Generated from constructor MR::Vector<MR::PixelId, MR::PixelId>::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_MR_PixelId_MR_PixelId_Construct_fill().

Member Function Documentation

◆ assign()

void meshlib.Vector_MR_PixelId_MR_PixelId.assign ( long count,
meshlib.PixelId val )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_assign().

◆ assignFromAnother()

meshlib.Vector_MR_PixelId_MR_PixelId meshlib.Vector_MR_PixelId_MR_PixelId.assignFromAnother ( meshlib.Vector_MR_PixelId_MR_PixelId _other)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_AssignFromAnother().

◆ autoResizeAt()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.autoResizeAt ( meshlib.PixelId i)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.Vector_MR_PixelId_MR_PixelId.autoResizeSet ( meshlib.PixelId i,
meshlib.PixelId val )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.Vector_MR_PixelId_MR_PixelId.autoResizeSet ( meshlib.PixelId pos,
long len,
meshlib.PixelId 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<MR::PixelId, MR::PixelId>::autoResizeSet.

Calls MR_Vector_MR_PixelId_MR_PixelId_autoResizeSet_3().

◆ back()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.back ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_back().

◆ back_mut()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.back_mut ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_back_mut().

◆ backId()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.backId ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_backId().

◆ beginId()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.beginId ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_beginId().

◆ capacity()

long meshlib.Vector_MR_PixelId_MR_PixelId.capacity ( )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::capacity.

Calls MR_Vector_MR_PixelId_MR_PixelId_capacity().

◆ clear()

void meshlib.Vector_MR_PixelId_MR_PixelId.clear ( )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::clear.

Calls MR_Vector_MR_PixelId_MR_PixelId_clear().

◆ data()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.data ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_data().

◆ data_mut()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.data_mut ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_data_mut().

◆ empty()

boolean meshlib.Vector_MR_PixelId_MR_PixelId.empty ( )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::empty.

Calls MR_Vector_MR_PixelId_MR_PixelId_empty().

◆ endId()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.endId ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_endId().

◆ front()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.front ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_front().

◆ front_mut()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.front_mut ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_front_mut().

◆ heapBytes()

long meshlib.Vector_MR_PixelId_MR_PixelId.heapBytes ( )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_heapBytes().

◆ index()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.index ( meshlib.PixelId i)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_index().

◆ index_mut()

meshlib.PixelId meshlib.Vector_MR_PixelId_MR_PixelId.index_mut ( meshlib.PixelId i)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_index_mut().

◆ max_size()

long meshlib.Vector_MR_PixelId_MR_PixelId.max_size ( )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::max_size.

Calls MR_Vector_MR_PixelId_MR_PixelId_max_size().

◆ opEqual()

boolean meshlib.Vector_MR_PixelId_MR_PixelId.opEqual ( meshlib.Vector_MR_PixelId_MR_PixelId b)

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::operator==.

Calls MR_equal_MR_Vector_MR_PixelId_MR_PixelId().

◆ opNotEqual()

boolean meshlib.Vector_MR_PixelId_MR_PixelId.opNotEqual ( meshlib.Vector_MR_PixelId_MR_PixelId b)

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::operator!=.

Calls MR_not_equal_MR_Vector_MR_PixelId_MR_PixelId().

◆ pop_back()

void meshlib.Vector_MR_PixelId_MR_PixelId.pop_back ( )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::pop_back.

Calls MR_Vector_MR_PixelId_MR_PixelId_pop_back().

◆ push_back_const_MR_PixelId_ref()

void meshlib.Vector_MR_PixelId_MR_PixelId.push_back_const_MR_PixelId_ref ( meshlib.PixelId t)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_push_back_const_MR_PixelId_ref().

◆ push_back_MR_PixelId_rvalue_ref()

void meshlib.Vector_MR_PixelId_MR_PixelId.push_back_MR_PixelId_rvalue_ref ( meshlib.PixelId t)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_push_back_MR_PixelId_rvalue_ref().

◆ reserve()

void meshlib.Vector_MR_PixelId_MR_PixelId.reserve ( long capacity)

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::reserve.

Calls MR_Vector_MR_PixelId_MR_PixelId_reserve().

◆ resize() [1/2]

void meshlib.Vector_MR_PixelId_MR_PixelId.resize ( long newSize)

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::resize.

Calls MR_Vector_MR_PixelId_MR_PixelId_resize_1().

◆ resize() [2/2]

void meshlib.Vector_MR_PixelId_MR_PixelId.resize ( long newSize,
meshlib.PixelId t )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::resize.

Calls MR_Vector_MR_PixelId_MR_PixelId_resize_2().

◆ resizeNoInit()

void meshlib.Vector_MR_PixelId_MR_PixelId.resizeNoInit ( long targetSize,
meshlib.ReserveMode mode )

resizes the vector skipping initialization of its elements (more precisely initializing them using ( noInit ) constructor ) Generated from method MR::Vector<MR::PixelId, MR::PixelId>::resizeNoInit.

Calls MR_Vector_MR_PixelId_MR_PixelId_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.Vector_MR_PixelId_MR_PixelId.resizeWithReserve ( long newSize)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.Vector_MR_PixelId_MR_PixelId.resizeWithReserve ( long newSize,
meshlib.PixelId value )

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

Calls MR_Vector_MR_PixelId_MR_PixelId_resizeWithReserve_2().

◆ setVec()

void meshlib.Vector_MR_PixelId_MR_PixelId.setVec ( meshlib.std_vector_MR_PixelId_MR_Allocator_MR_PixelId value)

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

Calls MR_Vector_MR_PixelId_MR_PixelId_Set_vec().

◆ shrink_to_fit()

void meshlib.Vector_MR_PixelId_MR_PixelId.shrink_to_fit ( )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::shrink_to_fit.

Calls MR_Vector_MR_PixelId_MR_PixelId_shrink_to_fit().

◆ size()

long meshlib.Vector_MR_PixelId_MR_PixelId.size ( )

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::size.

Calls MR_Vector_MR_PixelId_MR_PixelId_size().

◆ swap()

void meshlib.Vector_MR_PixelId_MR_PixelId.swap ( meshlib.Vector_MR_PixelId_MR_PixelId b)

Generated from method MR::Vector<MR::PixelId, MR::PixelId>::swap.

Calls MR_Vector_MR_PixelId_MR_PixelId_swap().

◆ vec()

meshlib.std_vector_MR_PixelId_MR_Allocator_MR_PixelId meshlib.Vector_MR_PixelId_MR_PixelId.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<MR::PixelId, MR::PixelId> named vec. The reference to this object might be preserved as the return value.

Calls MR_Vector_MR_PixelId_MR_PixelId_Get_vec().


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