Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ZCompensateParams) -> &mut meshlib::ZCompensateParams |
| auto | max_shift () const -> &f32 |
| auto | max_shift_mut () -> &mut f32 |
| void | set_max_shift (value:f32) |
| auto | reduce_self_intersections () const -> &bool |
| auto | reduce_self_intersections_mut () -> &mut bool |
| void | set_reduce_self_intersections (value:bool) |
| auto | min_thickness () const -> &f32 |
| auto | min_thickness_mut () -> &mut f32 |
| void | set_min_thickness (value:f32) |
| auto | progress () const -> &meshlib::std_function_bool_from_float |
| auto | progress_mut () -> &mut meshlib::std_function_bool_from_float |
| void | set_progress (value:&meshlib::std_function_bool_from_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::ZCompensateParams > |
| static auto | construct_from (maxShift:f32, reduceSelfIntersections:bool, minThickness:f32, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::ZCompensateParams > |
| static auto | construct_from_another (_other:&meshlib::ZCompensateParams) -> meshlib::Owned< meshlib::ZCompensateParams > |
| 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 |
Generated from class MR::ZCompensateParams.
Generated from class MR::ZCompensateParams. Heap-allocated instances are held in Owned<ZCompensateParams>.
| auto meshlib::ZCompensateParams::assign_from_another | ( | _other:&meshlib::ZCompensateParams | ) | -> &mut meshlib::ZCompensateParams |
Generated from method MR::ZCompensateParams::operator=.
Calls MR_ZCompensateParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::ZCompensateParams elementwise.
Calls MR_ZCompensateParams_ConstructFrom(). The reference to the parameter progress might be preserved in the constructed object.
|
static |
Generated from constructor MR::ZCompensateParams::ZCompensateParams.
Calls MR_ZCompensateParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ZCompensateParams::max_shift | ( | ) | const -> &f32 |
shift of mesh parts orthogonal to Z-axis with normal against Z-axis; for other mesh parts the shift will be less and will depend on the angle between point pseudo-normal and Z-axis Returns a pointer to a member variable of class MR::ZCompensateParams named maxShift.
Calls MR_ZCompensateParams_Get_maxShift(). The reference to this object might be preserved as the return value.
| auto meshlib::ZCompensateParams::max_shift_mut | ( | ) | -> &mut f32 |
shift of mesh parts orthogonal to Z-axis with normal against Z-axis; for other mesh parts the shift will be less and will depend on the angle between point pseudo-normal and Z-axis Returns a mutable pointer to a member variable of class MR::ZCompensateParams named maxShift.
Calls MR_ZCompensateParams_GetMutable_maxShift(). The reference to this object might be preserved as the return value.
| auto meshlib::ZCompensateParams::min_thickness | ( | ) | const -> &f32 |
only if (reduceSelfIntersections = true), avoids moving a vertex closer than this distance to another triangle Returns a pointer to a member variable of class MR::ZCompensateParams named minThickness.
Calls MR_ZCompensateParams_Get_minThickness(). The reference to this object might be preserved as the return value.
| auto meshlib::ZCompensateParams::min_thickness_mut | ( | ) | -> &mut f32 |
only if (reduceSelfIntersections = true), avoids moving a vertex closer than this distance to another triangle Returns a mutable pointer to a member variable of class MR::ZCompensateParams named minThickness.
Calls MR_ZCompensateParams_GetMutable_minThickness(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ZCompensateParams_DefaultConstruct().
| auto meshlib::ZCompensateParams::progress | ( | ) | const -> &meshlib::std_function_bool_from_float |
to report progress and cancel processing Returns a pointer to a member variable of class MR::ZCompensateParams named progress.
Calls MR_ZCompensateParams_Get_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::ZCompensateParams::progress_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
to report progress and cancel processing Returns a mutable pointer to a member variable of class MR::ZCompensateParams named progress.
Calls MR_ZCompensateParams_GetMutable_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::ZCompensateParams::reduce_self_intersections | ( | ) | const -> &bool |
if true, limits the movement of each vertex to reduce self-intersections in the mesh Returns a pointer to a member variable of class MR::ZCompensateParams named reduceSelfIntersections.
Calls MR_ZCompensateParams_Get_reduceSelfIntersections(). The reference to this object might be preserved as the return value.
| auto meshlib::ZCompensateParams::reduce_self_intersections_mut | ( | ) | -> &mut bool |
if true, limits the movement of each vertex to reduce self-intersections in the mesh Returns a mutable pointer to a member variable of class MR::ZCompensateParams named reduceSelfIntersections.
Calls MR_ZCompensateParams_GetMutable_reduceSelfIntersections(). The reference to this object might be preserved as the return value.
| void meshlib::ZCompensateParams::set_max_shift | ( | value:f32 | ) |
shift of mesh parts orthogonal to Z-axis with normal against Z-axis; for other mesh parts the shift will be less and will depend on the angle between point pseudo-normal and Z-axis Modifies a member variable of class MR::ZCompensateParams named maxShift.
Calls MR_ZCompensateParams_Set_maxShift().
| void meshlib::ZCompensateParams::set_min_thickness | ( | value:f32 | ) |
only if (reduceSelfIntersections = true), avoids moving a vertex closer than this distance to another triangle Modifies a member variable of class MR::ZCompensateParams named minThickness.
Calls MR_ZCompensateParams_Set_minThickness().
| void meshlib::ZCompensateParams::set_progress | ( | value:&meshlib::std_function_bool_from_float | ) |
to report progress and cancel processing Modifies a member variable of class MR::ZCompensateParams named progress.
Calls MR_ZCompensateParams_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.
| void meshlib::ZCompensateParams::set_reduce_self_intersections | ( | value:bool | ) |
if true, limits the movement of each vertex to reduce self-intersections in the mesh Modifies a member variable of class MR::ZCompensateParams named reduceSelfIntersections.
Calls MR_ZCompensateParams_Set_reduceSelfIntersections().