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

Public Member Functions

None __init__ (self, str name, ObjectVoxels obj)
 
None __init__ (self, ChangeGridAction arg0)
 
None action (self, HistoryAction.Type obj)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

None setObjectDirty (ObjectVoxels obj)
 

Static Public Attributes

 Obj = ObjectVoxels
 

Detailed Description

Generated from:  MR::ChangeGridAction

Undo action for ObjectVoxels all data change (need for faster undo redo)

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

◆ __init__() [2/2]

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

Member Function Documentation

◆ action()

None meshlib.mrmeshpy.ChangeGridAction.action ( self,
HistoryAction.Type actionType )
This function is called on history action (undo, redo, etc.)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangeGridAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

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

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangeGridAction.Obj = ObjectVoxels
static

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