Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::CompensateRadiusParams) -> &mut meshlib::CompensateRadiusParams |
| auto | direction () const -> &meshlib::Vector3f |
| auto | direction_mut () -> &mut meshlib::Vector3f |
| void | set_direction (value:meshlib::Vector3f) |
| auto | tool_radius () const -> &f32 |
| auto | tool_radius_mut () -> &mut f32 |
| void | set_tool_radius (value:f32) |
| auto | region () const -> *const *const meshlib::ffi::MR_FaceBitSet |
| auto | region_mut () -> *mut *const meshlib::ffi::MR_FaceBitSet |
| void | set_region (value:Option<&meshlib::FaceBitSet >) |
| auto | max_iterations () const -> &core::ffi::c_int |
| auto | max_iterations_mut () -> &mut core::ffi::c_int |
| void | set_max_iterations (value:core::ffi::c_int) |
| auto | relax_expansion () const -> &core::ffi::c_int |
| auto | relax_expansion_mut () -> &mut core::ffi::c_int |
| void | set_relax_expansion (value:core::ffi::c_int) |
| auto | relax_iterations () const -> &core::ffi::c_int |
| auto | relax_iterations_mut () -> &mut core::ffi::c_int |
| void | set_relax_iterations (value:core::ffi::c_int) |
| auto | relax_force () const -> &f32 |
| auto | relax_force_mut () -> &mut f32 |
| void | set_relax_force (value:f32) |
| auto | callback () const -> &meshlib::std_function_bool_from_float |
| auto | callback_mut () -> &mut meshlib::std_function_bool_from_float |
| void | set_callback (value:&meshlib::std_function_bool_from_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::CompensateRadiusParams > |
| static auto | construct_from (direction:meshlib::Vector3f, toolRadius:f32, region:Option<&meshlib::FaceBitSet >, maxIterations:core::ffi::c_int, relaxExpansion:core::ffi::c_int, relaxIterations:core::ffi::c_int, relaxForce:f32, callback:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::CompensateRadiusParams > |
| static auto | construct_from_another (_other:&meshlib::CompensateRadiusParams) -> meshlib::Owned< meshlib::CompensateRadiusParams > |
| 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 |
structure with parameters for compensateRadius function Generated from class MR::CompensateRadiusParams.
Generated from class MR::CompensateRadiusParams. Heap-allocated instances are held in Owned<CompensateRadiusParams>.
| auto meshlib::CompensateRadiusParams::assign_from_another | ( | _other:&meshlib::CompensateRadiusParams | ) | -> &mut meshlib::CompensateRadiusParams |
Generated from method MR::CompensateRadiusParams::operator=.
Calls MR_CompensateRadiusParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::CompensateRadiusParams::callback | ( | ) | const -> &meshlib::std_function_bool_from_float |
Returns a pointer to a member variable of class MR::CompensateRadiusParams named callback.
Calls MR_CompensateRadiusParams_Get_callback(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::callback_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named callback.
Calls MR_CompensateRadiusParams_GetMutable_callback(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::CompensateRadiusParams elementwise.
Calls MR_CompensateRadiusParams_ConstructFrom(). The reference to the parameter direction might be preserved in the constructed object. The reference to the parameter region might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object.
|
static |
Generated from constructor MR::CompensateRadiusParams::CompensateRadiusParams.
Calls MR_CompensateRadiusParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::CompensateRadiusParams::direction | ( | ) | const -> &meshlib::Vector3f |
Z direction of milling tool Returns a pointer to a member variable of class MR::CompensateRadiusParams named direction.
Calls MR_CompensateRadiusParams_Get_direction(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::direction_mut | ( | ) | -> &mut meshlib::Vector3f |
Z direction of milling tool Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named direction.
Calls MR_CompensateRadiusParams_GetMutable_direction(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::max_iterations | ( | ) | const -> &core::ffi::c_int |
maximum iteration of applying algorithm (each iteration improves result a little bit) Returns a pointer to a member variable of class MR::CompensateRadiusParams named maxIterations.
Calls MR_CompensateRadiusParams_Get_maxIterations(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::max_iterations_mut | ( | ) | -> &mut core::ffi::c_int |
maximum iteration of applying algorithm (each iteration improves result a little bit) Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named maxIterations.
Calls MR_CompensateRadiusParams_GetMutable_maxIterations(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_CompensateRadiusParams_DefaultConstruct().
| auto meshlib::CompensateRadiusParams::region | ( | ) | const -> *const *const meshlib::ffi::MR_FaceBitSet |
region of the mesh that will be compensated it should not contain closed components also please note that boundaries of the region are fixed Returns a pointer to a member variable of class MR::CompensateRadiusParams named region.
Calls MR_CompensateRadiusParams_Get_region(). 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.
| auto meshlib::CompensateRadiusParams::region_mut | ( | ) | -> *mut *const meshlib::ffi::MR_FaceBitSet |
region of the mesh that will be compensated it should not contain closed components also please note that boundaries of the region are fixed Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named region.
Calls MR_CompensateRadiusParams_GetMutable_region(). 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.
| auto meshlib::CompensateRadiusParams::relax_expansion | ( | ) | const -> &core::ffi::c_int |
how many hops to expand around each moved vertex for relaxation Returns a pointer to a member variable of class MR::CompensateRadiusParams named relaxExpansion.
Calls MR_CompensateRadiusParams_Get_relaxExpansion(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::relax_expansion_mut | ( | ) | -> &mut core::ffi::c_int |
how many hops to expand around each moved vertex for relaxation Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named relaxExpansion.
Calls MR_CompensateRadiusParams_GetMutable_relaxExpansion(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::relax_force | ( | ) | const -> &f32 |
force of relaxations on each compensation iteration Returns a pointer to a member variable of class MR::CompensateRadiusParams named relaxForce.
Calls MR_CompensateRadiusParams_Get_relaxForce(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::relax_force_mut | ( | ) | -> &mut f32 |
force of relaxations on each compensation iteration Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named relaxForce.
Calls MR_CompensateRadiusParams_GetMutable_relaxForce(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::relax_iterations | ( | ) | const -> &core::ffi::c_int |
how many iterations of relax is applied on each compensation iteration Returns a pointer to a member variable of class MR::CompensateRadiusParams named relaxIterations.
Calls MR_CompensateRadiusParams_Get_relaxIterations(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::relax_iterations_mut | ( | ) | -> &mut core::ffi::c_int |
how many iterations of relax is applied on each compensation iteration Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named relaxIterations.
Calls MR_CompensateRadiusParams_GetMutable_relaxIterations(). The reference to this object might be preserved as the return value.
| void meshlib::CompensateRadiusParams::set_callback | ( | value:&meshlib::std_function_bool_from_float | ) |
Modifies a member variable of class MR::CompensateRadiusParams named callback.
Calls MR_CompensateRadiusParams_Set_callback(). The reference to the parameter value might be preserved in this object in element callback.
| void meshlib::CompensateRadiusParams::set_direction | ( | value:meshlib::Vector3f | ) |
Z direction of milling tool Modifies a member variable of class MR::CompensateRadiusParams named direction.
Calls MR_CompensateRadiusParams_Set_direction(). The reference to the parameter value might be preserved in this object in element direction.
| void meshlib::CompensateRadiusParams::set_max_iterations | ( | value:core::ffi::c_int | ) |
maximum iteration of applying algorithm (each iteration improves result a little bit) Modifies a member variable of class MR::CompensateRadiusParams named maxIterations.
Calls MR_CompensateRadiusParams_Set_maxIterations().
| void meshlib::CompensateRadiusParams::set_region | ( | value:Option<&meshlib::FaceBitSet > | ) |
region of the mesh that will be compensated it should not contain closed components also please note that boundaries of the region are fixed Modifies a member variable of class MR::CompensateRadiusParams named region.
Calls MR_CompensateRadiusParams_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::CompensateRadiusParams::set_relax_expansion | ( | value:core::ffi::c_int | ) |
how many hops to expand around each moved vertex for relaxation Modifies a member variable of class MR::CompensateRadiusParams named relaxExpansion.
Calls MR_CompensateRadiusParams_Set_relaxExpansion().
| void meshlib::CompensateRadiusParams::set_relax_force | ( | value:f32 | ) |
force of relaxations on each compensation iteration Modifies a member variable of class MR::CompensateRadiusParams named relaxForce.
Calls MR_CompensateRadiusParams_Set_relaxForce().
| void meshlib::CompensateRadiusParams::set_relax_iterations | ( | value:core::ffi::c_int | ) |
how many iterations of relax is applied on each compensation iteration Modifies a member variable of class MR::CompensateRadiusParams named relaxIterations.
Calls MR_CompensateRadiusParams_Set_relaxIterations().
| void meshlib::CompensateRadiusParams::set_tool_radius | ( | value:f32 | ) |
radius of spherical tool Modifies a member variable of class MR::CompensateRadiusParams named toolRadius.
Calls MR_CompensateRadiusParams_Set_toolRadius().
| auto meshlib::CompensateRadiusParams::tool_radius | ( | ) | const -> &f32 |
radius of spherical tool Returns a pointer to a member variable of class MR::CompensateRadiusParams named toolRadius.
Calls MR_CompensateRadiusParams_Get_toolRadius(). The reference to this object might be preserved as the return value.
| auto meshlib::CompensateRadiusParams::tool_radius_mut | ( | ) | -> &mut f32 |
radius of spherical tool Returns a mutable pointer to a member variable of class MR::CompensateRadiusParams named toolRadius.
Calls MR_CompensateRadiusParams_GetMutable_toolRadius(). The reference to this object might be preserved as the return value.