Public Member Functions | |
| VoxelScalars (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| VoxelScalars () | |
| VoxelScalars (meshlib.VoxelScalars _other) | |
| VoxelScalars (long size) | |
| VoxelScalars (long size, float val) | |
| meshlib.VoxelScalars | assignFromAnother (meshlib.VoxelScalars _other) |
| void | assign (long count, float val) |
| boolean | opEqual (meshlib.VoxelScalars b) |
| boolean | opNotEqual (meshlib.VoxelScalars b) |
| void | clear () |
| boolean | empty () |
| long | size () |
| long | max_size () |
| void | resize (long newSize) |
| void | resize (long newSize, float t) |
| long | capacity () |
| void | reserve (long capacity) |
| void | shrink_to_fit () |
| float | index (meshlib.VoxelId i) |
| java.lang.foreign.MemorySegment | index_mut (meshlib.VoxelId i) |
| void | resizeWithReserve (long newSize) |
| void | resizeWithReserve (long newSize, float value) |
| void | autoResizeSet (meshlib.VoxelId pos, long len, float val) |
| void | autoResizeSet (meshlib.VoxelId i, float val) |
| java.lang.foreign.MemorySegment | autoResizeAt (meshlib.VoxelId i) |
| void | push_back_const_float_ref (float t) |
| void | push_back_float_rvalue_ref (float t) |
| void | pop_back () |
| float | front () |
| java.lang.foreign.MemorySegment | front_mut () |
| float | back () |
| java.lang.foreign.MemorySegment | back_mut () |
| meshlib.VoxelId | beginId () |
| meshlib.VoxelId | backId () |
| meshlib.VoxelId | endId () |
| java.lang.foreign.MemorySegment | data_mut () |
| java.lang.Float | data () |
| void | swap (meshlib.VoxelScalars b) |
| long | heapBytes () |
| meshlib.std_vector_float_MR_Allocator_float | vec () |
| void | setVec (meshlib.std_vector_float_MR_Allocator_float 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) | |
Vector<T> is indexed by size_t Generated from class MR::VoxelScalars.
Instances created here own their C++ objects, see CppObject.
| meshlib.VoxelScalars.VoxelScalars | ( | 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.
| meshlib.VoxelScalars.VoxelScalars | ( | ) |
creates empty vector
Calls MR_VoxelScalars_DefaultConstruct().
| meshlib.VoxelScalars.VoxelScalars | ( | meshlib.VoxelScalars | _other | ) |
Generated from constructor MR::VoxelScalars::VoxelScalars. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_VoxelScalars_ConstructFromAnother().
| meshlib.VoxelScalars.VoxelScalars | ( | long | size | ) |
creates a vector with size elements with default value Generated from constructor MR::VoxelScalars::VoxelScalars. The reference to the parameter size might be preserved in the constructed object.
Calls MR_VoxelScalars_Construct().
| meshlib.VoxelScalars.VoxelScalars | ( | long | size, |
| float | val ) |
creates a vector with size elements with the given value Generated from constructor MR::VoxelScalars::VoxelScalars. 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_VoxelScalars_Construct_fill().
| void meshlib.VoxelScalars.assign | ( | long | count, |
| float | val ) |
replaces the contents with count copies of val Generated from method MR::VoxelScalars::assign. The reference to things referred to by the parameter val (if any) might be preserved in this object.
Calls MR_VoxelScalars_assign().
| meshlib.VoxelScalars meshlib.VoxelScalars.assignFromAnother | ( | meshlib.VoxelScalars | _other | ) |
Generated from method MR::VoxelScalars::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_VoxelScalars_AssignFromAnother().
| java.lang.foreign.MemorySegment meshlib.VoxelScalars.autoResizeAt | ( | meshlib.VoxelId | i | ) |
this accessor automatically adjusts the size of the vector Generated from method MR::VoxelScalars::autoResizeAt.
Calls MR_VoxelScalars_autoResizeAt(). Some types are raw C types, see the C bindings for the details.
| void meshlib.VoxelScalars.autoResizeSet | ( | meshlib.VoxelId | i, |
| float | val ) |
sets the element i to the given value, adjusting the size of the vector to include new element Generated from method MR::VoxelScalars::autoResizeSet.
Calls MR_VoxelScalars_autoResizeSet_2().
| void meshlib.VoxelScalars.autoResizeSet | ( | meshlib.VoxelId | pos, |
| long | len, | ||
| float | 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::VoxelScalars::autoResizeSet.
Calls MR_VoxelScalars_autoResizeSet_3().
| float meshlib.VoxelScalars.back | ( | ) |
Generated from method MR::VoxelScalars::back. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_back().
| java.lang.foreign.MemorySegment meshlib.VoxelScalars.back_mut | ( | ) |
Generated from method MR::VoxelScalars::back. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_back_mut(). Some types are raw C types, see the C bindings for the details.
| meshlib.VoxelId meshlib.VoxelScalars.backId | ( | ) |
returns the identifier of the back() element Generated from method MR::VoxelScalars::backId.
Calls MR_VoxelScalars_backId().
| meshlib.VoxelId meshlib.VoxelScalars.beginId | ( | ) |
returns the identifier of the first element Generated from method MR::VoxelScalars::beginId.
Calls MR_VoxelScalars_beginId().
| long meshlib.VoxelScalars.capacity | ( | ) |
Generated from method MR::VoxelScalars::capacity.
Calls MR_VoxelScalars_capacity().
| void meshlib.VoxelScalars.clear | ( | ) |
Generated from method MR::VoxelScalars::clear.
Calls MR_VoxelScalars_clear().
| java.lang.Float meshlib.VoxelScalars.data | ( | ) |
Generated from method MR::VoxelScalars::data. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_data().
| java.lang.foreign.MemorySegment meshlib.VoxelScalars.data_mut | ( | ) |
Generated from method MR::VoxelScalars::data. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_data_mut(). Some types are raw C types, see the C bindings for the details.
| boolean meshlib.VoxelScalars.empty | ( | ) |
Generated from method MR::VoxelScalars::empty.
Calls MR_VoxelScalars_empty().
| meshlib.VoxelId meshlib.VoxelScalars.endId | ( | ) |
returns backId() + 1 Generated from method MR::VoxelScalars::endId.
Calls MR_VoxelScalars_endId().
| float meshlib.VoxelScalars.front | ( | ) |
Generated from method MR::VoxelScalars::front. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_front().
| java.lang.foreign.MemorySegment meshlib.VoxelScalars.front_mut | ( | ) |
Generated from method MR::VoxelScalars::front. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_front_mut(). Some types are raw C types, see the C bindings for the details.
| long meshlib.VoxelScalars.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::VoxelScalars::heapBytes.
Calls MR_VoxelScalars_heapBytes().
| float meshlib.VoxelScalars.index | ( | meshlib.VoxelId | i | ) |
Generated from method MR::VoxelScalars::operator[]. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_index().
| java.lang.foreign.MemorySegment meshlib.VoxelScalars.index_mut | ( | meshlib.VoxelId | i | ) |
Generated from method MR::VoxelScalars::operator[]. The reference to this object might be preserved in the return value.
Calls MR_VoxelScalars_index_mut(). Some types are raw C types, see the C bindings for the details.
| long meshlib.VoxelScalars.max_size | ( | ) |
Generated from method MR::VoxelScalars::max_size.
Calls MR_VoxelScalars_max_size().
| boolean meshlib.VoxelScalars.opEqual | ( | meshlib.VoxelScalars | b | ) |
Generated from method MR::VoxelScalars::operator==.
Calls MR_equal_MR_VoxelScalars().
| boolean meshlib.VoxelScalars.opNotEqual | ( | meshlib.VoxelScalars | b | ) |
Generated from method MR::VoxelScalars::operator!=.
Calls MR_not_equal_MR_VoxelScalars().
| void meshlib.VoxelScalars.pop_back | ( | ) |
Generated from method MR::VoxelScalars::pop_back.
Calls MR_VoxelScalars_pop_back().
| void meshlib.VoxelScalars.push_back_const_float_ref | ( | float | t | ) |
Generated from method MR::VoxelScalars::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.
Calls MR_VoxelScalars_push_back_const_float_ref().
| void meshlib.VoxelScalars.push_back_float_rvalue_ref | ( | float | t | ) |
Generated from method MR::VoxelScalars::push_back. The reference to things referred to by the parameter t (if any) might be preserved in this object.
Calls MR_VoxelScalars_push_back_float_rvalue_ref().
| void meshlib.VoxelScalars.reserve | ( | long | capacity | ) |
Generated from method MR::VoxelScalars::reserve.
Calls MR_VoxelScalars_reserve().
| void meshlib.VoxelScalars.resize | ( | long | newSize | ) |
Generated from method MR::VoxelScalars::resize.
Calls MR_VoxelScalars_resize_1().
| void meshlib.VoxelScalars.resize | ( | long | newSize, |
| float | t ) |
Generated from method MR::VoxelScalars::resize.
Calls MR_VoxelScalars_resize_2().
| void meshlib.VoxelScalars.resizeWithReserve | ( | long | newSize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::VoxelScalars::resizeWithReserve.
Calls MR_VoxelScalars_resizeWithReserve_1().
| void meshlib.VoxelScalars.resizeWithReserve | ( | long | newSize, |
| float | value ) |
same as resize(newSize, value), which already grows the capacity geometrically Generated from method MR::VoxelScalars::resizeWithReserve.
Calls MR_VoxelScalars_resizeWithReserve_2().
| void meshlib.VoxelScalars.setVec | ( | meshlib.std_vector_float_MR_Allocator_float | value | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::VoxelScalars named vec. The reference to the parameter value might be preserved in this object in element vec.
Calls MR_VoxelScalars_Set_vec().
| void meshlib.VoxelScalars.shrink_to_fit | ( | ) |
Generated from method MR::VoxelScalars::shrink_to_fit.
Calls MR_VoxelScalars_shrink_to_fit().
| long meshlib.VoxelScalars.size | ( | ) |
Generated from method MR::VoxelScalars::size.
Calls MR_VoxelScalars_size().
| void meshlib.VoxelScalars.swap | ( | meshlib.VoxelScalars | b | ) |
Generated from method MR::VoxelScalars::swap.
Calls MR_VoxelScalars_swap().
| meshlib.std_vector_float_MR_Allocator_float meshlib.VoxelScalars.vec | ( | ) |
The user can directly manipulate the vector, they can't break anything anyway. Returns a pointer to a member variable of class MR::VoxelScalars named vec. The reference to this object might be preserved as the return value.
Calls MR_VoxelScalars_Get_vec().