Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::PositionVertsSmoothlyParams > |
| static auto | construct_from (region:Option<&meshlib::VertBitSet >, vertShifts:Option<&meshlib::VertCoords >, stabilizer:f32, vertStabilizers:&meshlib::std_function_float_from_MR_VertId, edgeWeights:&meshlib::std_function_float_from_MR_UndirectedEdgeId) -> meshlib::Owned< meshlib::PositionVertsSmoothlyParams > |
| static auto | construct_from_another (_other:&meshlib::PositionVertsSmoothlyParams) -> meshlib::Owned< meshlib::PositionVertsSmoothlyParams > |
| 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::PositionVertsSmoothlyParams.
Generated from class MR::PositionVertsSmoothlyParams. Heap-allocated instances are held in Owned<PositionVertsSmoothlyParams>.
| auto meshlib::PositionVertsSmoothlyParams::assign_from_another | ( | _other:&meshlib::PositionVertsSmoothlyParams | ) | -> &mut meshlib::PositionVertsSmoothlyParams |
Generated from method MR::PositionVertsSmoothlyParams::operator=.
Calls MR_PositionVertsSmoothlyParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::PositionVertsSmoothlyParams elementwise.
Calls MR_PositionVertsSmoothlyParams_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter vertShifts might be preserved in the constructed object. The reference to the parameter vertStabilizers might be preserved in the constructed object. The reference to the parameter edgeWeights might be preserved in the constructed object.
|
static |
Generated from constructor MR::PositionVertsSmoothlyParams::PositionVertsSmoothlyParams.
Calls MR_PositionVertsSmoothlyParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PositionVertsSmoothlyParams::edge_weights | ( | ) | const -> &meshlib::std_function_float_from_MR_UndirectedEdgeId |
if specified then it is used for edge weights instead of default 1 Returns a pointer to a member variable of class MR::PositionVertsSmoothlyParams named edgeWeights.
Calls MR_PositionVertsSmoothlyParams_Get_edgeWeights(). The reference to this object might be preserved as the return value.
| auto meshlib::PositionVertsSmoothlyParams::edge_weights_mut | ( | ) | -> &mut meshlib::std_function_float_from_MR_UndirectedEdgeId |
if specified then it is used for edge weights instead of default 1 Returns a mutable pointer to a member variable of class MR::PositionVertsSmoothlyParams named edgeWeights.
Calls MR_PositionVertsSmoothlyParams_GetMutable_edgeWeights(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PositionVertsSmoothlyParams_DefaultConstruct().
| auto meshlib::PositionVertsSmoothlyParams::region | ( | ) | const -> *const *const meshlib::ffi::MR_VertBitSet |
which vertices on mesh are smoothed, nullptr means all vertices; it must not include all vertices of a mesh connected component unless stabilizer > 0 Returns a pointer to a member variable of class MR::PositionVertsSmoothlyParams named region.
Calls MR_PositionVertsSmoothlyParams_Get_region(). 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::PositionVertsSmoothlyParams::region_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertBitSet |
which vertices on mesh are smoothed, nullptr means all vertices; it must not include all vertices of a mesh connected component unless stabilizer > 0 Returns a mutable pointer to a member variable of class MR::PositionVertsSmoothlyParams named region.
Calls MR_PositionVertsSmoothlyParams_GetMutable_region(). 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.
| void meshlib::PositionVertsSmoothlyParams::set_edge_weights | ( | value:&meshlib::std_function_float_from_MR_UndirectedEdgeId | ) |
if specified then it is used for edge weights instead of default 1 Modifies a member variable of class MR::PositionVertsSmoothlyParams named edgeWeights.
Calls MR_PositionVertsSmoothlyParams_Set_edgeWeights(). The reference to the parameter value might be preserved in this object in element edgeWeights.
| void meshlib::PositionVertsSmoothlyParams::set_region | ( | value:Option<&meshlib::VertBitSet > | ) |
which vertices on mesh are smoothed, nullptr means all vertices; it must not include all vertices of a mesh connected component unless stabilizer > 0 Modifies a member variable of class MR::PositionVertsSmoothlyParams named region.
Calls MR_PositionVertsSmoothlyParams_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::PositionVertsSmoothlyParams::set_stabilizer | ( | value:f32 | ) |
the more the value, the bigger attraction of each vertex to its original position Modifies a member variable of class MR::PositionVertsSmoothlyParams named stabilizer.
Calls MR_PositionVertsSmoothlyParams_Set_stabilizer().
| void meshlib::PositionVertsSmoothlyParams::set_vert_shifts | ( | value:Option<&meshlib::VertCoords > | ) |
optional additional shifts of each vertex relative to smooth position Modifies a member variable of class MR::PositionVertsSmoothlyParams named vertShifts.
Calls MR_PositionVertsSmoothlyParams_Set_vertShifts(). The reference to the parameter value might be preserved in this object in element vertShifts.
| void meshlib::PositionVertsSmoothlyParams::set_vert_stabilizers | ( | value:&meshlib::std_function_float_from_MR_VertId | ) |
if specified then it is used instead of stabilizer Modifies a member variable of class MR::PositionVertsSmoothlyParams named vertStabilizers.
Calls MR_PositionVertsSmoothlyParams_Set_vertStabilizers(). The reference to the parameter value might be preserved in this object in element vertStabilizers.
| auto meshlib::PositionVertsSmoothlyParams::stabilizer | ( | ) | const -> &f32 |
the more the value, the bigger attraction of each vertex to its original position Returns a pointer to a member variable of class MR::PositionVertsSmoothlyParams named stabilizer.
Calls MR_PositionVertsSmoothlyParams_Get_stabilizer(). The reference to this object might be preserved as the return value.
| auto meshlib::PositionVertsSmoothlyParams::stabilizer_mut | ( | ) | -> &mut f32 |
the more the value, the bigger attraction of each vertex to its original position Returns a mutable pointer to a member variable of class MR::PositionVertsSmoothlyParams named stabilizer.
Calls MR_PositionVertsSmoothlyParams_GetMutable_stabilizer(). The reference to this object might be preserved as the return value.
| auto meshlib::PositionVertsSmoothlyParams::vert_shifts | ( | ) | const -> *const *const meshlib::ffi::MR_VertCoords |
optional additional shifts of each vertex relative to smooth position Returns a pointer to a member variable of class MR::PositionVertsSmoothlyParams named vertShifts.
Calls MR_PositionVertsSmoothlyParams_Get_vertShifts(). 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::PositionVertsSmoothlyParams::vert_shifts_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertCoords |
optional additional shifts of each vertex relative to smooth position Returns a mutable pointer to a member variable of class MR::PositionVertsSmoothlyParams named vertShifts.
Calls MR_PositionVertsSmoothlyParams_GetMutable_vertShifts(). 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::PositionVertsSmoothlyParams::vert_stabilizers | ( | ) | const -> &meshlib::std_function_float_from_MR_VertId |
if specified then it is used instead of stabilizer Returns a pointer to a member variable of class MR::PositionVertsSmoothlyParams named vertStabilizers.
Calls MR_PositionVertsSmoothlyParams_Get_vertStabilizers(). The reference to this object might be preserved as the return value.
| auto meshlib::PositionVertsSmoothlyParams::vert_stabilizers_mut | ( | ) | -> &mut meshlib::std_function_float_from_MR_VertId |
if specified then it is used instead of stabilizer Returns a mutable pointer to a member variable of class MR::PositionVertsSmoothlyParams named vertStabilizers.
Calls MR_PositionVertsSmoothlyParams_GetMutable_vertStabilizers(). The reference to this object might be preserved as the return value.