MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::SimpleVolume:

Public Member Functions

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

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

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

Constructs MR::SimpleVolume elementwise.

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

Generated from constructor MR::SimpleVolume::SimpleVolume.

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

◆ data()

auto meshlib::SimpleVolume::data ( ) const -> &meshlib::VoxelScalars

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

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

◆ data_mut()

auto meshlib::SimpleVolume::data_mut ( ) -> &mut meshlib::VoxelScalars

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

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

◆ dims()

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

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

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

◆ dims_mut()

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

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

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

◆ heap_bytes()

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

Generated from method MR::SimpleVolume::heapBytes.

Calls MR_SimpleVolume_heapBytes().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SimpleVolume_DefaultConstruct().

◆ set_data()

void meshlib::SimpleVolume::set_data ( value:&meshlib::VoxelScalars )

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

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

◆ set_dims()

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

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

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

◆ set_voxel_size()

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

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

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

◆ voxel_size()

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

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

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

◆ voxel_size_mut()

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

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

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