Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::UniteManyMeshesParams) -> &mut meshlib::UniteManyMeshesParams |
| auto | use_random_shifts () const -> &bool |
| auto | use_random_shifts_mut () -> &mut bool |
| void | set_use_random_shifts (value:bool) |
| auto | fix_degenerations () const -> &bool |
| auto | fix_degenerations_mut () -> &mut bool |
| void | set_fix_degenerations (value:bool) |
| auto | max_allowed_error () const -> &f32 |
| auto | max_allowed_error_mut () -> &mut f32 |
| void | set_max_allowed_error (value:f32) |
| auto | random_shifts_seed () const -> &core::ffi::c_uint |
| auto | random_shifts_seed_mut () -> &mut core::ffi::c_uint |
| void | set_random_shifts_seed (value:core::ffi::c_uint) |
| auto | new_faces () const -> *const *mut meshlib::ffi::MR_FaceBitSet |
| auto | new_faces_mut () -> *mut *mut meshlib::ffi::MR_FaceBitSet |
| void | set_new_faces (value:Option<&mut meshlib::FaceBitSet >) |
| auto | new2old_faces () const -> *const *mut meshlib::ffi::MR_Vector_MR_ObjFaceId_MR_FaceId |
| auto | new2old_faces_mut () -> *mut *mut meshlib::ffi::MR_Vector_MR_ObjFaceId_MR_FaceId |
| void | set_new2old_faces (value:Option<&mut meshlib::Vector_MR_ObjFaceId_MR_FaceId >) |
| auto | nested_components_mode () const -> &meshlib::NestedComponenetsMode |
| auto | nested_components_mode_mut () -> &mut meshlib::NestedComponenetsMode |
| void | set_nested_components_mode (value:meshlib::NestedComponenetsMode) |
| auto | merge_on_fail () const -> &bool |
| auto | merge_on_fail_mut () -> &mut bool |
| void | set_merge_on_fail (value:bool) |
| auto | force_cut () const -> &bool |
| auto | force_cut_mut () -> &mut bool |
| void | set_force_cut (value:bool) |
| auto | progress_cb () const -> &meshlib::std_function_bool_from_float |
| auto | progress_cb_mut () -> &mut meshlib::std_function_bool_from_float |
| void | set_progress_cb (value:&meshlib::std_function_bool_from_float) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::UniteManyMeshesParams > |
| static auto | construct_from (useRandomShifts:bool, fixDegenerations:bool, maxAllowedError:f32, randomShiftsSeed:core::ffi::c_uint, newFaces:Option<&mut meshlib::FaceBitSet >, new2oldFaces:Option<&mut meshlib::Vector_MR_ObjFaceId_MR_FaceId >, nestedComponentsMode:meshlib::NestedComponenetsMode, mergeOnFail:bool, forceCut:bool, progressCb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::UniteManyMeshesParams > |
| static auto | construct_from_another (_other:&meshlib::UniteManyMeshesParams) -> meshlib::Owned< meshlib::UniteManyMeshesParams > |
| 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 |
Parameters structure for uniteManyMeshes function Generated from class MR::UniteManyMeshesParams.
Generated from class MR::UniteManyMeshesParams. Heap-allocated instances are held in Owned<UniteManyMeshesParams>.
| auto meshlib::UniteManyMeshesParams::assign_from_another | ( | _other:&meshlib::UniteManyMeshesParams | ) | -> &mut meshlib::UniteManyMeshesParams |
Generated from method MR::UniteManyMeshesParams::operator=.
Calls MR_UniteManyMeshesParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::UniteManyMeshesParams elementwise.
Calls MR_UniteManyMeshesParams_ConstructFrom(). The reference to the parameter randomShiftsSeed might be preserved in the constructed object. The reference to the parameter newFaces might be preserved in the constructed object. The reference to the parameter new2oldFaces might be preserved in the constructed object. The reference to the parameter nestedComponentsMode might be preserved in the constructed object. The reference to the parameter progressCb might be preserved in the constructed object.
|
static |
Generated from constructor MR::UniteManyMeshesParams::UniteManyMeshesParams.
Calls MR_UniteManyMeshesParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::UniteManyMeshesParams::fix_degenerations | ( | ) | const -> &bool |
Try fix degenerations after each boolean step, to prevent boolean failure due to high amount of degenerated faces useful on meshes with many coincident surfaces (useRandomShifts used for same issue) Returns a pointer to a member variable of class MR::UniteManyMeshesParams named fixDegenerations.
Calls MR_UniteManyMeshesParams_Get_fixDegenerations(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::fix_degenerations_mut | ( | ) | -> &mut bool |
Try fix degenerations after each boolean step, to prevent boolean failure due to high amount of degenerated faces useful on meshes with many coincident surfaces (useRandomShifts used for same issue) Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named fixDegenerations.
Calls MR_UniteManyMeshesParams_GetMutable_fixDegenerations(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::force_cut | ( | ) | const -> &bool |
If this option is enabled boolean will cut meshes even if there are self-intersections in intersecting area also applying MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards
Calls MR_UniteManyMeshesParams_Get_forceCut(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::force_cut_mut | ( | ) | -> &mut bool |
If this option is enabled boolean will cut meshes even if there are self-intersections in intersecting area also applying MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards
Calls MR_UniteManyMeshesParams_GetMutable_forceCut(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::max_allowed_error | ( | ) | const -> &f32 |
Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false Returns a pointer to a member variable of class MR::UniteManyMeshesParams named maxAllowedError.
Calls MR_UniteManyMeshesParams_Get_maxAllowedError(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::max_allowed_error_mut | ( | ) | -> &mut f32 |
Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named maxAllowedError.
Calls MR_UniteManyMeshesParams_GetMutable_maxAllowedError(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::merge_on_fail | ( | ) | const -> &bool |
If set - merges meshes instead of booleaning it if boolean operation fails Returns a pointer to a member variable of class MR::UniteManyMeshesParams named mergeOnFail.
Calls MR_UniteManyMeshesParams_Get_mergeOnFail(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::merge_on_fail_mut | ( | ) | -> &mut bool |
If set - merges meshes instead of booleaning it if boolean operation fails Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named mergeOnFail.
Calls MR_UniteManyMeshesParams_GetMutable_mergeOnFail(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::nested_components_mode | ( | ) | const -> &meshlib::NestedComponenetsMode |
By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information Returns a pointer to a member variable of class MR::UniteManyMeshesParams named nestedComponentsMode.
Calls MR_UniteManyMeshesParams_Get_nestedComponentsMode(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::nested_components_mode_mut | ( | ) | -> &mut meshlib::NestedComponenetsMode |
By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named nestedComponentsMode.
Calls MR_UniteManyMeshesParams_GetMutable_nestedComponentsMode(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_UniteManyMeshesParams_DefaultConstruct().
| auto meshlib::UniteManyMeshesParams::new2old_faces | ( | ) | const -> *const *mut meshlib::ffi::MR_Vector_MR_ObjFaceId_MR_FaceId |
If set, receives for each face of the result mesh the input mesh and its face, from which the result face originates; the faces without origin (e.g. filled holes in forceCut mode) get invalid ids; in uniteComponents, objId is the index of the component and fId is the face of the input mesh Returns a pointer to a member variable of class MR::UniteManyMeshesParams named new2oldFaces.
Calls MR_UniteManyMeshesParams_Get_new2oldFaces(). 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::UniteManyMeshesParams::new2old_faces_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_Vector_MR_ObjFaceId_MR_FaceId |
If set, receives for each face of the result mesh the input mesh and its face, from which the result face originates; the faces without origin (e.g. filled holes in forceCut mode) get invalid ids; in uniteComponents, objId is the index of the component and fId is the face of the input mesh Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named new2oldFaces.
Calls MR_UniteManyMeshesParams_GetMutable_new2oldFaces(). 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::UniteManyMeshesParams::new_faces | ( | ) | const -> *const *mut meshlib::ffi::MR_FaceBitSet |
If set, the bitset will store new faces created by boolean operations Returns a pointer to a member variable of class MR::UniteManyMeshesParams named newFaces.
Calls MR_UniteManyMeshesParams_Get_newFaces(). 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::UniteManyMeshesParams::new_faces_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_FaceBitSet |
If set, the bitset will store new faces created by boolean operations Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named newFaces.
Calls MR_UniteManyMeshesParams_GetMutable_newFaces(). 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::UniteManyMeshesParams::progress_cb | ( | ) | const -> &meshlib::std_function_bool_from_float |
Returns a pointer to a member variable of class MR::UniteManyMeshesParams named progressCb.
Calls MR_UniteManyMeshesParams_Get_progressCb(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::progress_cb_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named progressCb.
Calls MR_UniteManyMeshesParams_GetMutable_progressCb(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::random_shifts_seed | ( | ) | const -> &core::ffi::c_uint |
Seed that is used for random shifts Returns a pointer to a member variable of class MR::UniteManyMeshesParams named randomShiftsSeed.
Calls MR_UniteManyMeshesParams_Get_randomShiftsSeed(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::random_shifts_seed_mut | ( | ) | -> &mut core::ffi::c_uint |
Seed that is used for random shifts Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named randomShiftsSeed.
Calls MR_UniteManyMeshesParams_GetMutable_randomShiftsSeed(). The reference to this object might be preserved as the return value.
| void meshlib::UniteManyMeshesParams::set_fix_degenerations | ( | value:bool | ) |
Try fix degenerations after each boolean step, to prevent boolean failure due to high amount of degenerated faces useful on meshes with many coincident surfaces (useRandomShifts used for same issue) Modifies a member variable of class MR::UniteManyMeshesParams named fixDegenerations.
Calls MR_UniteManyMeshesParams_Set_fixDegenerations().
| void meshlib::UniteManyMeshesParams::set_force_cut | ( | value:bool | ) |
If this option is enabled boolean will cut meshes even if there are self-intersections in intersecting area also applying MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards
Calls MR_UniteManyMeshesParams_Set_forceCut().
| void meshlib::UniteManyMeshesParams::set_max_allowed_error | ( | value:f32 | ) |
Max allowed random shifts in each direction, and max allowed deviation after degeneration fixing not used if both flags (useRandomShifts,fixDegenerations) are false Modifies a member variable of class MR::UniteManyMeshesParams named maxAllowedError.
Calls MR_UniteManyMeshesParams_Set_maxAllowedError().
| void meshlib::UniteManyMeshesParams::set_merge_on_fail | ( | value:bool | ) |
If set - merges meshes instead of booleaning it if boolean operation fails Modifies a member variable of class MR::UniteManyMeshesParams named mergeOnFail.
Calls MR_UniteManyMeshesParams_Set_mergeOnFail().
| void meshlib::UniteManyMeshesParams::set_nested_components_mode | ( | value:meshlib::NestedComponenetsMode | ) |
By default function separate nested meshes and remove them, just like union operation should do read comment of NestedComponenetsMode enum for more information Modifies a member variable of class MR::UniteManyMeshesParams named nestedComponentsMode.
Calls MR_UniteManyMeshesParams_Set_nestedComponentsMode(). The reference to the parameter value might be preserved in this object in element nestedComponentsMode.
| void meshlib::UniteManyMeshesParams::set_new2old_faces | ( | value:Option<&mut meshlib::Vector_MR_ObjFaceId_MR_FaceId > | ) |
If set, receives for each face of the result mesh the input mesh and its face, from which the result face originates; the faces without origin (e.g. filled holes in forceCut mode) get invalid ids; in uniteComponents, objId is the index of the component and fId is the face of the input mesh Modifies a member variable of class MR::UniteManyMeshesParams named new2oldFaces.
Calls MR_UniteManyMeshesParams_Set_new2oldFaces(). The reference to the parameter value might be preserved in this object in element new2oldFaces.
| void meshlib::UniteManyMeshesParams::set_new_faces | ( | value:Option<&mut meshlib::FaceBitSet > | ) |
If set, the bitset will store new faces created by boolean operations Modifies a member variable of class MR::UniteManyMeshesParams named newFaces.
Calls MR_UniteManyMeshesParams_Set_newFaces(). The reference to the parameter value might be preserved in this object in element newFaces.
| void meshlib::UniteManyMeshesParams::set_progress_cb | ( | value:&meshlib::std_function_bool_from_float | ) |
Modifies a member variable of class MR::UniteManyMeshesParams named progressCb.
Calls MR_UniteManyMeshesParams_Set_progressCb(). The reference to the parameter value might be preserved in this object in element progressCb.
| void meshlib::UniteManyMeshesParams::set_random_shifts_seed | ( | value:core::ffi::c_uint | ) |
Seed that is used for random shifts Modifies a member variable of class MR::UniteManyMeshesParams named randomShiftsSeed.
Calls MR_UniteManyMeshesParams_Set_randomShiftsSeed(). The reference to the parameter value might be preserved in this object in element randomShiftsSeed.
| void meshlib::UniteManyMeshesParams::set_use_random_shifts | ( | value:bool | ) |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces Modifies a member variable of class MR::UniteManyMeshesParams named useRandomShifts.
Calls MR_UniteManyMeshesParams_Set_useRandomShifts().
| auto meshlib::UniteManyMeshesParams::use_random_shifts | ( | ) | const -> &bool |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces Returns a pointer to a member variable of class MR::UniteManyMeshesParams named useRandomShifts.
Calls MR_UniteManyMeshesParams_Get_useRandomShifts(). The reference to this object might be preserved as the return value.
| auto meshlib::UniteManyMeshesParams::use_random_shifts_mut | ( | ) | -> &mut bool |
Apply random shift to each mesh, to prevent degenerations on coincident surfaces Returns a mutable pointer to a member variable of class MR::UniteManyMeshesParams named useRandomShifts.
Calls MR_UniteManyMeshesParams_GetMutable_useRandomShifts(). The reference to this object might be preserved as the return value.