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

Public Member Functions

None __init__ (self, str name, ObjectMesh obj)
 
None __init__ (self, str name, ObjectMesh obj, Mesh newMesh)
 
None __init__ (self, ChangeMeshAction 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::ChangeMeshAction

Undo action for ObjectMesh mesh change

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None meshlib.mrmeshpy.ChangeMeshAction.__init__ ( self,
str name,
ObjectMesh obj,
Mesh newMesh )
use this constructor to remember object's mesh and immediately set new mesh

◆ __init__() [3/3]

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

Member Function Documentation

◆ action()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeMeshAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

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

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeMeshAction.Obj = ObjectMesh
static

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