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

Public Member Functions

auto assign_from_another (_other:&meshlib::voxels_load::RawParameters) -> &mut meshlib::voxels_load::RawParameters
auto dimensions () const -> &meshlib::Vector3i
auto dimensions_mut () -> &mut meshlib::Vector3i
void set_dimensions (value:meshlib::Vector3i)
auto voxel_size () const -> &meshlib::Vector3f
auto voxel_size_mut () -> &mut meshlib::Vector3f
void set_voxel_size (value:meshlib::Vector3f)
auto grid_level_set () const -> &bool
auto grid_level_set_mut () -> &mut bool
void set_grid_level_set (value:bool)
auto scalar_type () const -> &meshlib::ScalarType
auto scalar_type_mut () -> &mut meshlib::ScalarType
void set_scalar_type (value:meshlib::ScalarType)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::voxels_load::RawParameters >
static auto construct_from (dimensions:meshlib::Vector3i, voxelSize:meshlib::Vector3f, gridLevelSet:bool, scalarType:meshlib::ScalarType) -> meshlib::Owned< meshlib::voxels_load::RawParameters >
static auto construct_from_another (_other:&meshlib::voxels_load::RawParameters) -> meshlib::Owned< meshlib::voxels_load::RawParameters >
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

Generated from class MR::VoxelsLoad::RawParameters.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::voxels_load::RawParameters::assign_from_another ( _other:&meshlib::voxels_load::RawParameters ) -> &mut meshlib::voxels_load::RawParameters

Generated from method MR::VoxelsLoad::RawParameters::operator=.

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

◆ construct_from()

auto meshlib::voxels_load::RawParameters::construct_from ( dimensions:meshlib::Vector3i ,
voxelSize:meshlib::Vector3f ,
gridLevelSet:bool ,
scalarType:meshlib::ScalarType  ) -> meshlib::Owned< meshlib::voxels_load::RawParameters >
static

Constructs MR::VoxelsLoad::RawParameters elementwise.

Calls MR_VoxelsLoad_RawParameters_ConstructFrom(). The reference to the parameter dimensions might be preserved in the constructed object. The reference to the parameter voxelSize might be preserved in the constructed object. The reference to the parameter scalarType might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::VoxelsLoad::RawParameters::RawParameters.

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

◆ dimensions()

auto meshlib::voxels_load::RawParameters::dimensions ( ) const -> &meshlib::Vector3i

Returns a pointer to a member variable of class MR::VoxelsLoad::RawParameters named dimensions.

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

◆ dimensions_mut()

auto meshlib::voxels_load::RawParameters::dimensions_mut ( ) -> &mut meshlib::Vector3i

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::RawParameters named dimensions.

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

◆ grid_level_set()

auto meshlib::voxels_load::RawParameters::grid_level_set ( ) const -> &bool

< OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction) Returns a pointer to a member variable of class MR::VoxelsLoad::RawParameters named gridLevelSet.

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

◆ grid_level_set_mut()

auto meshlib::voxels_load::RawParameters::grid_level_set_mut ( ) -> &mut bool

< OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction) Returns a mutable pointer to a member variable of class MR::VoxelsLoad::RawParameters named gridLevelSet.

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

◆ new()

auto meshlib::voxels_load::RawParameters::new ( ) -> meshlib::Owned< meshlib::voxels_load::RawParameters >
static

Constructs an empty (default-constructed) instance.

Calls MR_VoxelsLoad_RawParameters_DefaultConstruct().

◆ scalar_type()

auto meshlib::voxels_load::RawParameters::scalar_type ( ) const -> &meshlib::ScalarType

Returns a pointer to a member variable of class MR::VoxelsLoad::RawParameters named scalarType.

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

◆ scalar_type_mut()

auto meshlib::voxels_load::RawParameters::scalar_type_mut ( ) -> &mut meshlib::ScalarType

Returns a mutable pointer to a member variable of class MR::VoxelsLoad::RawParameters named scalarType.

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

◆ set_dimensions()

void meshlib::voxels_load::RawParameters::set_dimensions ( value:meshlib::Vector3i )

Modifies a member variable of class MR::VoxelsLoad::RawParameters named dimensions.

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

◆ set_grid_level_set()

void meshlib::voxels_load::RawParameters::set_grid_level_set ( value:bool )

< OpenVDB GridClass set as GRID_LEVEL_SET (need to set right surface normals direction) Modifies a member variable of class MR::VoxelsLoad::RawParameters named gridLevelSet.

Calls MR_VoxelsLoad_RawParameters_Set_gridLevelSet().

◆ set_scalar_type()

void meshlib::voxels_load::RawParameters::set_scalar_type ( value:meshlib::ScalarType )

Modifies a member variable of class MR::VoxelsLoad::RawParameters named scalarType.

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

◆ set_voxel_size()

void meshlib::voxels_load::RawParameters::set_voxel_size ( value:meshlib::Vector3f )

Modifies a member variable of class MR::VoxelsLoad::RawParameters named voxelSize.

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

◆ voxel_size()

auto meshlib::voxels_load::RawParameters::voxel_size ( ) const -> &meshlib::Vector3f

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

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

◆ voxel_size_mut()

auto meshlib::voxels_load::RawParameters::voxel_size_mut ( ) -> &mut meshlib::Vector3f

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

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