Public Member Functions | |
| None | __init__ (self, str name, ObjectMesh obj) |
| None | action (self, HistoryAction.Type t) |
| None | compress (self) |
| Public Member Functions inherited from mrmeshpy.ConstVersatileChangeMeshPointsAction | |
| __init__ (self, *args, **kwargs) | |
| int | heapBytes (self) |
| str | name (self) |
Additional Inherited Members | |
| Static Public Member Functions inherited from mrmeshpy.ConstVersatileChangeMeshPointsAction | |
| None | setObjectDirty (ObjectMesh obj) |
| Static Public Attributes inherited from mrmeshpy.ConstVersatileChangeMeshPointsAction | |
| ConstObj = ConstObjectMesh | |
| 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