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

Public Member Functions

auto assign_from_another (_other:&meshlib::FindDisorientationParams) -> &mut meshlib::FindDisorientationParams
auto mode () const -> &meshlib::FindDisorientationParams_RayMode
auto mode_mut () -> &mut meshlib::FindDisorientationParams_RayMode
void set_mode (value:meshlib::FindDisorientationParams_RayMode)
auto virtual_fill_holes () const -> &bool
auto virtual_fill_holes_mut () -> &mut bool
void set_virtual_fill_holes (value:bool)
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::FindDisorientationParams >
static auto construct_from (mode:meshlib::FindDisorientationParams_RayMode, virtualFillHoles:bool, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::FindDisorientationParams >
static auto construct_from_another (_other:&meshlib::FindDisorientationParams) -> meshlib::Owned< meshlib::FindDisorientationParams >
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

Parameters for findDisorientedFaces function Generated from class MR::FindDisorientationParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cb()

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

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

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

◆ cb_mut()

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

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

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

◆ construct_from()

auto meshlib::FindDisorientationParams::construct_from ( mode:meshlib::FindDisorientationParams_RayMode ,
virtualFillHoles:bool ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::FindDisorientationParams >
static

Constructs MR::FindDisorientationParams elementwise.

Calls MR_FindDisorientationParams_ConstructFrom(). The reference to the parameter mode 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::FindDisorientationParams::construct_from_another ( _other:&meshlib::FindDisorientationParams ) -> meshlib::Owned< meshlib::FindDisorientationParams >
static

Generated from constructor MR::FindDisorientationParams::FindDisorientationParams.

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

◆ mode()

auto meshlib::FindDisorientationParams::mode ( ) const -> &meshlib::FindDisorientationParams_RayMode

Returns a pointer to a member variable of class MR::FindDisorientationParams named mode.

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

◆ mode_mut()

auto meshlib::FindDisorientationParams::mode_mut ( ) -> &mut meshlib::FindDisorientationParams_RayMode

Returns a mutable pointer to a member variable of class MR::FindDisorientationParams named mode.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FindDisorientationParams_DefaultConstruct().

◆ set_cb()

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

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

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

◆ set_mode()

void meshlib::FindDisorientationParams::set_mode ( value:meshlib::FindDisorientationParams_RayMode )

Modifies a member variable of class MR::FindDisorientationParams named mode.

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

◆ set_virtual_fill_holes()

void meshlib::FindDisorientationParams::set_virtual_fill_holes ( value:bool )

if set - copy mesh, and fills holes for better quality in case of ray going out through hole Modifies a member variable of class MR::FindDisorientationParams named virtualFillHoles.

Calls MR_FindDisorientationParams_Set_virtualFillHoles().

◆ virtual_fill_holes()

auto meshlib::FindDisorientationParams::virtual_fill_holes ( ) const -> &bool

if set - copy mesh, and fills holes for better quality in case of ray going out through hole Returns a pointer to a member variable of class MR::FindDisorientationParams named virtualFillHoles.

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

◆ virtual_fill_holes_mut()

auto meshlib::FindDisorientationParams::virtual_fill_holes_mut ( ) -> &mut bool

if set - copy mesh, and fills holes for better quality in case of ray going out through hole Returns a mutable pointer to a member variable of class MR::FindDisorientationParams named virtualFillHoles.

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


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