Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SignedDistanceToMeshOptions > |
| static auto | construct_from_another (_other:&meshlib::SignedDistanceToMeshOptions) -> meshlib::Owned< meshlib::SignedDistanceToMeshOptions > |
| static auto | static_downcast_from_distance_to_mesh_options (object:&meshlib::DistanceToMeshOptions) -> &Self |
| static auto | static_downcast_from_distance_to_mesh_options_mut (object:&mut meshlib::DistanceToMeshOptions) -> &mut Self |
| 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 |
options determining computation of signed distance from a point to a mesh Generated from class MR::SignedDistanceToMeshOptions. Base classes: Direct: (non-virtual) MR::DistanceToMeshOptions
Generated from class MR::SignedDistanceToMeshOptions. Heap-allocated instances are held in Owned<SignedDistanceToMeshOptions>.
| auto meshlib::SignedDistanceToMeshOptions::assign_from_another | ( | _other:&meshlib::SignedDistanceToMeshOptions | ) | -> &mut meshlib::SignedDistanceToMeshOptions |
Generated from method MR::SignedDistanceToMeshOptions::operator=.
Calls MR_SignedDistanceToMeshOptions_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::SignedDistanceToMeshOptions::SignedDistanceToMeshOptions.
Calls MR_SignedDistanceToMeshOptions_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SignedDistanceToMeshOptions::max_dist_sq | ( | ) | const -> &f32 |
maximum squared distance from a point to mesh to be computed precisely Returns a pointer to a member variable of class MR::SignedDistanceToMeshOptions named maxDistSq.
Calls MR_SignedDistanceToMeshOptions_Get_maxDistSq(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::max_dist_sq_mut | ( | ) | -> &mut f32 |
maximum squared distance from a point to mesh to be computed precisely Returns a mutable pointer to a member variable of class MR::SignedDistanceToMeshOptions named maxDistSq.
Calls MR_SignedDistanceToMeshOptions_GetMutable_maxDistSq(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::min_dist_sq | ( | ) | const -> &f32 |
minimum squared distance from a point to mesh to be computed precisely Returns a pointer to a member variable of class MR::SignedDistanceToMeshOptions named minDistSq.
Calls MR_SignedDistanceToMeshOptions_Get_minDistSq(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::min_dist_sq_mut | ( | ) | -> &mut f32 |
minimum squared distance from a point to mesh to be computed precisely Returns a mutable pointer to a member variable of class MR::SignedDistanceToMeshOptions named minDistSq.
Calls MR_SignedDistanceToMeshOptions_GetMutable_minDistSq(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SignedDistanceToMeshOptions_DefaultConstruct().
| auto meshlib::SignedDistanceToMeshOptions::null_outside_min_max | ( | ) | const -> &bool |
what to do if actual distance is outside [min, max) range: true - return std::nullopt for std::optional<float> or NaN for float, false - return approximate value of the distance (with correct sign in case of SignDetectionMode::HoleWindingRule); please note that in HoleWindingRule the sign can change even for too small or too large distances, so if you would like to get closed mesh from marching cubes, set false here Returns a pointer to a member variable of class MR::SignedDistanceToMeshOptions named nullOutsideMinMax.
Calls MR_SignedDistanceToMeshOptions_Get_nullOutsideMinMax(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::null_outside_min_max_mut | ( | ) | -> &mut bool |
what to do if actual distance is outside [min, max) range: true - return std::nullopt for std::optional<float> or NaN for float, false - return approximate value of the distance (with correct sign in case of SignDetectionMode::HoleWindingRule); please note that in HoleWindingRule the sign can change even for too small or too large distances, so if you would like to get closed mesh from marching cubes, set false here Returns a mutable pointer to a member variable of class MR::SignedDistanceToMeshOptions named nullOutsideMinMax.
Calls MR_SignedDistanceToMeshOptions_GetMutable_nullOutsideMinMax(). The reference to this object might be preserved as the return value.
| void meshlib::SignedDistanceToMeshOptions::set_max_dist_sq | ( | value:f32 | ) |
maximum squared distance from a point to mesh to be computed precisely Modifies a member variable of class MR::SignedDistanceToMeshOptions named maxDistSq.
Calls MR_SignedDistanceToMeshOptions_Set_maxDistSq().
| void meshlib::SignedDistanceToMeshOptions::set_min_dist_sq | ( | value:f32 | ) |
minimum squared distance from a point to mesh to be computed precisely Modifies a member variable of class MR::SignedDistanceToMeshOptions named minDistSq.
Calls MR_SignedDistanceToMeshOptions_Set_minDistSq().
| void meshlib::SignedDistanceToMeshOptions::set_null_outside_min_max | ( | value:bool | ) |
what to do if actual distance is outside [min, max) range: true - return std::nullopt for std::optional<float> or NaN for float, false - return approximate value of the distance (with correct sign in case of SignDetectionMode::HoleWindingRule); please note that in HoleWindingRule the sign can change even for too small or too large distances, so if you would like to get closed mesh from marching cubes, set false here Modifies a member variable of class MR::SignedDistanceToMeshOptions named nullOutsideMinMax.
Calls MR_SignedDistanceToMeshOptions_Set_nullOutsideMinMax().
| void meshlib::SignedDistanceToMeshOptions::set_sign_mode | ( | value:meshlib::SignDetectionMode | ) |
the method to compute distance sign Modifies a member variable of class MR::SignedDistanceToMeshOptions named signMode.
Calls MR_SignedDistanceToMeshOptions_Set_signMode(). The reference to the parameter value might be preserved in this object in element signMode.
| void meshlib::SignedDistanceToMeshOptions::set_winding_number_beta | ( | value:f32 | ) |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1 Modifies a member variable of class MR::SignedDistanceToMeshOptions named windingNumberBeta.
Calls MR_SignedDistanceToMeshOptions_Set_windingNumberBeta().
| void meshlib::SignedDistanceToMeshOptions::set_winding_number_threshold | ( | value:f32 | ) |
only for SignDetectionMode::HoleWindingRule: 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::SignedDistanceToMeshOptions named windingNumberThreshold.
Calls MR_SignedDistanceToMeshOptions_Set_windingNumberThreshold().
| auto meshlib::SignedDistanceToMeshOptions::sign_mode | ( | ) | const -> &meshlib::SignDetectionMode |
the method to compute distance sign Returns a pointer to a member variable of class MR::SignedDistanceToMeshOptions named signMode.
Calls MR_SignedDistanceToMeshOptions_Get_signMode(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::sign_mode_mut | ( | ) | -> &mut meshlib::SignDetectionMode |
the method to compute distance sign Returns a mutable pointer to a member variable of class MR::SignedDistanceToMeshOptions named signMode.
Calls MR_SignedDistanceToMeshOptions_GetMutable_signMode(). The reference to this object might be preserved as the return value.
|
static |
Static downcast from the base class MR::DistanceToMeshOptions.
Calls MR_SignedDistanceToMeshOptions_StaticDowncastFrom_MR_DistanceToMeshOptions(). Undefined behavior if the object isn't actually a SignedDistanceToMeshOptions.
|
static |
Static downcast from the base class MR::DistanceToMeshOptions.
Calls MR_SignedDistanceToMeshOptions_MutableStaticDowncastFrom_MR_DistanceToMeshOptions(). Undefined behavior if the object isn't actually a SignedDistanceToMeshOptions.
| auto meshlib::SignedDistanceToMeshOptions::upcast_to_distance_to_mesh_options | ( | ) | const -> &meshlib::DistanceToMeshOptions |
Upcasts to the base class MR::DistanceToMeshOptions.
Calls MR_SignedDistanceToMeshOptions_UpcastTo_MR_DistanceToMeshOptions().
| auto meshlib::SignedDistanceToMeshOptions::upcast_to_distance_to_mesh_options_mut | ( | ) | -> &mut meshlib::DistanceToMeshOptions |
Upcasts to the base class MR::DistanceToMeshOptions.
Calls MR_SignedDistanceToMeshOptions_MutableUpcastTo_MR_DistanceToMeshOptions().
| auto meshlib::SignedDistanceToMeshOptions::winding_number_beta | ( | ) | const -> &f32 |
only for SignDetectionMode::HoleWindingRule: determines the precision of fast approximation: the more the better, minimum value is 1 Returns a pointer to a member variable of class MR::SignedDistanceToMeshOptions named windingNumberBeta.
Calls MR_SignedDistanceToMeshOptions_Get_windingNumberBeta(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::winding_number_beta_mut | ( | ) | -> &mut f32 |
only for SignDetectionMode::HoleWindingRule: 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::SignedDistanceToMeshOptions named windingNumberBeta.
Calls MR_SignedDistanceToMeshOptions_GetMutable_windingNumberBeta(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::winding_number_threshold | ( | ) | const -> &f32 |
only for SignDetectionMode::HoleWindingRule: 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::SignedDistanceToMeshOptions named windingNumberThreshold.
Calls MR_SignedDistanceToMeshOptions_Get_windingNumberThreshold(). The reference to this object might be preserved as the return value.
| auto meshlib::SignedDistanceToMeshOptions::winding_number_threshold_mut | ( | ) | -> &mut f32 |
only for SignDetectionMode::HoleWindingRule: 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::SignedDistanceToMeshOptions named windingNumberThreshold.
Calls MR_SignedDistanceToMeshOptions_GetMutable_windingNumberThreshold(). The reference to this object might be preserved as the return value.