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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ TexturePerFace() [1/5]

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

◆ TexturePerFace() [2/5]

meshlib.TexturePerFace.TexturePerFace ( )

creates empty vector

Calls MR_TexturePerFace_DefaultConstruct().

◆ TexturePerFace() [3/5]

meshlib.TexturePerFace.TexturePerFace ( meshlib.TexturePerFace _other)

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

Calls MR_TexturePerFace_ConstructFromAnother().

◆ TexturePerFace() [4/5]

meshlib.TexturePerFace.TexturePerFace ( long size)

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

Calls MR_TexturePerFace_Construct().

◆ TexturePerFace() [5/5]

meshlib.TexturePerFace.TexturePerFace ( long size,
meshlib.TextureId val )

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

Member Function Documentation

◆ assign()

void meshlib.TexturePerFace.assign ( long count,
meshlib.TextureId val )

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

Calls MR_TexturePerFace_assign().

◆ assignFromAnother()

meshlib.TexturePerFace meshlib.TexturePerFace.assignFromAnother ( meshlib.TexturePerFace _other)

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

Calls MR_TexturePerFace_AssignFromAnother().

◆ autoResizeAt()

meshlib.TextureId meshlib.TexturePerFace.autoResizeAt ( meshlib.FaceId i)

this accessor automatically adjusts the size of the vector Generated from method MR::TexturePerFace::autoResizeAt.

Calls MR_TexturePerFace_autoResizeAt().

◆ autoResizeSet() [1/2]

void meshlib.TexturePerFace.autoResizeSet ( meshlib.FaceId i,
meshlib.TextureId val )

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

Calls MR_TexturePerFace_autoResizeSet_2().

◆ autoResizeSet() [2/2]

void meshlib.TexturePerFace.autoResizeSet ( meshlib.FaceId pos,
long len,
meshlib.TextureId 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::TexturePerFace::autoResizeSet.

Calls MR_TexturePerFace_autoResizeSet_3().

◆ back()

meshlib.TextureId meshlib.TexturePerFace.back ( )

Generated from method MR::TexturePerFace::back. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_back().

◆ back_mut()

meshlib.TextureId meshlib.TexturePerFace.back_mut ( )

Generated from method MR::TexturePerFace::back. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_back_mut().

◆ backId()

meshlib.FaceId meshlib.TexturePerFace.backId ( )

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

Calls MR_TexturePerFace_backId().

◆ beginId()

meshlib.FaceId meshlib.TexturePerFace.beginId ( )

returns the identifier of the first element Generated from method MR::TexturePerFace::beginId.

Calls MR_TexturePerFace_beginId().

◆ capacity()

long meshlib.TexturePerFace.capacity ( )

Generated from method MR::TexturePerFace::capacity.

Calls MR_TexturePerFace_capacity().

◆ clear()

void meshlib.TexturePerFace.clear ( )

Generated from method MR::TexturePerFace::clear.

Calls MR_TexturePerFace_clear().

◆ data()

meshlib.TextureId meshlib.TexturePerFace.data ( )

Generated from method MR::TexturePerFace::data. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_data().

◆ data_mut()

meshlib.TextureId meshlib.TexturePerFace.data_mut ( )

Generated from method MR::TexturePerFace::data. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_data_mut().

◆ empty()

boolean meshlib.TexturePerFace.empty ( )

Generated from method MR::TexturePerFace::empty.

Calls MR_TexturePerFace_empty().

◆ endId()

meshlib.FaceId meshlib.TexturePerFace.endId ( )

returns backId() + 1 Generated from method MR::TexturePerFace::endId.

Calls MR_TexturePerFace_endId().

◆ front()

meshlib.TextureId meshlib.TexturePerFace.front ( )

Generated from method MR::TexturePerFace::front. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_front().

◆ front_mut()

meshlib.TextureId meshlib.TexturePerFace.front_mut ( )

Generated from method MR::TexturePerFace::front. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_front_mut().

◆ heapBytes()

long meshlib.TexturePerFace.heapBytes ( )

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

Calls MR_TexturePerFace_heapBytes().

◆ index()

meshlib.TextureId meshlib.TexturePerFace.index ( meshlib.FaceId i)

Generated from method MR::TexturePerFace::operator[]. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_index().

◆ index_mut()

meshlib.TextureId meshlib.TexturePerFace.index_mut ( meshlib.FaceId i)

Generated from method MR::TexturePerFace::operator[]. The reference to this object might be preserved in the return value.

Calls MR_TexturePerFace_index_mut().

◆ max_size()

long meshlib.TexturePerFace.max_size ( )

Generated from method MR::TexturePerFace::max_size.

Calls MR_TexturePerFace_max_size().

◆ opEqual()

boolean meshlib.TexturePerFace.opEqual ( meshlib.TexturePerFace b)

Generated from method MR::TexturePerFace::operator==.

Calls MR_equal_MR_TexturePerFace().

◆ opNotEqual()

boolean meshlib.TexturePerFace.opNotEqual ( meshlib.TexturePerFace b)

Generated from method MR::TexturePerFace::operator!=.

Calls MR_not_equal_MR_TexturePerFace().

◆ pop_back()

void meshlib.TexturePerFace.pop_back ( )

Generated from method MR::TexturePerFace::pop_back.

Calls MR_TexturePerFace_pop_back().

◆ push_back_const_MR_TextureId_ref()

void meshlib.TexturePerFace.push_back_const_MR_TextureId_ref ( meshlib.TextureId t)

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

Calls MR_TexturePerFace_push_back_const_MR_TextureId_ref().

◆ push_back_MR_TextureId_rvalue_ref()

void meshlib.TexturePerFace.push_back_MR_TextureId_rvalue_ref ( meshlib.TextureId t)

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

Calls MR_TexturePerFace_push_back_MR_TextureId_rvalue_ref().

◆ reserve()

void meshlib.TexturePerFace.reserve ( long capacity)

Generated from method MR::TexturePerFace::reserve.

Calls MR_TexturePerFace_reserve().

◆ resize() [1/2]

void meshlib.TexturePerFace.resize ( long newSize)

Generated from method MR::TexturePerFace::resize.

Calls MR_TexturePerFace_resize_1().

◆ resize() [2/2]

void meshlib.TexturePerFace.resize ( long newSize,
meshlib.TextureId t )

Generated from method MR::TexturePerFace::resize.

Calls MR_TexturePerFace_resize_2().

◆ resizeNoInit()

void meshlib.TexturePerFace.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::TexturePerFace::resizeNoInit.

Calls MR_TexturePerFace_resizeNoInit().

◆ resizeWithReserve() [1/2]

void meshlib.TexturePerFace.resizeWithReserve ( long newSize)

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

Calls MR_TexturePerFace_resizeWithReserve_1().

◆ resizeWithReserve() [2/2]

void meshlib.TexturePerFace.resizeWithReserve ( long newSize,
meshlib.TextureId value )

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

Calls MR_TexturePerFace_resizeWithReserve_2().

◆ setVec()

void meshlib.TexturePerFace.setVec ( meshlib.std_vector_MR_TextureId_MR_Allocator_MR_TextureId value)

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

Calls MR_TexturePerFace_Set_vec().

◆ shrink_to_fit()

void meshlib.TexturePerFace.shrink_to_fit ( )

Generated from method MR::TexturePerFace::shrink_to_fit.

Calls MR_TexturePerFace_shrink_to_fit().

◆ size()

long meshlib.TexturePerFace.size ( )

Generated from method MR::TexturePerFace::size.

Calls MR_TexturePerFace_size().

◆ swap()

void meshlib.TexturePerFace.swap ( meshlib.TexturePerFace b)

Generated from method MR::TexturePerFace::swap.

Calls MR_TexturePerFace_swap().

◆ vec()

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

Calls MR_TexturePerFace_Get_vec().


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