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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVertCoords clonePoints (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::ChangeMeshPointsAction

Undo action for ObjectMesh points only (not topology) change

Constructor & Destructor Documentation

◆ __init__()

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

1. __init__(self: meshlib.mrmeshpy.ConstChangeMeshPointsAction, 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.ConstChangeMeshPointsAction, name: str, obj: meshlib.mrmeshpy.ObjectMesh, newCoords: meshlib.mrmeshpy.VertCoords) -> None

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

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

Implicit copy constructor.

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

Member Function Documentation

◆ clonePoints()

ConstVertCoords mrmeshpy.ConstChangeMeshPointsAction.clonePoints ( self)

◆ heapBytes()

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

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ name()

str mrmeshpy.ConstChangeMeshPointsAction.name ( self)

Reimplemented from mrmeshpy.ConstHistoryAction.

◆ obj()

ObjectMesh mrmeshpy.ConstChangeMeshPointsAction.obj ( self)

◆ setObjectDirty()

None mrmeshpy.ConstChangeMeshPointsAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ ConstObj

mrmeshpy.ConstChangeMeshPointsAction.ConstObj = ConstObjectMesh
static

◆ Obj

mrmeshpy.ConstChangeMeshPointsAction.Obj = ObjectMesh
static

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