MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PositionVertsSmoothlyParams Class Reference
Inheritance diagram for mrmeshpy.PositionVertsSmoothlyParams:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstPositionVertsSmoothlyParams arg0)
None __init__ (self, ConstVertBitSet region, ConstVertCoords vertShifts, float stabilizer, Const_func_float_from_Id_VertTag vertStabilizers, Const_func_float_from_Id_UndirectedEdgeTag edgeWeights)
PositionVertsSmoothlyParams assign (self, ConstPositionVertsSmoothlyParams other)
func_float_from_Id_UndirectedEdgeTag edgeWeights (self)
None edgeWeights (self, Const_func_float_from_Id_UndirectedEdgeTag arg1)
VertBitSet region (self)
None region (self, ConstVertBitSet arg1)
float stabilizer (self)
None stabilizer (self, float arg1)
VertCoords vertShifts (self)
None vertShifts (self, ConstVertCoords arg1)
func_float_from_Id_VertTag vertStabilizers (self)
None vertStabilizers (self, Const_func_float_from_Id_VertTag arg1)
Public Member Functions inherited from mrmeshpy.ConstPositionVertsSmoothlyParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstPositionVertsSmoothlyParams
typing _offsetof_edgeWeights = 56
typing _offsetof_region = 0
typing _offsetof_stabilizer = 16
typing _offsetof_vertShifts = 8
typing _offsetof_vertStabilizers = 24

Detailed Description

Generated from:  MR::PositionVertsSmoothlyParams

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.PositionVertsSmoothlyParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.PositionVertsSmoothlyParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.PositionVertsSmoothlyParams.__init__ ( self,
ConstPositionVertsSmoothlyParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.PositionVertsSmoothlyParams.__init__ ( self,
ConstVertBitSet region,
ConstVertCoords vertShifts,
float stabilizer,
Const_func_float_from_Id_VertTag vertStabilizers,
Const_func_float_from_Id_UndirectedEdgeTag edgeWeights )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

PositionVertsSmoothlyParams mrmeshpy.PositionVertsSmoothlyParams.assign ( self,
ConstPositionVertsSmoothlyParams other )

◆ edgeWeights() [1/2]

func_float_from_Id_UndirectedEdgeTag mrmeshpy.PositionVertsSmoothlyParams.edgeWeights ( self)
if specified then it is used for edge weights instead of default 1

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ edgeWeights() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.edgeWeights ( self,
Const_func_float_from_Id_UndirectedEdgeTag arg1 )
if specified then it is used for edge weights instead of default 1

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ region() [1/2]

VertBitSet mrmeshpy.PositionVertsSmoothlyParams.region ( self)
which vertices on mesh are smoothed, nullptr means all vertices;
it must not include all vertices of a mesh connected component unless stabilizer > 0

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ region() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.region ( self,
ConstVertBitSet arg1 )
which vertices on mesh are smoothed, nullptr means all vertices;
it must not include all vertices of a mesh connected component unless stabilizer > 0

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ stabilizer() [1/2]

float mrmeshpy.PositionVertsSmoothlyParams.stabilizer ( self)
the more the value, the bigger attraction of each vertex to its original position

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ stabilizer() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.stabilizer ( self,
float arg1 )
the more the value, the bigger attraction of each vertex to its original position

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ vertShifts() [1/2]

VertCoords mrmeshpy.PositionVertsSmoothlyParams.vertShifts ( self)
optional additional shifts of each vertex relative to smooth position

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ vertShifts() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.vertShifts ( self,
ConstVertCoords arg1 )
optional additional shifts of each vertex relative to smooth position

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ vertStabilizers() [1/2]

func_float_from_Id_VertTag mrmeshpy.PositionVertsSmoothlyParams.vertStabilizers ( self)
if specified then it is used instead of \\p stabilizer

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.

◆ vertStabilizers() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.vertStabilizers ( self,
Const_func_float_from_Id_VertTag arg1 )
if specified then it is used instead of \\p stabilizer

Reimplemented from mrmeshpy.ConstPositionVertsSmoothlyParams.


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