MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::FunctionVolumeU8 Struct Reference
Inheritance diagram for meshlib::FunctionVolumeU8:

Public Member Functions

auto assign_from_another (_other:&meshlib::FunctionVolumeU8) -> &mut meshlib::FunctionVolumeU8
auto heap_bytes () const -> usize
auto data () const -> &meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref
auto data_mut () -> &mut meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref
void set_data (value:&meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref)
auto dims () const -> &meshlib::Vector3i
auto dims_mut () -> &mut meshlib::Vector3i
void set_dims (value:meshlib::Vector3i)
auto voxel_size () const -> &meshlib::Vector3f
auto voxel_size_mut () -> &mut meshlib::Vector3f
void set_voxel_size (value:meshlib::Vector3f)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FunctionVolumeU8 >
static auto construct_from (data:&meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref, dims:meshlib::Vector3i, voxelSize:meshlib::Vector3f) -> meshlib::Owned< meshlib::FunctionVolumeU8 >
static auto construct_from_another (_other:&meshlib::FunctionVolumeU8) -> meshlib::Owned< meshlib::FunctionVolumeU8 >
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

Detailed Description

represents a box in 3D space subdivided on voxels stored in T Generated from class MR::FunctionVolumeU8.

Generated from class MR::FunctionVolumeU8. Heap-allocated instances are held in Owned<FunctionVolumeU8>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::FunctionVolumeU8::assign_from_another ( _other:&meshlib::FunctionVolumeU8 ) -> &mut meshlib::FunctionVolumeU8

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

Calls MR_FunctionVolumeU8_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::FunctionVolumeU8::construct_from ( data:&meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref ,
dims:meshlib::Vector3i ,
voxelSize:meshlib::Vector3f  ) -> meshlib::Owned< meshlib::FunctionVolumeU8 >
static

Constructs MR::FunctionVolumeU8 elementwise.

Calls MR_FunctionVolumeU8_ConstructFrom(). The reference to the parameter data might be preserved in the constructed object. The reference to the parameter dims might be preserved in the constructed object. The reference to the parameter voxelSize might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::FunctionVolumeU8::construct_from_another ( _other:&meshlib::FunctionVolumeU8 ) -> meshlib::Owned< meshlib::FunctionVolumeU8 >
static

Generated from constructor MR::FunctionVolumeU8::FunctionVolumeU8.

Calls MR_FunctionVolumeU8_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ data()

auto meshlib::FunctionVolumeU8::data ( ) const -> &meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref

Returns a pointer to a member variable of class MR::FunctionVolumeU8 named data.

Calls MR_FunctionVolumeU8_Get_data(). The reference to this object might be preserved as the return value.

◆ data_mut()

auto meshlib::FunctionVolumeU8::data_mut ( ) -> &mut meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref

Returns a mutable pointer to a member variable of class MR::FunctionVolumeU8 named data.

Calls MR_FunctionVolumeU8_GetMutable_data(). The reference to this object might be preserved as the return value.

◆ dims()

auto meshlib::FunctionVolumeU8::dims ( ) const -> &meshlib::Vector3i

Returns a pointer to a member variable of class MR::FunctionVolumeU8 named dims.

Calls MR_FunctionVolumeU8_Get_dims(). The reference to this object might be preserved as the return value.

◆ dims_mut()

auto meshlib::FunctionVolumeU8::dims_mut ( ) -> &mut meshlib::Vector3i

Returns a mutable pointer to a member variable of class MR::FunctionVolumeU8 named dims.

Calls MR_FunctionVolumeU8_GetMutable_dims(). The reference to this object might be preserved as the return value.

◆ heap_bytes()

auto meshlib::FunctionVolumeU8::heap_bytes ( ) const -> usize

Generated from method MR::FunctionVolumeU8::heapBytes.

Calls MR_FunctionVolumeU8_heapBytes().

◆ new()

auto meshlib::FunctionVolumeU8::new ( ) -> meshlib::Owned< meshlib::FunctionVolumeU8 >
static

Constructs an empty (default-constructed) instance.

Calls MR_FunctionVolumeU8_DefaultConstruct().

◆ set_data()

void meshlib::FunctionVolumeU8::set_data ( value:&meshlib::std_function_unsigned_char_from_const_MR_Vector3i_ref )

Modifies a member variable of class MR::FunctionVolumeU8 named data.

Calls MR_FunctionVolumeU8_Set_data(). The reference to the parameter value might be preserved in this object in element data.

◆ set_dims()

void meshlib::FunctionVolumeU8::set_dims ( value:meshlib::Vector3i )

Modifies a member variable of class MR::FunctionVolumeU8 named dims.

Calls MR_FunctionVolumeU8_Set_dims(). The reference to the parameter value might be preserved in this object in element dims.

◆ set_voxel_size()

void meshlib::FunctionVolumeU8::set_voxel_size ( value:meshlib::Vector3f )

Modifies a member variable of class MR::FunctionVolumeU8 named voxelSize.

Calls MR_FunctionVolumeU8_Set_voxelSize(). The reference to the parameter value might be preserved in this object in element voxelSize.

◆ voxel_size()

auto meshlib::FunctionVolumeU8::voxel_size ( ) const -> &meshlib::Vector3f

Returns a pointer to a member variable of class MR::FunctionVolumeU8 named voxelSize.

Calls MR_FunctionVolumeU8_Get_voxelSize(). The reference to this object might be preserved as the return value.

◆ voxel_size_mut()

auto meshlib::FunctionVolumeU8::voxel_size_mut ( ) -> &mut meshlib::Vector3f

Returns a mutable pointer to a member variable of class MR::FunctionVolumeU8 named voxelSize.

Calls MR_FunctionVolumeU8_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.


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