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

Public Member Functions

auto assign_from_another (_other:&meshlib::DistanceVolumeParams) -> &mut meshlib::DistanceVolumeParams
auto origin () const -> &meshlib::Vector3f
auto origin_mut () -> &mut meshlib::Vector3f
void set_origin (value:meshlib::Vector3f)
auto cb () const -> &meshlib::std_function_bool_from_float
auto cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_cb (value:&meshlib::std_function_bool_from_float)
auto voxel_size () const -> &meshlib::Vector3f
auto voxel_size_mut () -> &mut meshlib::Vector3f
void set_voxel_size (value:meshlib::Vector3f)
auto dimensions () const -> &meshlib::Vector3i
auto dimensions_mut () -> &mut meshlib::Vector3i
void set_dimensions (value:meshlib::Vector3i)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::DistanceVolumeParams >
static auto construct_from (origin:meshlib::Vector3f, cb:&meshlib::std_function_bool_from_float, voxelSize:meshlib::Vector3f, dimensions:meshlib::Vector3i) -> meshlib::Owned< meshlib::DistanceVolumeParams >
static auto construct_from_another (_other:&meshlib::DistanceVolumeParams) -> meshlib::Owned< meshlib::DistanceVolumeParams >
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::DistanceVolumeParams. Derived classes: Direct: (non-virtual) MR::PointsToDistanceVolumeParams

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cb()

auto meshlib::DistanceVolumeParams::cb ( ) const -> &meshlib::std_function_bool_from_float

progress callback Returns a pointer to a member variable of class MR::DistanceVolumeParams named cb.

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

◆ cb_mut()

auto meshlib::DistanceVolumeParams::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

progress callback Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named cb.

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

◆ construct_from()

auto meshlib::DistanceVolumeParams::construct_from ( origin:meshlib::Vector3f ,
cb:&meshlib::std_function_bool_from_float ,
voxelSize:meshlib::Vector3f ,
dimensions:meshlib::Vector3i  ) -> meshlib::Owned< meshlib::DistanceVolumeParams >
static

Constructs MR::DistanceVolumeParams elementwise.

Calls MR_DistanceVolumeParams_ConstructFrom(). The reference to the parameter origin might be preserved in the constructed object. The reference to the parameter cb 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 dimensions might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::DistanceVolumeParams::DistanceVolumeParams.

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

◆ dimensions()

auto meshlib::DistanceVolumeParams::dimensions ( ) const -> &meshlib::Vector3i

num voxels along each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams named dimensions.

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

◆ dimensions_mut()

auto meshlib::DistanceVolumeParams::dimensions_mut ( ) -> &mut meshlib::Vector3i

num voxels along each axis Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named dimensions.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_DistanceVolumeParams_DefaultConstruct().

◆ origin()

auto meshlib::DistanceVolumeParams::origin ( ) const -> &meshlib::Vector3f

origin point of voxels box Returns a pointer to a member variable of class MR::DistanceVolumeParams named origin.

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

◆ origin_mut()

auto meshlib::DistanceVolumeParams::origin_mut ( ) -> &mut meshlib::Vector3f

origin point of voxels box Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named origin.

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

◆ set_cb()

void meshlib::DistanceVolumeParams::set_cb ( value:&meshlib::std_function_bool_from_float )

progress callback Modifies a member variable of class MR::DistanceVolumeParams named cb.

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

◆ set_dimensions()

void meshlib::DistanceVolumeParams::set_dimensions ( value:meshlib::Vector3i )

num voxels along each axis Modifies a member variable of class MR::DistanceVolumeParams named dimensions.

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

◆ set_origin()

void meshlib::DistanceVolumeParams::set_origin ( value:meshlib::Vector3f )

origin point of voxels box Modifies a member variable of class MR::DistanceVolumeParams named origin.

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

◆ set_voxel_size()

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

size of voxel on each axis Modifies a member variable of class MR::DistanceVolumeParams named voxelSize.

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

◆ voxel_size()

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

size of voxel on each axis Returns a pointer to a member variable of class MR::DistanceVolumeParams named voxelSize.

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

◆ voxel_size_mut()

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

size of voxel on each axis Returns a mutable pointer to a member variable of class MR::DistanceVolumeParams named voxelSize.

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