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

Public Member Functions

None __init__ (self, str name, ObjectVoxels obj)
 
None __init__ (self, ChangeSurfaceAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

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

Static Public Attributes

 Obj = ObjectVoxels
 

Detailed Description

Generated from:  MR::ChangeSurfaceAction

Undo action for ObjectVoxels surface change (need for faster undo redo)

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.ChangeSurfaceAction.__init__ ( self,
str name,
ObjectVoxels obj )
use this constructor to remember object's surface before making any changes in it

◆ __init__() [2/2]

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

Member Function Documentation

◆ action()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeSurfaceAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangeSurfaceAction.setObjectDirty ( ObjectVoxels obj)
static

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeSurfaceAction.Obj = ObjectVoxels
static

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