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

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::ChangeMeshTopologyAction

Undo action for ObjectMesh topology only (not points) change

Constructor & Destructor Documentation

◆ __init__()

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

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

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

2. __init__(self: meshlib.mrmeshpy.ConstChangeMeshTopologyAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, newTopology: meshlib.mrmeshpy.MeshTopology) -> None

use this constructor to remember object's mesh topology and immediate set new value

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

Implicit copy constructor.

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

Member Function Documentation

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshTopologyAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ setObjectDirty()

None mrmeshpy.ConstChangeMeshTopologyAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshTopologyAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstChangeMeshTopologyAction.Obj = ObjectMesh
static

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