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

Public Member Functions

None __init__ (self, str name, ObjectMesh obj)
 
None __init__ (self, str name, ObjectMesh obj, ObjectMeshData newData)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
None action (*args, **kwargs)
 
ChangeMeshDataAction operator (*args, **kwargs)
 
ChangeMeshDataAction operator (*args, **kwargs)
 
None setObjectDirty (ObjectMesh obj)
 

Static Public Attributes

 Obj = ObjectMesh
 

Detailed Description

Generated from:  MR::ChangeMeshDataAction

Undo action for ObjectMeshData change

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.ChangeMeshDataAction.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None mrmeshpy.ChangeMeshDataAction.__init__ ( self,
str name,
ObjectMesh obj,
ObjectMeshData newData )
use this constructor to remember object's data and immediately set new data

Member Function Documentation

◆ action()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ name()

str mrmeshpy.ChangeMeshDataAction.name ( self)

Reimplemented from mrmeshpy.HistoryAction.

◆ operator() [1/2]

ChangeMeshDataAction mrmeshpy.ChangeMeshDataAction.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.HistoryAction.

◆ operator() [2/2]

ChangeMeshDataAction mrmeshpy.ChangeMeshDataAction.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.HistoryAction.

◆ setObjectDirty()

None mrmeshpy.ChangeMeshDataAction.setObjectDirty ( ObjectMesh obj)
static

Member Data Documentation

◆ Obj

mrmeshpy.ChangeMeshDataAction.Obj = ObjectMesh
static

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