Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::DoubleOffsetSettings > |
| static auto | construct_from (voxelSize:f32, offsetA:f32, offsetB:f32, adaptivity:f32, fwn:&meshlib::std_shared_ptr_MR_IFastWindingNumber, windingNumberThreshold:f32, windingNumberBeta:f32, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::DoubleOffsetSettings > |
| static auto | construct_from_another (_other:&meshlib::DoubleOffsetSettings) -> meshlib::Owned< meshlib::DoubleOffsetSettings > |
| 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::DoubleOffsetSettings.
Generated from class MR::DoubleOffsetSettings. Heap-allocated instances are held in Owned<DoubleOffsetSettings>.
| auto meshlib::DoubleOffsetSettings::adaptivity | ( | ) | const -> &f32 |
in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values) Returns a pointer to a member variable of class MR::DoubleOffsetSettings named adaptivity.
Calls MR_DoubleOffsetSettings_Get_adaptivity(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::adaptivity_mut | ( | ) | -> &mut f32 |
in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values) Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named adaptivity.
Calls MR_DoubleOffsetSettings_GetMutable_adaptivity(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::assign_from_another | ( | _other:&meshlib::DoubleOffsetSettings | ) | -> &mut meshlib::DoubleOffsetSettings |
Generated from method MR::DoubleOffsetSettings::operator=.
Calls MR_DoubleOffsetSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::DoubleOffsetSettings elementwise.
Calls MR_DoubleOffsetSettings_ConstructFrom(). The reference to the parameter fwn might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.
|
static |
Generated from constructor MR::DoubleOffsetSettings::DoubleOffsetSettings.
Calls MR_DoubleOffsetSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::DoubleOffsetSettings::fwn | ( | ) | const -> &meshlib::std_shared_ptr_MR_IFastWindingNumber |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Returns a pointer to a member variable of class MR::DoubleOffsetSettings named fwn.
Calls MR_DoubleOffsetSettings_Get_fwn(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::fwn_mut | ( | ) | -> &mut meshlib::std_shared_ptr_MR_IFastWindingNumber |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named fwn.
Calls MR_DoubleOffsetSettings_GetMutable_fwn(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_DoubleOffsetSettings_DefaultConstruct().
| auto meshlib::DoubleOffsetSettings::offset_a | ( | ) | const -> &f32 |
the amount of first offset Returns a pointer to a member variable of class MR::DoubleOffsetSettings named offsetA.
Calls MR_DoubleOffsetSettings_Get_offsetA(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::offset_a_mut | ( | ) | -> &mut f32 |
the amount of first offset Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named offsetA.
Calls MR_DoubleOffsetSettings_GetMutable_offsetA(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::offset_b | ( | ) | const -> &f32 |
the amount of second offset Returns a pointer to a member variable of class MR::DoubleOffsetSettings named offsetB.
Calls MR_DoubleOffsetSettings_Get_offsetB(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::offset_b_mut | ( | ) | -> &mut f32 |
the amount of second offset Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named offsetB.
Calls MR_DoubleOffsetSettings_GetMutable_offsetB(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::progress | ( | ) | const -> &meshlib::std_function_bool_from_float |
to report algorithm's progress and to cancel it Returns a pointer to a member variable of class MR::DoubleOffsetSettings named progress.
Calls MR_DoubleOffsetSettings_Get_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::progress_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
to report algorithm's progress and to cancel it Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named progress.
Calls MR_DoubleOffsetSettings_GetMutable_progress(). The reference to this object might be preserved as the return value.
| void meshlib::DoubleOffsetSettings::set_adaptivity | ( | value:f32 | ) |
in [0; 1] - ratio of combining small triangles into bigger ones (curvature can be lost on high values) Modifies a member variable of class MR::DoubleOffsetSettings named adaptivity.
Calls MR_DoubleOffsetSettings_Set_adaptivity().
| void meshlib::DoubleOffsetSettings::set_fwn | ( | value:&meshlib::std_shared_ptr_MR_IFastWindingNumber | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Modifies a member variable of class MR::DoubleOffsetSettings named fwn.
Calls MR_DoubleOffsetSettings_Set_fwn(). The reference to the parameter value might be preserved in this object in element fwn.
| void meshlib::DoubleOffsetSettings::set_offset_a | ( | value:f32 | ) |
the amount of first offset Modifies a member variable of class MR::DoubleOffsetSettings named offsetA.
Calls MR_DoubleOffsetSettings_Set_offsetA().
| void meshlib::DoubleOffsetSettings::set_offset_b | ( | value:f32 | ) |
the amount of second offset Modifies a member variable of class MR::DoubleOffsetSettings named offsetB.
Calls MR_DoubleOffsetSettings_Set_offsetB().
| void meshlib::DoubleOffsetSettings::set_progress | ( | value:&meshlib::std_function_bool_from_float | ) |
to report algorithm's progress and to cancel it Modifies a member variable of class MR::DoubleOffsetSettings named progress.
Calls MR_DoubleOffsetSettings_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.
| void meshlib::DoubleOffsetSettings::set_voxel_size | ( | value:f32 | ) |
the size of voxel in intermediate voxel grid representation Modifies a member variable of class MR::DoubleOffsetSettings named voxelSize.
Calls MR_DoubleOffsetSettings_Set_voxelSize().
| void meshlib::DoubleOffsetSettings::set_winding_number_beta | ( | value:f32 | ) |
determines the precision of fast approximation: the more the better, minimum value is 1 Modifies a member variable of class MR::DoubleOffsetSettings named windingNumberBeta.
Calls MR_DoubleOffsetSettings_Set_windingNumberBeta().
| void meshlib::DoubleOffsetSettings::set_winding_number_threshold | ( | value:f32 | ) |
positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Modifies a member variable of class MR::DoubleOffsetSettings named windingNumberThreshold.
Calls MR_DoubleOffsetSettings_Set_windingNumberThreshold().
| auto meshlib::DoubleOffsetSettings::voxel_size | ( | ) | const -> &f32 |
the size of voxel in intermediate voxel grid representation Returns a pointer to a member variable of class MR::DoubleOffsetSettings named voxelSize.
Calls MR_DoubleOffsetSettings_Get_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::voxel_size_mut | ( | ) | -> &mut f32 |
the size of voxel in intermediate voxel grid representation Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named voxelSize.
Calls MR_DoubleOffsetSettings_GetMutable_voxelSize(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::winding_number_beta | ( | ) | const -> &f32 |
determines the precision of fast approximation: the more the better, minimum value is 1 Returns a pointer to a member variable of class MR::DoubleOffsetSettings named windingNumberBeta.
Calls MR_DoubleOffsetSettings_Get_windingNumberBeta(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::winding_number_beta_mut | ( | ) | -> &mut f32 |
determines the precision of fast approximation: the more the better, minimum value is 1 Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named windingNumberBeta.
Calls MR_DoubleOffsetSettings_GetMutable_windingNumberBeta(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::winding_number_threshold | ( | ) | const -> &f32 |
positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a pointer to a member variable of class MR::DoubleOffsetSettings named windingNumberThreshold.
Calls MR_DoubleOffsetSettings_Get_windingNumberThreshold(). The reference to this object might be preserved as the return value.
| auto meshlib::DoubleOffsetSettings::winding_number_threshold_mut | ( | ) | -> &mut f32 |
positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a mutable pointer to a member variable of class MR::DoubleOffsetSettings named windingNumberThreshold.
Calls MR_DoubleOffsetSettings_GetMutable_windingNumberThreshold(). The reference to this object might be preserved as the return value.