MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::InterpolateScalarsParams Struct Reference
Inheritance diagram for meshlib::InterpolateScalarsParams:

Public Member Functions

auto assign_from_another (_other:&meshlib::InterpolateScalarsParams) -> &mut meshlib::InterpolateScalarsParams
auto region () const -> *const *const meshlib::ffi::MR_VertBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_VertBitSet
void set_region (value:Option<&meshlib::VertBitSet >)
auto edge_weights () const -> &meshlib::EdgeWeights
auto edge_weights_mut () -> &mut meshlib::EdgeWeights
void set_edge_weights (value:meshlib::EdgeWeights)
auto vmass () const -> &meshlib::VertexMass
auto vmass_mut () -> &mut meshlib::VertexMass
void set_vmass (value:meshlib::VertexMass)
auto stabilizer () const -> &f32
auto stabilizer_mut () -> &mut f32
void set_stabilizer (value:f32)
auto vert_stabilizers () const -> &meshlib::std_function_float_from_MR_VertId
auto vert_stabilizers_mut () -> &mut meshlib::std_function_float_from_MR_VertId
void set_vert_stabilizers (value:&meshlib::std_function_float_from_MR_VertId)
auto edge_weights_metric () const -> &meshlib::std_function_float_from_MR_UndirectedEdgeId
auto edge_weights_metric_mut () -> &mut meshlib::std_function_float_from_MR_UndirectedEdgeId
void set_edge_weights_metric (value:&meshlib::std_function_float_from_MR_UndirectedEdgeId)

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

Detailed Description

Generated from class MR::InterpolateScalarsParams.

Generated from class MR::InterpolateScalarsParams. Heap-allocated instances are held in Owned<InterpolateScalarsParams>.

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from()

auto meshlib::InterpolateScalarsParams::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

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.

◆ construct_from_another()

auto meshlib::InterpolateScalarsParams::construct_from_another ( _other:&meshlib::InterpolateScalarsParams ) -> meshlib::Owned< meshlib::InterpolateScalarsParams >
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.

◆ edge_weights()

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.

◆ edge_weights_metric()

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.

◆ edge_weights_metric_mut()

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.

◆ edge_weights_mut()

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.

◆ new()

auto meshlib::InterpolateScalarsParams::new ( ) -> meshlib::Owned< meshlib::InterpolateScalarsParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_InterpolateScalarsParams_DefaultConstruct().

◆ region()

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.

◆ region_mut()

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.

◆ set_edge_weights()

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.

◆ set_edge_weights_metric()

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.

◆ set_region()

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.

◆ set_stabilizer()

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().

◆ set_vert_stabilizers()

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.

◆ set_vmass()

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.

◆ stabilizer()

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.

◆ stabilizer_mut()

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.

◆ vert_stabilizers()

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.

◆ vert_stabilizers_mut()

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.

◆ vmass()

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.

◆ vmass_mut()

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.


The documentation for this struct was generated from the following file: