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

Public Member Functions

auto assign_from_another (_other:&meshlib::SimpleVolumeU16) -> &mut meshlib::SimpleVolumeU16
auto heap_bytes () const -> usize
auto data () const -> &meshlib::Vector_unsigned_short_MR_VoxelId
auto data_mut () -> &mut meshlib::Vector_unsigned_short_MR_VoxelId
void set_data (value:&meshlib::Vector_unsigned_short_MR_VoxelId)
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::SimpleVolumeU16 >
static auto construct_from (data:&meshlib::Vector_unsigned_short_MR_VoxelId, dims:meshlib::Vector3i, voxelSize:meshlib::Vector3f) -> meshlib::Owned< meshlib::SimpleVolumeU16 >
static auto construct_from_another (_other:&meshlib::SimpleVolumeU16) -> meshlib::Owned< meshlib::SimpleVolumeU16 >
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::SimpleVolumeU16. Derived classes: Direct: (non-virtual) MR::SimpleVolumeMinMaxU16

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

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

Constructs MR::SimpleVolumeU16 elementwise.

Calls MR_SimpleVolumeU16_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::SimpleVolumeU16::construct_from_another ( _other:&meshlib::SimpleVolumeU16 ) -> meshlib::Owned< meshlib::SimpleVolumeU16 >
static

Generated from constructor MR::SimpleVolumeU16::SimpleVolumeU16.

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

◆ data()

auto meshlib::SimpleVolumeU16::data ( ) const -> &meshlib::Vector_unsigned_short_MR_VoxelId

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

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

◆ data_mut()

auto meshlib::SimpleVolumeU16::data_mut ( ) -> &mut meshlib::Vector_unsigned_short_MR_VoxelId

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

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

◆ dims()

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

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

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

◆ dims_mut()

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

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

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

◆ heap_bytes()

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

Generated from method MR::SimpleVolumeU16::heapBytes.

Calls MR_SimpleVolumeU16_heapBytes().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SimpleVolumeU16_DefaultConstruct().

◆ set_data()

void meshlib::SimpleVolumeU16::set_data ( value:&meshlib::Vector_unsigned_short_MR_VoxelId )

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

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

◆ set_dims()

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

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

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

◆ set_voxel_size()

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

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

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

◆ voxel_size()

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

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

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

◆ voxel_size_mut()

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

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

Calls MR_SimpleVolumeU16_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: