Public Member Functions | |
| None | __init__ (self, str name, ObjectMesh obj) |
| None | action (self, HistoryAction.Type t) |
| None | compress (self) |
| int | heapBytes (self) |
| str | name (self) |
Static Public Member Functions | |
| None | setObjectDirty (ObjectMesh obj) |
| Static Public Member Functions inherited from mrmeshpy.HistoryAction | |
| HistoryAction | operator (*args, **kwargs) |
Static Public Attributes | |
| Obj = ObjectMesh | |
Generated from: MR::VersatileChangeMeshPointsAction Undo action for ObjectMesh points only (not topology) change; It starts its life storing all points (uncompressed format), but can be switched to store only modified points (compressed format)
| None mrmeshpy.VersatileChangeMeshPointsAction.__init__ | ( | self, | |
| str | name, | ||
| ObjectMesh | obj ) |
use this constructor to remember object's mesh points in uncompressed format before making any changes in it
| None mrmeshpy.VersatileChangeMeshPointsAction.action | ( | self, | |
| HistoryAction.Type | actionType ) |
This function is called on history action (undo, redo, etc.)
Reimplemented from mrmeshpy.HistoryAction.
| None mrmeshpy.VersatileChangeMeshPointsAction.compress | ( | self | ) |
switch from uncompressed to compressed format to occupy less amount of memory
| int mrmeshpy.VersatileChangeMeshPointsAction.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
Reimplemented from mrmeshpy.HistoryAction.
| str mrmeshpy.VersatileChangeMeshPointsAction.name | ( | self | ) |
Reimplemented from mrmeshpy.HistoryAction.
|
static |
|
static |