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

Public Member Functions

None __init__ (self)
 
None __init__ (self, FillHoleParams triangulateParams, bool triangulateOnly, float maxEdgeLen, int maxEdgeSplits, float maxAngleChangeAfterFlip, bool smoothCurvature, bool naturalSmooth, func_bool_from_Id_EdgeTag beforeEdgeSplit, func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit, EdgeWeights edgeWeights, VertexMass vmass, VertCoords2 uvCoords, VertColors colorMap, FaceColors faceColors)
 
func_bool_from_Id_EdgeTag beforeEdgeSplit (self)
 
None beforeEdgeSplit (self, func_bool_from_Id_EdgeTag arg1)
 
VertColors colorMap (self)
 
None colorMap (self, VertColors arg1)
 
EdgeWeights edgeWeights (self)
 
None edgeWeights (self, EdgeWeights arg1)
 
FaceColors faceColors (self)
 
None faceColors (self, FaceColors arg1)
 
float maxAngleChangeAfterFlip (self)
 
None maxAngleChangeAfterFlip (self, float arg1)
 
float maxEdgeLen (self)
 
None maxEdgeLen (self, float arg1)
 
int maxEdgeSplits (self)
 
None maxEdgeSplits (self, int arg1)
 
bool naturalSmooth (self)
 
None naturalSmooth (self, bool arg1)
 
func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit (self)
 
None onEdgeSplit (self, func_void_from_Id_EdgeTag_Id_EdgeTag arg1)
 
bool smoothCurvature (self)
 
None smoothCurvature (self, bool arg1)
 
bool triangulateOnly (self)
 
None triangulateOnly (self, bool arg1)
 
FillHoleParams triangulateParams (self)
 
None triangulateParams (self, FillHoleParams arg1)
 
VertCoords2 uvCoords (self)
 
None uvCoords (self, VertCoords2 arg1)
 
VertexMass vmass (self)
 
None vmass (self, VertexMass arg1)
 

Static Public Member Functions

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

Static Protected Attributes

typing _offsetof_beforeEdgeSplit = 248
 
typing _offsetof_colorMap = 392
 
typing _offsetof_edgeWeights = 376
 
typing _offsetof_faceColors = 400
 
typing _offsetof_maxAngleChangeAfterFlip = 236
 
typing _offsetof_maxEdgeLen = 228
 
typing _offsetof_maxEdgeSplits = 232
 
typing _offsetof_naturalSmooth = 241
 
typing _offsetof_onEdgeSplit = 312
 
typing _offsetof_smoothCurvature = 240
 
typing _offsetof_triangulateOnly = 224
 
typing _offsetof_triangulateParams = 0
 
typing _offsetof_uvCoords = 384
 
typing _offsetof_vmass = 380
 

Detailed Description

Generated from:  MR::FillHoleNicelySettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.FillHoleNicelySettings.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.FillHoleNicelySettings.__init__ ( self,
FillHoleParams triangulateParams,
bool triangulateOnly,
float maxEdgeLen,
int maxEdgeSplits,
float maxAngleChangeAfterFlip,
bool smoothCurvature,
bool naturalSmooth,
func_bool_from_Id_EdgeTag beforeEdgeSplit,
func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit,
EdgeWeights edgeWeights,
VertexMass vmass,
VertCoords2 uvCoords,
VertColors colorMap,
FaceColors faceColors )
Implicit aggregate constructor.

Member Function Documentation

◆ beforeEdgeSplit() [1/2]

func_bool_from_Id_EdgeTag mrmeshpy.FillHoleNicelySettings.beforeEdgeSplit ( self)
(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped

◆ beforeEdgeSplit() [2/2]

None mrmeshpy.FillHoleNicelySettings.beforeEdgeSplit ( self,
func_bool_from_Id_EdgeTag arg1 )

◆ colorMap() [1/2]

VertColors mrmeshpy.FillHoleNicelySettings.colorMap ( self)
optional colors of vertices; if provided then elements corresponding to new vertices will be added there

◆ colorMap() [2/2]

None mrmeshpy.FillHoleNicelySettings.colorMap ( self,
VertColors arg1 )

◆ edgeWeights() [1/2]

EdgeWeights mrmeshpy.FillHoleNicelySettings.edgeWeights ( self)
edge weighting scheme for smoothCurvature mode

◆ edgeWeights() [2/2]

None mrmeshpy.FillHoleNicelySettings.edgeWeights ( self,
EdgeWeights arg1 )

◆ faceColors() [1/2]

FaceColors mrmeshpy.FillHoleNicelySettings.faceColors ( self)
optional colors of faces; if provided then elements corresponding to new faces will be added there

◆ faceColors() [2/2]

None mrmeshpy.FillHoleNicelySettings.faceColors ( self,
FaceColors arg1 )

◆ maxAngleChangeAfterFlip() [1/2]

float mrmeshpy.FillHoleNicelySettings.maxAngleChangeAfterFlip ( self)
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians)

◆ maxAngleChangeAfterFlip() [2/2]

None mrmeshpy.FillHoleNicelySettings.maxAngleChangeAfterFlip ( self,
float arg1 )

◆ maxEdgeLen() [1/2]

float mrmeshpy.FillHoleNicelySettings.maxEdgeLen ( self)
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value

◆ maxEdgeLen() [2/2]

None mrmeshpy.FillHoleNicelySettings.maxEdgeLen ( self,
float arg1 )

◆ maxEdgeSplits() [1/2]

int mrmeshpy.FillHoleNicelySettings.maxEdgeSplits ( self)
Maximum number of edge splits allowed during subdivision

◆ maxEdgeSplits() [2/2]

None mrmeshpy.FillHoleNicelySettings.maxEdgeSplits ( self,
int arg1 )

◆ naturalSmooth() [1/2]

bool mrmeshpy.FillHoleNicelySettings.naturalSmooth ( self)
Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole

◆ naturalSmooth() [2/2]

None mrmeshpy.FillHoleNicelySettings.naturalSmooth ( self,
bool arg1 )

◆ onEdgeSplit() [1/2]

func_void_from_Id_EdgeTag_Id_EdgeTag mrmeshpy.FillHoleNicelySettings.onEdgeSplit ( self)
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone

◆ onEdgeSplit() [2/2]

None mrmeshpy.FillHoleNicelySettings.onEdgeSplit ( self,
func_void_from_Id_EdgeTag_Id_EdgeTag arg1 )

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ smoothCurvature() [1/2]

bool mrmeshpy.FillHoleNicelySettings.smoothCurvature ( self)
Whether to make patch over the hole smooth both inside and on its boundary with existed surface

◆ smoothCurvature() [2/2]

None mrmeshpy.FillHoleNicelySettings.smoothCurvature ( self,
bool arg1 )

◆ triangulateOnly() [1/2]

bool mrmeshpy.FillHoleNicelySettings.triangulateOnly ( self)
If false then additional vertices are created inside the patch for best mesh quality

◆ triangulateOnly() [2/2]

None mrmeshpy.FillHoleNicelySettings.triangulateOnly ( self,
bool arg1 )

◆ triangulateParams() [1/2]

FillHoleParams mrmeshpy.FillHoleNicelySettings.triangulateParams ( self)
how to triangulate the hole, must be specified by the user

◆ triangulateParams() [2/2]

None mrmeshpy.FillHoleNicelySettings.triangulateParams ( self,
FillHoleParams arg1 )

◆ uvCoords() [1/2]

VertCoords2 mrmeshpy.FillHoleNicelySettings.uvCoords ( self)
optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there

◆ uvCoords() [2/2]

None mrmeshpy.FillHoleNicelySettings.uvCoords ( self,
VertCoords2 arg1 )

◆ vmass() [1/2]

VertexMass mrmeshpy.FillHoleNicelySettings.vmass ( self)
vertex mass scheme for smoothCurvature mode

◆ vmass() [2/2]

None mrmeshpy.FillHoleNicelySettings.vmass ( self,
VertexMass arg1 )

Member Data Documentation

◆ _offsetof_beforeEdgeSplit

typing mrmeshpy.FillHoleNicelySettings._offsetof_beforeEdgeSplit = 248
staticprotected

◆ _offsetof_colorMap

typing mrmeshpy.FillHoleNicelySettings._offsetof_colorMap = 392
staticprotected

◆ _offsetof_edgeWeights

typing mrmeshpy.FillHoleNicelySettings._offsetof_edgeWeights = 376
staticprotected

◆ _offsetof_faceColors

typing mrmeshpy.FillHoleNicelySettings._offsetof_faceColors = 400
staticprotected

◆ _offsetof_maxAngleChangeAfterFlip

typing mrmeshpy.FillHoleNicelySettings._offsetof_maxAngleChangeAfterFlip = 236
staticprotected

◆ _offsetof_maxEdgeLen

typing mrmeshpy.FillHoleNicelySettings._offsetof_maxEdgeLen = 228
staticprotected

◆ _offsetof_maxEdgeSplits

typing mrmeshpy.FillHoleNicelySettings._offsetof_maxEdgeSplits = 232
staticprotected

◆ _offsetof_naturalSmooth

typing mrmeshpy.FillHoleNicelySettings._offsetof_naturalSmooth = 241
staticprotected

◆ _offsetof_onEdgeSplit

typing mrmeshpy.FillHoleNicelySettings._offsetof_onEdgeSplit = 312
staticprotected

◆ _offsetof_smoothCurvature

typing mrmeshpy.FillHoleNicelySettings._offsetof_smoothCurvature = 240
staticprotected

◆ _offsetof_triangulateOnly

typing mrmeshpy.FillHoleNicelySettings._offsetof_triangulateOnly = 224
staticprotected

◆ _offsetof_triangulateParams

typing mrmeshpy.FillHoleNicelySettings._offsetof_triangulateParams = 0
staticprotected

◆ _offsetof_uvCoords

typing mrmeshpy.FillHoleNicelySettings._offsetof_uvCoords = 384
staticprotected

◆ _offsetof_vmass

typing mrmeshpy.FillHoleNicelySettings._offsetof_vmass = 380
staticprotected

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