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

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

Detailed Description

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)

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ action()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ compress()

None mrmeshpy.VersatileChangeMeshPointsAction.compress ( self)
switch from uncompressed to compressed format to occupy less amount of memory

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