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

Public Member Functions

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

Detailed Description

Generated from:  MR::PartialChangeMeshAction

Undo action for efficiently storage of partial change in mesh (e.g. a modification of small region)

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstPartialChangeMeshAction.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstCmpOld, oldMesh: meshlib.mrmeshpy.ConstMesh) -> None

use this constructor after the object already contains new mesh,
and old mesh is passed to remember the difference for future undoing

2. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, : meshlib.mrmeshpy.ConstSetNew, newMesh: meshlib.mrmeshpy.Mesh) -> None

use this constructor to set new object's mesh and remember its difference from existed mesh for future undoing

3. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, arg0: meshlib.mrmeshpy.ConstPartialChangeMeshAction) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstPartialChangeMeshAction, : meshlib.mrmeshpy.ConstPartialChangeMeshAction) -> None

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstPartialChangeMeshAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.


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