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

Public Member Functions

None __init__ (self, str name, Const_std_vector_std_shared_ptr_HistoryAction actions, Const_func_std_string dynNameGetter='{}')
None __init__ (self, ConstCombinedHistoryAction arg0)
None action (self, HistoryAction.Type type)
bool filter (self, Const_func_bool_from_std_shared_ptr_HistoryAction filteringCondition)
std_vector_std_shared_ptr_HistoryAction getStack (self)
Const_std_vector_std_shared_ptr_HistoryAction getStack (ConstCombinedHistoryAction self)
None setName (self, str name)
Public Member Functions inherited from mrmeshpy.ConstCombinedHistoryAction
 __init__ (self, *args, **kwargs)
bool empty (self)
str getDynamicName (self)
int heapBytes (self)
str name (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Detailed Description

Generated from:  MR::CombinedHistoryAction

History action for combine some history actions

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.CombinedHistoryAction.__init__ ( self,
str name,
Const_std_vector_std_shared_ptr_HistoryAction actions,
Const_func_std_string dynNameGetter = '{}' )
Will call action() for each actions in given order (undo in reverse, redo in forward)

◆ __init__() [3/3]

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

Member Function Documentation

◆ action()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ filter()

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

◆ getStack() [1/2]

Const_std_vector_std_shared_ptr_HistoryAction mrmeshpy.CombinedHistoryAction.getStack ( ConstCombinedHistoryAction self)

◆ getStack() [2/2]

std_vector_std_shared_ptr_HistoryAction mrmeshpy.CombinedHistoryAction.getStack ( self)

◆ setName()

None mrmeshpy.CombinedHistoryAction.setName ( self,
str name )

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