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

Public Member Functions

None __init__ (self, str name, ObjectMesh obj, ObjectMeshData newData)
 
None action (self, HistoryAction.Type type)
 
int heapBytes (self)
 
str name (self)
 

Additional Inherited Members

- Static Public Member Functions inherited from mrmeshpy.HistoryAction
HistoryAction operator (*args, **kwargs)
 

Detailed Description

Generated from:  MR::PartialChangeMeshDataAction

Undo action for ObjectMeshData change partially

Constructor & Destructor Documentation

◆ __init__()

None mrmeshpy.PartialChangeMeshDataAction.__init__ ( self,
str name,
ObjectMesh obj,
ObjectMeshData newData )
use this constructor to remember object's data and immediately set new data

Member Function Documentation

◆ action()

None mrmeshpy.PartialChangeMeshDataAction.action ( self,
HistoryAction.Type actionType )
This function is called on history action (undo, redo, etc.)

Reimplemented from mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ name()

str mrmeshpy.PartialChangeMeshDataAction.name ( self)

Reimplemented from mrmeshpy.HistoryAction.


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