Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::VoxelScalars) -> &mut meshlib::VoxelScalars |
| void | assign (count:usize, val:&f32) |
| auto | op_equal (b:&meshlib::VoxelScalars) const -> bool |
| auto | op_not_equal (b:&meshlib::VoxelScalars) const -> bool |
| void | clear () |
| auto | empty () const -> bool |
| auto | size () const -> usize |
| auto | max_size () const -> usize |
| void | resize_1 (newSize:usize) |
| void | resize_2 (newSize:usize, t:&f32) |
| auto | capacity () const -> usize |
| void | reserve (capacity:usize) |
| void | shrink_to_fit () |
| auto | index (i:meshlib::VoxelId) const -> &f32 |
| auto | index_mut (i:meshlib::VoxelId) -> &mut f32 |
| void | resize_with_reserve_1 (newSize:usize) |
| void | resize_with_reserve_2 (newSize:usize, value:&f32) |
| void | auto_resize_set_3 (pos:meshlib::VoxelId, len:usize, val:f32) |
| void | auto_resize_set_2 (i:meshlib::VoxelId, val:f32) |
| auto | auto_resize_at (i:meshlib::VoxelId) -> &mut f32 |
| void | push_back_const_float_ref (t:&f32) |
| void | push_back_float_rvalue_ref (t:&mut f32) |
| void | pop_back () |
| auto | front () const -> &f32 |
| auto | front_mut () -> &mut f32 |
| auto | back () const -> &f32 |
| auto | back_mut () -> &mut f32 |
| auto | begin_id () const -> meshlib::VoxelId |
| auto | back_id () const -> meshlib::VoxelId |
| auto | end_id () const -> meshlib::VoxelId |
| auto | data_mut () -> Option<&mut f32 > |
| auto | data () const -> Option<&f32 > |
| void | swap (b:&mut meshlib::VoxelScalars) |
| auto | heap_bytes () const -> usize |
| auto | vec () const -> &meshlib::std_vector_float_MR_Allocator_float |
| auto | vec_mut () -> &mut meshlib::std_vector_float_MR_Allocator_float |
| void | set_vec (value:&meshlib::std_vector_float_MR_Allocator_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::VoxelScalars > |
| static auto | construct_from_another (_other:&meshlib::VoxelScalars) -> meshlib::Owned< meshlib::VoxelScalars > |
| static auto | construct (size:usize) -> meshlib::Owned< meshlib::VoxelScalars > |
| static auto | construct_fill (size:usize, val:&f32) -> meshlib::Owned< meshlib::VoxelScalars > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Vector<T> is indexed by size_t Generated from class MR::VoxelScalars.
Generated from class MR::VoxelScalars. Heap-allocated instances are held in Owned<VoxelScalars>.
| void meshlib::VoxelScalars::assign | ( | count:usize | , |
| val:& | f32 ) |
replaces the contents with count copies of val Generated from method MR::VoxelScalars::assign.
Calls MR_VoxelScalars_assign(). The reference to things referred to by the parameter val (if any) might be preserved in this object.
| auto meshlib::VoxelScalars::assign_from_another | ( | _other:&meshlib::VoxelScalars | ) | -> &mut meshlib::VoxelScalars |
Generated from method MR::VoxelScalars::operator=.
Calls MR_VoxelScalars_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::VoxelScalars::auto_resize_at | ( | i:meshlib::VoxelId | ) | -> &mut f32 |
this accessor automatically adjusts the size of the vector Generated from method MR::VoxelScalars::autoResizeAt.
Calls MR_VoxelScalars_autoResizeAt().
| void meshlib::VoxelScalars::auto_resize_set_2 | ( | i:meshlib::VoxelId | , |
| val:f32 | ) |
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::auto_resize_set_3 | ( | pos:meshlib::VoxelId | , |
| len:usize | , | ||
| val:f32 | ) |
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().
| auto meshlib::VoxelScalars::back | ( | ) | const -> &f32 |
Generated from method MR::VoxelScalars::back.
Calls MR_VoxelScalars_back(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::back_id | ( | ) | const -> meshlib::VoxelId |
returns the identifier of the back() element Generated from method MR::VoxelScalars::backId.
Calls MR_VoxelScalars_backId().
| auto meshlib::VoxelScalars::back_mut | ( | ) | -> &mut f32 |
Generated from method MR::VoxelScalars::back.
Calls MR_VoxelScalars_back_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::begin_id | ( | ) | const -> meshlib::VoxelId |
returns the identifier of the first element Generated from method MR::VoxelScalars::beginId.
Calls MR_VoxelScalars_beginId().
| auto meshlib::VoxelScalars::capacity | ( | ) | const -> usize |
Generated from method MR::VoxelScalars::capacity.
Calls MR_VoxelScalars_capacity().
| void meshlib::VoxelScalars::clear | ( | ) |
Generated from method MR::VoxelScalars::clear.
Calls MR_VoxelScalars_clear().
|
static |
creates a vector with size elements with default value Generated from constructor MR::VoxelScalars::VoxelScalars.
Calls MR_VoxelScalars_Construct(). The reference to the parameter size might be preserved in the constructed object.
|
static |
creates a vector with size elements with the given value Generated from constructor MR::VoxelScalars::VoxelScalars.
Calls MR_VoxelScalars_Construct_fill(). 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.
|
static |
Generated from constructor MR::VoxelScalars::VoxelScalars.
Calls MR_VoxelScalars_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::VoxelScalars::data | ( | ) | const -> Option<&f32 > |
Generated from method MR::VoxelScalars::data.
Calls MR_VoxelScalars_data(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::data_mut | ( | ) | -> Option<&mut f32 > |
Generated from method MR::VoxelScalars::data.
Calls MR_VoxelScalars_data_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::empty | ( | ) | const -> bool |
Generated from method MR::VoxelScalars::empty.
Calls MR_VoxelScalars_empty().
| auto meshlib::VoxelScalars::end_id | ( | ) | const -> meshlib::VoxelId |
returns backId() + 1 Generated from method MR::VoxelScalars::endId.
Calls MR_VoxelScalars_endId().
| auto meshlib::VoxelScalars::front | ( | ) | const -> &f32 |
Generated from method MR::VoxelScalars::front.
Calls MR_VoxelScalars_front(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::front_mut | ( | ) | -> &mut f32 |
Generated from method MR::VoxelScalars::front.
Calls MR_VoxelScalars_front_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::heap_bytes | ( | ) | const -> usize |
returns the amount of memory this object occupies on heap Generated from method MR::VoxelScalars::heapBytes.
Calls MR_VoxelScalars_heapBytes().
| auto meshlib::VoxelScalars::index | ( | i:meshlib::VoxelId | ) | const -> &f32 |
Generated from method MR::VoxelScalars::operator[].
Calls MR_VoxelScalars_index(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::index_mut | ( | i:meshlib::VoxelId | ) | -> &mut f32 |
Generated from method MR::VoxelScalars::operator[].
Calls MR_VoxelScalars_index_mut(). The reference to this object might be preserved in the return value.
| auto meshlib::VoxelScalars::max_size | ( | ) | const -> usize |
Generated from method MR::VoxelScalars::max_size.
Calls MR_VoxelScalars_max_size().
|
static |
creates empty vector
Calls MR_VoxelScalars_DefaultConstruct().
| auto meshlib::VoxelScalars::op_equal | ( | b:&meshlib::VoxelScalars | ) | const -> bool |
Generated from method MR::VoxelScalars::operator==.
Calls MR_equal_MR_VoxelScalars().
| auto meshlib::VoxelScalars::op_not_equal | ( | b:&meshlib::VoxelScalars | ) | const -> bool |
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 | ( | t:& | f32 | ) |
Generated from method MR::VoxelScalars::push_back.
Calls MR_VoxelScalars_push_back_const_float_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VoxelScalars::push_back_float_rvalue_ref | ( | t:&mut | f32 | ) |
Generated from method MR::VoxelScalars::push_back.
Calls MR_VoxelScalars_push_back_float_rvalue_ref(). The reference to things referred to by the parameter t (if any) might be preserved in this object.
| void meshlib::VoxelScalars::reserve | ( | capacity:usize | ) |
Generated from method MR::VoxelScalars::reserve.
Calls MR_VoxelScalars_reserve().
| void meshlib::VoxelScalars::resize_1 | ( | newSize:usize | ) |
Generated from method MR::VoxelScalars::resize.
Calls MR_VoxelScalars_resize_1().
| void meshlib::VoxelScalars::resize_2 | ( | newSize:usize | , |
| t:& | f32 ) |
Generated from method MR::VoxelScalars::resize.
Calls MR_VoxelScalars_resize_2().
| void meshlib::VoxelScalars::resize_with_reserve_1 | ( | newSize:usize | ) |
same as resize(newSize), which already grows the capacity geometrically Generated from method MR::VoxelScalars::resizeWithReserve.
Calls MR_VoxelScalars_resizeWithReserve_1().
| void meshlib::VoxelScalars::resize_with_reserve_2 | ( | newSize:usize | , |
| value:& | f32 ) |
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::set_vec | ( | value:&meshlib::std_vector_float_MR_Allocator_float | ) |
The user can directly manipulate the vector, they can't break anything anyway. Modifies a member variable of class MR::VoxelScalars named vec.
Calls MR_VoxelScalars_Set_vec(). The reference to the parameter value might be preserved in this object in element vec.
| void meshlib::VoxelScalars::shrink_to_fit | ( | ) |
Generated from method MR::VoxelScalars::shrink_to_fit.
Calls MR_VoxelScalars_shrink_to_fit().
| auto meshlib::VoxelScalars::size | ( | ) | const -> usize |
Generated from method MR::VoxelScalars::size.
Calls MR_VoxelScalars_size().
| void meshlib::VoxelScalars::swap | ( | b:&mut meshlib::VoxelScalars | ) |
Generated from method MR::VoxelScalars::swap.
Calls MR_VoxelScalars_swap().
| auto meshlib::VoxelScalars::vec | ( | ) | const -> &meshlib::std_vector_float_MR_Allocator_float |
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.
Calls MR_VoxelScalars_Get_vec(). The reference to this object might be preserved as the return value.
| auto meshlib::VoxelScalars::vec_mut | ( | ) | -> &mut meshlib::std_vector_float_MR_Allocator_float |
The user can directly manipulate the vector, they can't break anything anyway. Returns a mutable pointer to a member variable of class MR::VoxelScalars named vec.
Calls MR_VoxelScalars_GetMutable_vec(). The reference to this object might be preserved as the return value.