MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstChangeMeshDataAction:

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstObjectMeshData data (self)
int heapBytes (self)
str name (self)
ObjectMesh obj (self)

Static Public Member Functions

None setObjectDirty (ObjectMesh obj)

Static Public Attributes

 ConstObj = ConstObjectMesh
 Obj = ObjectMesh

Detailed Description

Generated from:  MR::ChangeMeshDataAction

Undo action for ObjectMeshData change

Constructor & Destructor Documentation

◆ __init__()

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

1. __init__(self: meshlib.mrmeshpy.ConstChangeMeshDataAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, cloneMesh: bool) -> None

use this constructor to remember object's data before making any changes in it

2. __init__(self: meshlib.mrmeshpy.ConstChangeMeshDataAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, newData: meshlib.mrmeshpy.ObjectMeshData) -> None

use this constructor to remember object's data and immediately set new data

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

Implicit copy constructor.

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

Member Function Documentation

◆ data()

ConstObjectMeshData mrmeshpy.ConstChangeMeshDataAction.data ( self)

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshDataAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ obj()

ObjectMesh mrmeshpy.ConstChangeMeshDataAction.obj ( self)

◆ setObjectDirty()

None mrmeshpy.ConstChangeMeshDataAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshDataAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstChangeMeshDataAction.Obj = ObjectMesh
static

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