MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.InterpolateScalarsParams Class Reference
Inheritance diagram for meshlib.InterpolateScalarsParams:

Public Member Functions

 InterpolateScalarsParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 InterpolateScalarsParams ()
 InterpolateScalarsParams (meshlib.VertBitSet region, meshlib.EdgeWeights edgeWeights, meshlib.VertexMass vmass, float stabilizer, meshlib.std_function_float_from_MR_VertId vertStabilizers, meshlib.std_function_float_from_MR_UndirectedEdgeId edgeWeightsMetric)
 InterpolateScalarsParams (meshlib.InterpolateScalarsParams _other)
meshlib.InterpolateScalarsParams assignFromAnother (meshlib.InterpolateScalarsParams _other)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.VertBitSet value)
meshlib.EdgeWeights edgeWeights ()
void setEdgeWeights (meshlib.EdgeWeights value)
meshlib.VertexMass vmass ()
void setVmass (meshlib.VertexMass value)
float stabilizer ()
void setStabilizer (float value)
meshlib.std_function_float_from_MR_VertId vertStabilizers ()
void setVertStabilizers (meshlib.std_function_float_from_MR_VertId value)
meshlib.std_function_float_from_MR_UndirectedEdgeId edgeWeightsMetric ()
void setEdgeWeightsMetric (meshlib.std_function_float_from_MR_UndirectedEdgeId value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Generated from class MR::InterpolateScalarsParams.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ InterpolateScalarsParams() [1/4]

meshlib.InterpolateScalarsParams.InterpolateScalarsParams ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ InterpolateScalarsParams() [2/4]

meshlib.InterpolateScalarsParams.InterpolateScalarsParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_InterpolateScalarsParams_DefaultConstruct().

◆ InterpolateScalarsParams() [3/4]

meshlib.InterpolateScalarsParams.InterpolateScalarsParams ( meshlib.VertBitSet region,
meshlib.EdgeWeights edgeWeights,
meshlib.VertexMass vmass,
float stabilizer,
meshlib.std_function_float_from_MR_VertId vertStabilizers,
meshlib.std_function_float_from_MR_UndirectedEdgeId edgeWeightsMetric )

Constructs MR::InterpolateScalarsParams elementwise. 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.

Calls MR_InterpolateScalarsParams_ConstructFrom().

◆ InterpolateScalarsParams() [4/4]

meshlib.InterpolateScalarsParams.InterpolateScalarsParams ( meshlib.InterpolateScalarsParams _other)

Generated from constructor MR::InterpolateScalarsParams::InterpolateScalarsParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_InterpolateScalarsParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.InterpolateScalarsParams meshlib.InterpolateScalarsParams.assignFromAnother ( meshlib.InterpolateScalarsParams _other)

Generated from method MR::InterpolateScalarsParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_InterpolateScalarsParams_AssignFromAnother().

◆ edgeWeights()

meshlib.EdgeWeights meshlib.InterpolateScalarsParams.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. The reference to this object might be preserved as the return value.

Calls MR_InterpolateScalarsParams_Get_edgeWeights().

◆ edgeWeightsMetric()

meshlib.std_function_float_from_MR_UndirectedEdgeId meshlib.InterpolateScalarsParams.edgeWeightsMetric ( )

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. The reference to this object might be preserved as the return value.

Calls MR_InterpolateScalarsParams_Get_edgeWeightsMetric().

◆ region()

java.lang.foreign.MemorySegment meshlib.InterpolateScalarsParams.region ( )

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. The reference to this object might be preserved as the return value.

Calls MR_InterpolateScalarsParams_Get_region(). Some types are raw C types, see the C bindings for the details.

◆ setEdgeWeights()

void meshlib.InterpolateScalarsParams.setEdgeWeights ( meshlib.EdgeWeights value)

weights of edges in the equations, used unless edgeWeightsMetric is specified Modifies a member variable of class MR::InterpolateScalarsParams named edgeWeights. The reference to the parameter value might be preserved in this object in element edgeWeights.

Calls MR_InterpolateScalarsParams_Set_edgeWeights().

◆ setEdgeWeightsMetric()

void meshlib.InterpolateScalarsParams.setEdgeWeightsMetric ( meshlib.std_function_float_from_MR_UndirectedEdgeId value)

if specified then it is used for edge weights instead of edgeWeights Modifies a member variable of class MR::InterpolateScalarsParams named edgeWeightsMetric. The reference to the parameter value might be preserved in this object in element edgeWeightsMetric.

Calls MR_InterpolateScalarsParams_Set_edgeWeightsMetric().

◆ setRegion()

void meshlib.InterpolateScalarsParams.setRegion ( meshlib.VertBitSet value)

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. The reference to the parameter value might be preserved in this object in element region.

Calls MR_InterpolateScalarsParams_Set_region().

◆ setStabilizer()

void meshlib.InterpolateScalarsParams.setStabilizer ( float value)

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

◆ setVertStabilizers()

void meshlib.InterpolateScalarsParams.setVertStabilizers ( meshlib.std_function_float_from_MR_VertId value)

if specified then it is used instead of stabilizer Modifies a member variable of class MR::InterpolateScalarsParams named vertStabilizers. The reference to the parameter value might be preserved in this object in element vertStabilizers.

Calls MR_InterpolateScalarsParams_Set_vertStabilizers().

◆ setVmass()

void meshlib.InterpolateScalarsParams.setVmass ( meshlib.VertexMass value)

the stabilizer of each vertex is multiplied on the mass of that vertex Modifies a member variable of class MR::InterpolateScalarsParams named vmass. The reference to the parameter value might be preserved in this object in element vmass.

Calls MR_InterpolateScalarsParams_Set_vmass().

◆ stabilizer()

float meshlib.InterpolateScalarsParams.stabilizer ( )

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. The reference to this object might be preserved as the return value.

Calls MR_InterpolateScalarsParams_Get_stabilizer().

◆ vertStabilizers()

meshlib.std_function_float_from_MR_VertId meshlib.InterpolateScalarsParams.vertStabilizers ( )

if specified then it is used instead of stabilizer Returns a pointer to a member variable of class MR::InterpolateScalarsParams named vertStabilizers. The reference to this object might be preserved as the return value.

Calls MR_InterpolateScalarsParams_Get_vertStabilizers().

◆ vmass()

meshlib.VertexMass meshlib.InterpolateScalarsParams.vmass ( )

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. The reference to this object might be preserved as the return value.

Calls MR_InterpolateScalarsParams_Get_vmass().


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