Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::InterpolateScalarsParams > |
| static auto | construct_from (region:Option<&meshlib::VertBitSet >, edgeWeights:meshlib::EdgeWeights, vmass:meshlib::VertexMass, stabilizer:f32, vertStabilizers:&meshlib::std_function_float_from_MR_VertId, edgeWeightsMetric:&meshlib::std_function_float_from_MR_UndirectedEdgeId) -> meshlib::Owned< meshlib::InterpolateScalarsParams > |
| static auto | construct_from_another (_other:&meshlib::InterpolateScalarsParams) -> meshlib::Owned< meshlib::InterpolateScalarsParams > |
| 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::InterpolateScalarsParams.
Generated from class MR::InterpolateScalarsParams. Heap-allocated instances are held in Owned<InterpolateScalarsParams>.
| auto meshlib::InterpolateScalarsParams::assign_from_another | ( | _other:&meshlib::InterpolateScalarsParams | ) | -> &mut meshlib::InterpolateScalarsParams |
Generated from method MR::InterpolateScalarsParams::operator=.
Calls MR_InterpolateScalarsParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::InterpolateScalarsParams elementwise.
Calls MR_InterpolateScalarsParams_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter edgeWeights might be preserved in the constructed object. The reference to the parameter vmass 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 edgeWeightsMetric might be preserved in the constructed object.
|
static |
Generated from constructor MR::InterpolateScalarsParams::InterpolateScalarsParams.
Calls MR_InterpolateScalarsParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::InterpolateScalarsParams::edge_weights | ( | ) | const -> &meshlib::EdgeWeights |
weights of edges in the equations, used unless edgeWeightsMetric is specified Returns a pointer to a member variable of class MR::InterpolateScalarsParams named edgeWeights.
Calls MR_InterpolateScalarsParams_Get_edgeWeights(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::edge_weights_metric | ( | ) | const -> &meshlib::std_function_float_from_MR_UndirectedEdgeId |
if specified then it is used for edge weights instead of edgeWeights Returns a pointer to a member variable of class MR::InterpolateScalarsParams named edgeWeightsMetric.
Calls MR_InterpolateScalarsParams_Get_edgeWeightsMetric(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::edge_weights_metric_mut | ( | ) | -> &mut meshlib::std_function_float_from_MR_UndirectedEdgeId |
if specified then it is used for edge weights instead of edgeWeights Returns a mutable pointer to a member variable of class MR::InterpolateScalarsParams named edgeWeightsMetric.
Calls MR_InterpolateScalarsParams_GetMutable_edgeWeightsMetric(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::edge_weights_mut | ( | ) | -> &mut meshlib::EdgeWeights |
weights of edges in the equations, used unless edgeWeightsMetric is specified Returns a mutable pointer to a member variable of class MR::InterpolateScalarsParams named edgeWeights.
Calls MR_InterpolateScalarsParams_GetMutable_edgeWeights(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_InterpolateScalarsParams_DefaultConstruct().
| auto meshlib::InterpolateScalarsParams::region | ( | ) | const -> *const *const meshlib::ffi::MR_VertBitSet |
vertices where the field values are computed, 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::InterpolateScalarsParams named region.
Calls MR_InterpolateScalarsParams_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::InterpolateScalarsParams::region_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertBitSet |
vertices where the field values are computed, 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::InterpolateScalarsParams named region.
Calls MR_InterpolateScalarsParams_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::InterpolateScalarsParams::set_edge_weights | ( | value:meshlib::EdgeWeights | ) |
weights of edges in the equations, used unless edgeWeightsMetric is specified Modifies a member variable of class MR::InterpolateScalarsParams named edgeWeights.
Calls MR_InterpolateScalarsParams_Set_edgeWeights(). The reference to the parameter value might be preserved in this object in element edgeWeights.
| void meshlib::InterpolateScalarsParams::set_edge_weights_metric | ( | value:&meshlib::std_function_float_from_MR_UndirectedEdgeId | ) |
if specified then it is used for edge weights instead of edgeWeights Modifies a member variable of class MR::InterpolateScalarsParams named edgeWeightsMetric.
Calls MR_InterpolateScalarsParams_Set_edgeWeightsMetric(). The reference to the parameter value might be preserved in this object in element edgeWeightsMetric.
| void meshlib::InterpolateScalarsParams::set_region | ( | value:Option<&meshlib::VertBitSet > | ) |
vertices where the field values are computed, 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::InterpolateScalarsParams named region.
Calls MR_InterpolateScalarsParams_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::InterpolateScalarsParams::set_stabilizer | ( | value:f32 | ) |
the more the value, the bigger attraction of each vertex to its original value Modifies a member variable of class MR::InterpolateScalarsParams named stabilizer.
Calls MR_InterpolateScalarsParams_Set_stabilizer().
| void meshlib::InterpolateScalarsParams::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::InterpolateScalarsParams named vertStabilizers.
Calls MR_InterpolateScalarsParams_Set_vertStabilizers(). The reference to the parameter value might be preserved in this object in element vertStabilizers.
| void meshlib::InterpolateScalarsParams::set_vmass | ( | value:meshlib::VertexMass | ) |
the stabilizer of each vertex is multiplied on the mass of that vertex Modifies a member variable of class MR::InterpolateScalarsParams named vmass.
Calls MR_InterpolateScalarsParams_Set_vmass(). The reference to the parameter value might be preserved in this object in element vmass.
| auto meshlib::InterpolateScalarsParams::stabilizer | ( | ) | const -> &f32 |
the more the value, the bigger attraction of each vertex to its original value Returns a pointer to a member variable of class MR::InterpolateScalarsParams named stabilizer.
Calls MR_InterpolateScalarsParams_Get_stabilizer(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::stabilizer_mut | ( | ) | -> &mut f32 |
the more the value, the bigger attraction of each vertex to its original value Returns a mutable pointer to a member variable of class MR::InterpolateScalarsParams named stabilizer.
Calls MR_InterpolateScalarsParams_GetMutable_stabilizer(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::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::InterpolateScalarsParams named vertStabilizers.
Calls MR_InterpolateScalarsParams_Get_vertStabilizers(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::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::InterpolateScalarsParams named vertStabilizers.
Calls MR_InterpolateScalarsParams_GetMutable_vertStabilizers(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::vmass | ( | ) | const -> &meshlib::VertexMass |
the stabilizer of each vertex is multiplied on the mass of that vertex Returns a pointer to a member variable of class MR::InterpolateScalarsParams named vmass.
Calls MR_InterpolateScalarsParams_Get_vmass(). The reference to this object might be preserved as the return value.
| auto meshlib::InterpolateScalarsParams::vmass_mut | ( | ) | -> &mut meshlib::VertexMass |
the stabilizer of each vertex is multiplied on the mass of that vertex Returns a mutable pointer to a member variable of class MR::InterpolateScalarsParams named vmass.
Calls MR_InterpolateScalarsParams_GetMutable_vmass(). The reference to this object might be preserved as the return value.