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

Public Member Functions

auto assign_from_another (_other:&meshlib::PolylineToDistanceVolumeParams) -> &mut meshlib::PolylineToDistanceVolumeParams
auto voxel_size () const -> &meshlib::Vector3f
auto voxel_size_mut () -> &mut meshlib::Vector3f
void set_voxel_size (value:meshlib::Vector3f)
auto offset_count () const -> &f32
auto offset_count_mut () -> &mut f32
void set_offset_count (value:f32)
auto world_xf () const -> &meshlib::AffineXf3f
auto world_xf_mut () -> &mut meshlib::AffineXf3f
void set_world_xf (value:meshlib::AffineXf3f)
auto out_xf () const -> *const *mut meshlib::AffineXf3f
auto out_xf_mut () -> *mut *mut meshlib::AffineXf3f
void set_out_xf (value:Option<&mut meshlib::AffineXf3f >)
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)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PolylineToDistanceVolumeParams >
static auto construct_from (voxelSize:meshlib::Vector3f, offsetCount:f32, worldXf:meshlib::AffineXf3f, outXf:Option<&mut meshlib::AffineXf3f >, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::PolylineToDistanceVolumeParams >
static auto construct_from_another (_other:&meshlib::PolylineToDistanceVolumeParams) -> meshlib::Owned< meshlib::PolylineToDistanceVolumeParams >
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::PolylineToDistanceVolumeParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cb()

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

Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named cb.

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

◆ cb_mut()

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

Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named cb.

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

◆ construct_from()

auto meshlib::PolylineToDistanceVolumeParams::construct_from ( voxelSize:meshlib::Vector3f ,
offsetCount:f32 ,
worldXf:meshlib::AffineXf3f ,
outXf:Option<&mut meshlib::AffineXf3f > ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::PolylineToDistanceVolumeParams >
static

Constructs MR::PolylineToDistanceVolumeParams elementwise.

Calls MR_PolylineToDistanceVolumeParams_ConstructFrom(). The reference to the parameter voxelSize might be preserved in the constructed object. The reference to the parameter worldXf might be preserved in the constructed object. The reference to the parameter outXf might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PolylineToDistanceVolumeParams::PolylineToDistanceVolumeParams.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_PolylineToDistanceVolumeParams_DefaultConstruct().

◆ offset_count()

auto meshlib::PolylineToDistanceVolumeParams::offset_count ( ) const -> &f32

offsetCount - the number of voxels around polyline to calculate distance in (should be positive) Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named offsetCount.

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

◆ offset_count_mut()

auto meshlib::PolylineToDistanceVolumeParams::offset_count_mut ( ) -> &mut f32

offsetCount - the number of voxels around polyline to calculate distance in (should be positive) Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named offsetCount.

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

◆ out_xf()

auto meshlib::PolylineToDistanceVolumeParams::out_xf ( ) const -> *const *mut meshlib::AffineXf3f

optional output: xf to original mesh (respecting worldXf) Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named outXf.

Calls MR_PolylineToDistanceVolumeParams_Get_outXf(). 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.

◆ out_xf_mut()

auto meshlib::PolylineToDistanceVolumeParams::out_xf_mut ( ) -> *mut *mut meshlib::AffineXf3f

optional output: xf to original mesh (respecting worldXf) Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named outXf.

Calls MR_PolylineToDistanceVolumeParams_GetMutable_outXf(). 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.

◆ set_cb()

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

Modifies a member variable of class MR::PolylineToDistanceVolumeParams named cb.

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

◆ set_offset_count()

void meshlib::PolylineToDistanceVolumeParams::set_offset_count ( value:f32 )

offsetCount - the number of voxels around polyline to calculate distance in (should be positive) Modifies a member variable of class MR::PolylineToDistanceVolumeParams named offsetCount.

Calls MR_PolylineToDistanceVolumeParams_Set_offsetCount().

◆ set_out_xf()

void meshlib::PolylineToDistanceVolumeParams::set_out_xf ( value:Option<&mut meshlib::AffineXf3f > )

optional output: xf to original mesh (respecting worldXf) Modifies a member variable of class MR::PolylineToDistanceVolumeParams named outXf.

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

◆ set_voxel_size()

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

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

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

◆ set_world_xf()

void meshlib::PolylineToDistanceVolumeParams::set_world_xf ( value:meshlib::AffineXf3f )

line initial transform Modifies a member variable of class MR::PolylineToDistanceVolumeParams named worldXf.

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

◆ voxel_size()

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

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

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

◆ voxel_size_mut()

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

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

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

◆ world_xf()

auto meshlib::PolylineToDistanceVolumeParams::world_xf ( ) const -> &meshlib::AffineXf3f

line initial transform Returns a pointer to a member variable of class MR::PolylineToDistanceVolumeParams named worldXf.

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

◆ world_xf_mut()

auto meshlib::PolylineToDistanceVolumeParams::world_xf_mut ( ) -> &mut meshlib::AffineXf3f

line initial transform Returns a mutable pointer to a member variable of class MR::PolylineToDistanceVolumeParams named worldXf.

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


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