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

Public Member Functions

None __init__ (self, str name, ObjectMesh obj)
 
None __init__ (self, str name, ObjectMesh obj, MeshTopology newTopology)
 
None __init__ (self, ChangeMeshTopologyAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

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

Static Public Attributes

 Obj = ObjectMesh
 

Detailed Description

Generated from:  MR::ChangeMeshTopologyAction

Undo action for ObjectMesh topology only (not points) change

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.ChangeMeshTopologyAction.__init__ ( self,
str name,
ObjectMesh obj )
use this constructor to remember object's mesh points before making any changes in it

◆ __init__() [2/3]

None meshlib.mrmeshpy.ChangeMeshTopologyAction.__init__ ( self,
str name,
ObjectMesh obj,
MeshTopology newTopology )
use this constructor to remember object's mesh topology and immediate set new value

◆ __init__() [3/3]

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

Member Function Documentation

◆ action()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeMeshTopologyAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangeMeshTopologyAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeMeshTopologyAction.Obj = ObjectMesh
static

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