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

Public Member Functions

None __init__ (self, str name, ObjectMesh obj)
 
None __init__ (self, str name, ObjectMesh obj, Mesh newMesh)
 
None __init__ (self, ChangeMeshAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

None action (*args, **kwargs)
 
None setObjectDirty (ObjectMesh obj)
 

Static Public Attributes

 Obj = ObjectMesh
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::ChangeMeshAction

Undo action for ObjectMesh mesh change

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.ChangeMeshAction.__init__ ( self,
str name,
ObjectMesh obj )
use this constructor to remember object's mesh before making any changes in it

◆ __init__() [2/3]

None mrmeshpy.ChangeMeshAction.__init__ ( self,
str name,
ObjectMesh obj,
Mesh newMesh )
use this constructor to remember object's mesh and immediately set new mesh

◆ __init__() [3/3]

None mrmeshpy.ChangeMeshAction.__init__ ( self,
ChangeMeshAction arg0 )
Implicit copy constructor.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.ChangeMeshAction._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

Reimplemented from mrmeshpy.HistoryAction.

◆ action()

None mrmeshpy.ChangeMeshAction.action ( * self,
** actionType )
static
This function is called on history action (undo, redo, etc.)

Reimplemented from mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ name()

str mrmeshpy.ChangeMeshAction.name ( self)

Reimplemented from mrmeshpy.HistoryAction.

◆ setObjectDirty()

None mrmeshpy.ChangeMeshAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ Obj

mrmeshpy.ChangeMeshAction.Obj = ObjectMesh
static

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