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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstDecimateResult arg0)
None __init__ (self, int vertsDeleted, int facesDeleted, float errorIntroduced, bool cancelled)
DecimateResult assign (self, ConstDecimateResult other)
bool cancelled (self)
None cancelled (self, bool arg1)
float errorIntroduced (self)
None errorIntroduced (self, float arg1)
int facesDeleted (self)
None facesDeleted (self, int arg1)
int vertsDeleted (self)
None vertsDeleted (self, int arg1)
Public Member Functions inherited from mrmeshpy.ConstDecimateResult
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstDecimateResult
typing _offsetof_cancelled = 12
typing _offsetof_errorIntroduced = 8
typing _offsetof_facesDeleted = 4
typing _offsetof_vertsDeleted = 0

Detailed Description

Generated from:  MR::DecimateResult

\\struct MR::DecimateResult
\\brief Results of MR::decimateMesh
\\sa \\ref decimateMesh
\\sa \\ref resolveMeshDegenerations

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.DecimateResult.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.DecimateResult.__init__ ( self,
ConstDecimateResult arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.DecimateResult.__init__ ( self,
int vertsDeleted,
int facesDeleted,
float errorIntroduced,
bool cancelled )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

DecimateResult mrmeshpy.DecimateResult.assign ( self,
ConstDecimateResult other )

◆ cancelled() [1/2]

bool mrmeshpy.DecimateResult.cancelled ( self)
whether the algorithm was cancelled by the callback

Reimplemented from mrmeshpy.ConstDecimateResult.

◆ cancelled() [2/2]

None mrmeshpy.DecimateResult.cancelled ( self,
bool arg1 )
whether the algorithm was cancelled by the callback

Reimplemented from mrmeshpy.ConstDecimateResult.

◆ errorIntroduced() [1/2]

float mrmeshpy.DecimateResult.errorIntroduced ( self)
for DecimateStrategy::MinimizeError:
   estimated distance deviation of decimated mesh from the original mesh
for DecimateStrategy::ShortestEdgeFirst:
   the shortest remaining edge in the mesh

Reimplemented from mrmeshpy.ConstDecimateResult.

◆ errorIntroduced() [2/2]

None mrmeshpy.DecimateResult.errorIntroduced ( self,
float arg1 )
for DecimateStrategy::MinimizeError:
   estimated distance deviation of decimated mesh from the original mesh
for DecimateStrategy::ShortestEdgeFirst:
   the shortest remaining edge in the mesh

Reimplemented from mrmeshpy.ConstDecimateResult.

◆ facesDeleted() [1/2]

int mrmeshpy.DecimateResult.facesDeleted ( self)
Number deleted faces

Reimplemented from mrmeshpy.ConstDecimateResult.

◆ facesDeleted() [2/2]

None mrmeshpy.DecimateResult.facesDeleted ( self,
int arg1 )
Number deleted faces

Reimplemented from mrmeshpy.ConstDecimateResult.

◆ vertsDeleted() [1/2]

int mrmeshpy.DecimateResult.vertsDeleted ( self)
Number deleted verts. Same as the number of performed collapses

Reimplemented from mrmeshpy.ConstDecimateResult.

◆ vertsDeleted() [2/2]

None mrmeshpy.DecimateResult.vertsDeleted ( self,
int arg1 )
Number deleted verts. Same as the number of performed collapses

Reimplemented from mrmeshpy.ConstDecimateResult.


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