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

Public Member Functions

None __init__ (self, str name, std_vector_std_shared_ptr_HistoryAction actions)
 
None __init__ (self, CombinedHistoryAction arg0)
 
None action (self, HistoryAction.Type type)
 
bool empty (self)
 
bool filter (self, func_bool_from_std_shared_ptr_HistoryAction filteringCondition)
 
std_vector_std_shared_ptr_HistoryAction getStack (self)
 
int heapBytes (self)
 
str name (self)
 

Detailed Description

Generated from:  MR::CombinedHistoryAction

History action for combine some history actions
\\ingroup HistoryGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.CombinedHistoryAction.__init__ ( self,
str name,
std_vector_std_shared_ptr_HistoryAction actions )
Will call action() for each actions in given order (undo in reverse, redo in forward)

◆ __init__() [2/2]

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

Member Function Documentation

◆ action()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ empty()

bool meshlib.mrmeshpy.CombinedHistoryAction.empty ( self)

◆ filter()

bool meshlib.mrmeshpy.CombinedHistoryAction.filter ( self,
func_bool_from_std_shared_ptr_HistoryAction filteringCondition )
Remove some actions according to condition inside combined actions.
Do deep filtering.

◆ getStack()

std_vector_std_shared_ptr_HistoryAction meshlib.mrmeshpy.CombinedHistoryAction.getStack ( self)

◆ heapBytes()

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

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.CombinedHistoryAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.


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