Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::DistanceFromWeightedPointsParams) -> &mut meshlib::DistanceFromWeightedPointsParams |
| auto | point_weight () const -> &meshlib::std_function_float_from_MR_VertId |
| auto | point_weight_mut () -> &mut meshlib::std_function_float_from_MR_VertId |
| void | set_point_weight (value:&meshlib::std_function_float_from_MR_VertId) |
| auto | min_weight () const -> &f32 |
| auto | min_weight_mut () -> &mut f32 |
| void | set_min_weight (value:f32) |
| auto | max_weight () const -> &f32 |
| auto | max_weight_mut () -> &mut f32 |
| void | set_max_weight (value:f32) |
| auto | max_weight_grad () const -> &f32 |
| auto | max_weight_grad_mut () -> &mut f32 |
| void | set_max_weight_grad (value:f32) |
| auto | bidirectional_mode () const -> &bool |
| auto | bidirectional_mode_mut () -> &mut bool |
| void | set_bidirectional_mode (value:bool) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::DistanceFromWeightedPointsParams > |
| static auto | construct_from (pointWeight:&meshlib::std_function_float_from_MR_VertId, minWeight:f32, maxWeight:f32, maxWeightGrad:f32, bidirectionalMode:bool) -> meshlib::Owned< meshlib::DistanceFromWeightedPointsParams > |
| static auto | construct_from_another (_other:&meshlib::DistanceFromWeightedPointsParams) -> meshlib::Owned< meshlib::DistanceFromWeightedPointsParams > |
| 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::DistanceFromWeightedPointsParams. Derived classes: Direct: (non-virtual) MR::DistanceFromWeightedPointsComputeParams
Generated from class MR::DistanceFromWeightedPointsParams. Heap-allocated instances are held in Owned<DistanceFromWeightedPointsParams>.
| auto meshlib::DistanceFromWeightedPointsParams::assign_from_another | ( | _other:&meshlib::DistanceFromWeightedPointsParams | ) | -> &mut meshlib::DistanceFromWeightedPointsParams |
Generated from method MR::DistanceFromWeightedPointsParams::operator=.
Calls MR_DistanceFromWeightedPointsParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named bidirectionalMode.
Calls MR_DistanceFromWeightedPointsParams_Get_bidirectionalMode(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named bidirectionalMode.
Calls MR_DistanceFromWeightedPointsParams_GetMutable_bidirectionalMode(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::DistanceFromWeightedPointsParams elementwise.
Calls MR_DistanceFromWeightedPointsParams_ConstructFrom(). The reference to the parameter pointWeight might be preserved in the constructed object.
|
static |
Generated from constructor MR::DistanceFromWeightedPointsParams::DistanceFromWeightedPointsParams.
Calls MR_DistanceFromWeightedPointsParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named maxWeight.
Calls MR_DistanceFromWeightedPointsParams_Get_maxWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named maxWeightGrad.
Calls MR_DistanceFromWeightedPointsParams_Get_maxWeightGrad(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named maxWeightGrad.
Calls MR_DistanceFromWeightedPointsParams_GetMutable_maxWeightGrad(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named maxWeight.
Calls MR_DistanceFromWeightedPointsParams_GetMutable_maxWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named minWeight.
Calls MR_DistanceFromWeightedPointsParams_Get_minWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named minWeight.
Calls MR_DistanceFromWeightedPointsParams_GetMutable_minWeight(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_DistanceFromWeightedPointsParams_DefaultConstruct().
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named pointWeight.
Calls MR_DistanceFromWeightedPointsParams_Get_pointWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named pointWeight.
Calls MR_DistanceFromWeightedPointsParams_GetMutable_pointWeight(). The reference to this object might be preserved as the return value.
| void meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named bidirectionalMode.
Calls MR_DistanceFromWeightedPointsParams_Set_bidirectionalMode().
| void meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named maxWeight.
Calls MR_DistanceFromWeightedPointsParams_Set_maxWeight().
| void meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named maxWeightGrad.
Calls MR_DistanceFromWeightedPointsParams_Set_maxWeightGrad().
| void meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named minWeight.
Calls MR_DistanceFromWeightedPointsParams_Set_minWeight().
| void meshlib::DistanceFromWeightedPointsParams::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::DistanceFromWeightedPointsParams named pointWeight.
Calls MR_DistanceFromWeightedPointsParams_Set_pointWeight(). The reference to the parameter value might be preserved in this object in element pointWeight.