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

Public Member Functions

 __init__ (self, *args, **kwargs)
int heapBytes (self)
str name (self)

Static Public Member Functions

None setObjectDirty (ObjectMesh obj)

Static Public Attributes

 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__()

mrmeshpy.ConstVersatileChangeMeshPointsAction.__init__ ( self,
* args,
** kwargs )
__init__(self: meshlib.mrmeshpy.ConstVersatileChangeMeshPointsAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh) -> None

use this constructor to remember object's mesh points in uncompressed format before making any changes in it

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstVersatileChangeMeshPointsAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ setObjectDirty()

None mrmeshpy.ConstVersatileChangeMeshPointsAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstVersatileChangeMeshPointsAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstVersatileChangeMeshPointsAction.Obj = ObjectMesh
static

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