Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::DistanceFromWeightedPointsComputeParams > |
| static auto | construct_from_another (_other:&meshlib::DistanceFromWeightedPointsComputeParams) -> meshlib::Owned< meshlib::DistanceFromWeightedPointsComputeParams > |
| static auto | static_downcast_from_distance_from_weighted_points_params (object:&meshlib::DistanceFromWeightedPointsParams) -> &Self |
| static auto | static_downcast_from_distance_from_weighted_points_params_mut (object:&mut meshlib::DistanceFromWeightedPointsParams) -> &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 |
Generated from class MR::DistanceFromWeightedPointsComputeParams. Base classes: Direct: (non-virtual) MR::DistanceFromWeightedPointsParams
Generated from class MR::DistanceFromWeightedPointsComputeParams. Heap-allocated instances are held in Owned<DistanceFromWeightedPointsComputeParams>.
| auto meshlib::DistanceFromWeightedPointsComputeParams::assign_from_another | ( | _other:&meshlib::DistanceFromWeightedPointsComputeParams | ) | -> &mut meshlib::DistanceFromWeightedPointsComputeParams |
Generated from method MR::DistanceFromWeightedPointsComputeParams::operator=.
Calls MR_DistanceFromWeightedPointsComputeParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::DistanceFromWeightedPointsComputeParams::bidirectional_mode | ( | ) | const -> &bool |
for points, it must always true; for triangles: if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named bidirectionalMode.
Calls MR_DistanceFromWeightedPointsComputeParams_Get_bidirectionalMode(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::bidirectional_mode_mut | ( | ) | -> &mut bool |
for points, it must always true; for triangles: if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Returns a mutable pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named bidirectionalMode.
Calls MR_DistanceFromWeightedPointsComputeParams_GetMutable_bidirectionalMode(). The reference to this object might be preserved as the return value.
|
static |
Generated from constructor MR::DistanceFromWeightedPointsComputeParams::DistanceFromWeightedPointsComputeParams.
Calls MR_DistanceFromWeightedPointsComputeParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::DistanceFromWeightedPointsComputeParams::max_bidir_dist | ( | ) | const -> &f32 |
find the closest point only if weighted bidirectional distance to it is less than given value Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxBidirDist.
Calls MR_DistanceFromWeightedPointsComputeParams_Get_maxBidirDist(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::max_bidir_dist_mut | ( | ) | -> &mut f32 |
find the closest point only if weighted bidirectional distance to it is less than given value Returns a mutable pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxBidirDist.
Calls MR_DistanceFromWeightedPointsComputeParams_GetMutable_maxBidirDist(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::max_weight | ( | ) | const -> &f32 |
maximal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_Get_maxWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::max_weight_grad | ( | ) | const -> &f32 |
maximal magnitude of gradient of points' weight in the cloud, >=0; if maxWeightGrad < 1 then more search optimizations can be done Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxWeightGrad.
Calls MR_DistanceFromWeightedPointsComputeParams_Get_maxWeightGrad(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::max_weight_grad_mut | ( | ) | -> &mut f32 |
maximal magnitude of gradient of points' weight in the cloud, >=0; if maxWeightGrad < 1 then more search optimizations can be done Returns a mutable pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxWeightGrad.
Calls MR_DistanceFromWeightedPointsComputeParams_GetMutable_maxWeightGrad(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::max_weight_mut | ( | ) | -> &mut f32 |
maximal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Returns a mutable pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_GetMutable_maxWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::min_bidir_dist | ( | ) | const -> &f32 |
default 0 here does not work for negative distances Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named minBidirDist.
Calls MR_DistanceFromWeightedPointsComputeParams_Get_minBidirDist(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::min_bidir_dist_mut | ( | ) | -> &mut f32 |
default 0 here does not work for negative distances Returns a mutable pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named minBidirDist.
Calls MR_DistanceFromWeightedPointsComputeParams_GetMutable_minBidirDist(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::min_weight | ( | ) | const -> &f32 |
minimal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named minWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_Get_minWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::min_weight_mut | ( | ) | -> &mut f32 |
minimal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Returns a mutable pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named minWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_GetMutable_minWeight(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_DistanceFromWeightedPointsComputeParams_DefaultConstruct().
| auto meshlib::DistanceFromWeightedPointsComputeParams::point_weight | ( | ) | const -> &meshlib::std_function_float_from_MR_VertId |
function returning the weight of each point, must be set by the user Returns a pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named pointWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_Get_pointWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsComputeParams::point_weight_mut | ( | ) | -> &mut meshlib::std_function_float_from_MR_VertId |
function returning the weight of each point, must be set by the user Returns a mutable pointer to a member variable of class MR::DistanceFromWeightedPointsComputeParams named pointWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_GetMutable_pointWeight(). The reference to this object might be preserved as the return value.
| void meshlib::DistanceFromWeightedPointsComputeParams::set_bidirectional_mode | ( | value:bool | ) |
for points, it must always true; for triangles: if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named bidirectionalMode.
Calls MR_DistanceFromWeightedPointsComputeParams_Set_bidirectionalMode().
| void meshlib::DistanceFromWeightedPointsComputeParams::set_max_bidir_dist | ( | value:f32 | ) |
find the closest point only if weighted bidirectional distance to it is less than given value Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxBidirDist.
Calls MR_DistanceFromWeightedPointsComputeParams_Set_maxBidirDist().
| void meshlib::DistanceFromWeightedPointsComputeParams::set_max_weight | ( | value:f32 | ) |
maximal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_Set_maxWeight().
| void meshlib::DistanceFromWeightedPointsComputeParams::set_max_weight_grad | ( | value:f32 | ) |
maximal magnitude of gradient of points' weight in the cloud, >=0; if maxWeightGrad < 1 then more search optimizations can be done Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named maxWeightGrad.
Calls MR_DistanceFromWeightedPointsComputeParams_Set_maxWeightGrad().
| void meshlib::DistanceFromWeightedPointsComputeParams::set_min_bidir_dist | ( | value:f32 | ) |
default 0 here does not work for negative distances Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named minBidirDist.
Calls MR_DistanceFromWeightedPointsComputeParams_Set_minBidirDist().
| void meshlib::DistanceFromWeightedPointsComputeParams::set_min_weight | ( | value:f32 | ) |
minimal weight among all points in the cloud; if this value is imprecise, then more computations will be made by algorithm Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named minWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_Set_minWeight().
| void meshlib::DistanceFromWeightedPointsComputeParams::set_point_weight | ( | value:&meshlib::std_function_float_from_MR_VertId | ) |
function returning the weight of each point, must be set by the user Modifies a member variable of class MR::DistanceFromWeightedPointsComputeParams named pointWeight.
Calls MR_DistanceFromWeightedPointsComputeParams_Set_pointWeight(). The reference to the parameter value might be preserved in this object in element pointWeight.
|
static |
Static downcast from the base class MR::DistanceFromWeightedPointsParams.
Calls MR_DistanceFromWeightedPointsComputeParams_StaticDowncastFrom_MR_DistanceFromWeightedPointsParams(). Undefined behavior if the object isn't actually a DistanceFromWeightedPointsComputeParams.
|
static |
Static downcast from the base class MR::DistanceFromWeightedPointsParams.
Calls MR_DistanceFromWeightedPointsComputeParams_MutableStaticDowncastFrom_MR_DistanceFromWeightedPointsParams(). Undefined behavior if the object isn't actually a DistanceFromWeightedPointsComputeParams.
| auto meshlib::DistanceFromWeightedPointsComputeParams::upcast_to_distance_from_weighted_points_params | ( | ) | const -> &meshlib::DistanceFromWeightedPointsParams |
Upcasts to the base class MR::DistanceFromWeightedPointsParams.
Calls MR_DistanceFromWeightedPointsComputeParams_UpcastTo_MR_DistanceFromWeightedPointsParams().
| auto meshlib::DistanceFromWeightedPointsComputeParams::upcast_to_distance_from_weighted_points_params_mut | ( | ) | -> &mut meshlib::DistanceFromWeightedPointsParams |
Upcasts to the base class MR::DistanceFromWeightedPointsParams.
Calls MR_DistanceFromWeightedPointsComputeParams_MutableUpcastTo_MR_DistanceFromWeightedPointsParams().