MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PositionVertsSmoothlyParams Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, PositionVertsSmoothlyParams arg0)
 
None __init__ (self, VertBitSet region, VertCoords vertShifts, float stabilizer, func_float_from_Id_VertTag vertStabilizers, func_float_from_Id_UndirectedEdgeTag edgeWeights)
 
func_float_from_Id_UndirectedEdgeTag edgeWeights (self)
 
None edgeWeights (self, func_float_from_Id_UndirectedEdgeTag arg1)
 
VertBitSet region (self)
 
None region (self, VertBitSet arg1)
 
float stabilizer (self)
 
None stabilizer (self, float arg1)
 
VertCoords vertShifts (self)
 
None vertShifts (self, VertCoords arg1)
 
func_float_from_Id_VertTag vertStabilizers (self)
 
None vertStabilizers (self, func_float_from_Id_VertTag arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
PositionVertsSmoothlyParams operator (*args, **kwargs)
 
PositionVertsSmoothlyParams operator (*args, **kwargs)
 

Static Protected Attributes

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,
PositionVertsSmoothlyParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.PositionVertsSmoothlyParams.__init__ ( self,
VertBitSet region,
VertCoords vertShifts,
float stabilizer,
func_float_from_Id_VertTag vertStabilizers,
func_float_from_Id_UndirectedEdgeTag edgeWeights )
Implicit aggregate constructor.

Member Function Documentation

◆ 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

◆ edgeWeights() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.edgeWeights ( self,
func_float_from_Id_UndirectedEdgeTag arg1 )

◆ operator() [1/2]

PositionVertsSmoothlyParams mrmeshpy.PositionVertsSmoothlyParams.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

PositionVertsSmoothlyParams mrmeshpy.PositionVertsSmoothlyParams.operator ( * args,
** kwargs )
static

◆ 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

◆ region() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.region ( self,
VertBitSet arg1 )

◆ stabilizer() [1/2]

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

◆ stabilizer() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.stabilizer ( self,
float arg1 )

◆ vertShifts() [1/2]

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

◆ vertShifts() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.vertShifts ( self,
VertCoords arg1 )

◆ vertStabilizers() [1/2]

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

◆ vertStabilizers() [2/2]

None mrmeshpy.PositionVertsSmoothlyParams.vertStabilizers ( self,
func_float_from_Id_VertTag arg1 )

Member Data Documentation

◆ _offsetof_edgeWeights

typing mrmeshpy.PositionVertsSmoothlyParams._offsetof_edgeWeights = 56
staticprotected

◆ _offsetof_region

typing mrmeshpy.PositionVertsSmoothlyParams._offsetof_region = 0
staticprotected

◆ _offsetof_stabilizer

typing mrmeshpy.PositionVertsSmoothlyParams._offsetof_stabilizer = 16
staticprotected

◆ _offsetof_vertShifts

typing mrmeshpy.PositionVertsSmoothlyParams._offsetof_vertShifts = 8
staticprotected

◆ _offsetof_vertStabilizers

typing mrmeshpy.PositionVertsSmoothlyParams._offsetof_vertStabilizers = 24
staticprotected

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