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

Public Member Functions

 PositionVertsSmoothlyParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 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)
 PositionVertsSmoothlyParams (meshlib.PositionVertsSmoothlyParams _other)
meshlib.PositionVertsSmoothlyParams assignFromAnother (meshlib.PositionVertsSmoothlyParams _other)
java.lang.foreign.MemorySegment region ()
void setRegion (meshlib.VertBitSet value)
java.lang.foreign.MemorySegment vertShifts ()
void setVertShifts (meshlib.VertCoords 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 edgeWeights ()
void setEdgeWeights (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::PositionVertsSmoothlyParams.

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

Constructor & Destructor Documentation

◆ PositionVertsSmoothlyParams() [1/4]

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.

◆ PositionVertsSmoothlyParams() [2/4]

meshlib.PositionVertsSmoothlyParams.PositionVertsSmoothlyParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_PositionVertsSmoothlyParams_DefaultConstruct().

◆ PositionVertsSmoothlyParams() [3/4]

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

◆ PositionVertsSmoothlyParams() [4/4]

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

Member Function Documentation

◆ assignFromAnother()

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

◆ edgeWeights()

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

◆ region()

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.

◆ setEdgeWeights()

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

◆ setRegion()

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

◆ setStabilizer()

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

◆ setVertShifts()

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

◆ setVertStabilizers()

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

◆ stabilizer()

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

◆ vertShifts()

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.

◆ vertStabilizers()

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


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