MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.ChangeMeshCreasesAction Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.ChangeMeshCreasesAction:

Public Member Functions

None __init__ (self, str name, ObjectMesh objMesh)
 
None __init__ (self, ChangeMeshCreasesAction arg0)
 
UndirectedEdgeBitSet creases (self)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

None action (*args, **kwargs)
 
None setObjectDirty (*args, **kwargs)
 

Static Public Attributes

 Obj = ObjectMesh
 

Detailed Description

Generated from:  MR::ChangeMeshCreasesAction

Undo action for ObjectMesh creases

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.ChangeMeshCreasesAction.__init__ ( self,
str name,
ObjectMesh objMesh )
use this constructor to remember object's creases before making any changes in it

◆ __init__() [2/2]

None meshlib.mrmeshpy.ChangeMeshCreasesAction.__init__ ( self,
ChangeMeshCreasesAction arg0 )
Implicit copy constructor.

Member Function Documentation

◆ action()

None meshlib.mrmeshpy.ChangeMeshCreasesAction.action ( * self,
** actionType )
static
This function is called on history action (undo, redo, etc.)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ creases()

UndirectedEdgeBitSet meshlib.mrmeshpy.ChangeMeshCreasesAction.creases ( self)

◆ heapBytes()

int meshlib.mrmeshpy.ChangeMeshCreasesAction.heapBytes ( self)
returns the amount of memory this object occupies on heap

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeMeshCreasesAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangeMeshCreasesAction.setObjectDirty ( * args,
** kwargs )
static
empty because set dirty is inside setCreases

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeMeshCreasesAction.Obj = ObjectMesh
static

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