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

Public Member Functions

auto assign_from_another (_other:&meshlib::CloseToMeshVolumeParams) -> &mut meshlib::CloseToMeshVolumeParams
auto close_dist () const -> &f32
auto close_dist_mut () -> &mut f32
void set_close_dist (value:f32)
auto vol () const -> &meshlib::DistanceVolumeParams
auto vol_mut () -> &mut meshlib::DistanceVolumeParams
void set_vol (value:&meshlib::DistanceVolumeParams)
auto mesh_to_world () const -> *const *const meshlib::AffineXf3f
auto mesh_to_world_mut () -> *mut *const meshlib::AffineXf3f
void set_mesh_to_world (value:Option<&meshlib::AffineXf3f >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CloseToMeshVolumeParams >
static auto construct_from (closeDist:f32, vol:&meshlib::DistanceVolumeParams, meshToWorld:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::CloseToMeshVolumeParams >
static auto construct_from_another (_other:&meshlib::CloseToMeshVolumeParams) -> meshlib::Owned< meshlib::CloseToMeshVolumeParams >
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::CloseToMeshVolumeParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ close_dist()

auto meshlib::CloseToMeshVolumeParams::close_dist ( ) const -> &f32

a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named closeDist.

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

◆ close_dist_mut()

auto meshlib::CloseToMeshVolumeParams::close_dist_mut ( ) -> &mut f32

a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named closeDist.

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

◆ construct_from()

auto meshlib::CloseToMeshVolumeParams::construct_from ( closeDist:f32 ,
vol:&meshlib::DistanceVolumeParams ,
meshToWorld:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::CloseToMeshVolumeParams >
static

Constructs MR::CloseToMeshVolumeParams elementwise.

Calls MR_CloseToMeshVolumeParams_ConstructFrom(). The reference to the parameter vol might be preserved in the constructed object. The reference to the parameter meshToWorld might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CloseToMeshVolumeParams::CloseToMeshVolumeParams.

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

◆ mesh_to_world()

auto meshlib::CloseToMeshVolumeParams::mesh_to_world ( ) const -> *const *const meshlib::AffineXf3f

optional transformation from mesh space to world space Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named meshToWorld.

Calls MR_CloseToMeshVolumeParams_Get_meshToWorld(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ mesh_to_world_mut()

auto meshlib::CloseToMeshVolumeParams::mesh_to_world_mut ( ) -> *mut *const meshlib::AffineXf3f

optional transformation from mesh space to world space Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named meshToWorld.

Calls MR_CloseToMeshVolumeParams_GetMutable_meshToWorld(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CloseToMeshVolumeParams_DefaultConstruct().

◆ set_close_dist()

void meshlib::CloseToMeshVolumeParams::set_close_dist ( value:f32 )

a resulting voxel will get 1 if that voxel's center is not further than unsigned (closeDist) from the surface, and 0 otherwise Modifies a member variable of class MR::CloseToMeshVolumeParams named closeDist.

Calls MR_CloseToMeshVolumeParams_Set_closeDist().

◆ set_mesh_to_world()

void meshlib::CloseToMeshVolumeParams::set_mesh_to_world ( value:Option<&meshlib::AffineXf3f > )

optional transformation from mesh space to world space Modifies a member variable of class MR::CloseToMeshVolumeParams named meshToWorld.

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

◆ set_vol()

void meshlib::CloseToMeshVolumeParams::set_vol ( value:&meshlib::DistanceVolumeParams )

dimensions, location, and scaling in world space of the expected volume Modifies a member variable of class MR::CloseToMeshVolumeParams named vol.

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

◆ vol()

auto meshlib::CloseToMeshVolumeParams::vol ( ) const -> &meshlib::DistanceVolumeParams

dimensions, location, and scaling in world space of the expected volume Returns a pointer to a member variable of class MR::CloseToMeshVolumeParams named vol.

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

◆ vol_mut()

auto meshlib::CloseToMeshVolumeParams::vol_mut ( ) -> &mut meshlib::DistanceVolumeParams

dimensions, location, and scaling in world space of the expected volume Returns a mutable pointer to a member variable of class MR::CloseToMeshVolumeParams named vol.

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


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