MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.CombinedHistoryAction Class Reference
+ Inheritance diagram for 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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::CombinedHistoryAction

History action for combine some history actions
\\ingroup HistoryGroup

Constructor & Destructor Documentation

◆ __init__() [1/2]

None 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 mrmeshpy.CombinedHistoryAction.__init__ ( self,
CombinedHistoryAction arg0 )
Implicit copy constructor.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.CombinedHistoryAction._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

Reimplemented from mrmeshpy.HistoryAction.

◆ action()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ empty()

bool mrmeshpy.CombinedHistoryAction.empty ( self)

◆ filter()

bool 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 mrmeshpy.CombinedHistoryAction.getStack ( self)

◆ heapBytes()

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

Reimplemented from mrmeshpy.HistoryAction.

◆ name()

str mrmeshpy.CombinedHistoryAction.name ( self)

Reimplemented from mrmeshpy.HistoryAction.


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