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) | |
Generated from class MR::PositionVertsSmoothlyParams.
Instances created here own their C++ objects, see CppObject.
| meshlib.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams | ( | 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.
| meshlib.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_PositionVertsSmoothlyParams_DefaultConstruct().
| meshlib.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams | ( | meshlib.VertBitSet | region, |
| meshlib.VertCoords | vertShifts, | ||
| float | stabilizer, | ||
| meshlib.std_function_float_from_MR_VertId | vertStabilizers, | ||
| meshlib.std_function_float_from_MR_UndirectedEdgeId | edgeWeights ) |
Constructs MR::PositionVertsSmoothlyParams elementwise. 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.
Calls MR_PositionVertsSmoothlyParams_ConstructFrom().
| meshlib.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams | ( | meshlib.PositionVertsSmoothlyParams | _other | ) |
Generated from constructor MR::PositionVertsSmoothlyParams::PositionVertsSmoothlyParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_PositionVertsSmoothlyParams_ConstructFromAnother().
| meshlib.PositionVertsSmoothlyParams meshlib.PositionVertsSmoothlyParams.assignFromAnother | ( | meshlib.PositionVertsSmoothlyParams | _other | ) |
Generated from method MR::PositionVertsSmoothlyParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_PositionVertsSmoothlyParams_AssignFromAnother().
| meshlib.std_function_float_from_MR_UndirectedEdgeId meshlib.PositionVertsSmoothlyParams.edgeWeights | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_PositionVertsSmoothlyParams_Get_edgeWeights().
| java.lang.foreign.MemorySegment meshlib.PositionVertsSmoothlyParams.region | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_PositionVertsSmoothlyParams_Get_region(). Some types are raw C types, see the C bindings for the details.
| void meshlib.PositionVertsSmoothlyParams.setEdgeWeights | ( | meshlib.std_function_float_from_MR_UndirectedEdgeId | value | ) |
if specified then it is used for edge weights instead of default 1 Modifies a member variable of class MR::PositionVertsSmoothlyParams named edgeWeights. The reference to the parameter value might be preserved in this object in element edgeWeights.
Calls MR_PositionVertsSmoothlyParams_Set_edgeWeights().
| void meshlib.PositionVertsSmoothlyParams.setRegion | ( | meshlib.VertBitSet | value | ) |
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. The reference to the parameter value might be preserved in this object in element region.
Calls MR_PositionVertsSmoothlyParams_Set_region().
| void meshlib.PositionVertsSmoothlyParams.setStabilizer | ( | float | value | ) |
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.setVertShifts | ( | meshlib.VertCoords | value | ) |
optional additional shifts of each vertex relative to smooth position Modifies a member variable of class MR::PositionVertsSmoothlyParams named vertShifts. The reference to the parameter value might be preserved in this object in element vertShifts.
Calls MR_PositionVertsSmoothlyParams_Set_vertShifts().
| void meshlib.PositionVertsSmoothlyParams.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::PositionVertsSmoothlyParams named vertStabilizers. The reference to the parameter value might be preserved in this object in element vertStabilizers.
Calls MR_PositionVertsSmoothlyParams_Set_vertStabilizers().
| float meshlib.PositionVertsSmoothlyParams.stabilizer | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_PositionVertsSmoothlyParams_Get_stabilizer().
| java.lang.foreign.MemorySegment meshlib.PositionVertsSmoothlyParams.vertShifts | ( | ) |
optional additional shifts of each vertex relative to smooth position Returns a pointer to a member variable of class MR::PositionVertsSmoothlyParams named vertShifts. The reference to this object might be preserved as the return value.
Calls MR_PositionVertsSmoothlyParams_Get_vertShifts(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_function_float_from_MR_VertId meshlib.PositionVertsSmoothlyParams.vertStabilizers | ( | ) |
if specified then it is used instead of stabilizer Returns a pointer to a member variable of class MR::PositionVertsSmoothlyParams named vertStabilizers. The reference to this object might be preserved as the return value.
Calls MR_PositionVertsSmoothlyParams_Get_vertStabilizers().