Definition MRHistoryAction.h:12
virtual ~HistoryAction()=default
virtual std::string name() const =0
Type
Definition MRHistoryAction.h:19
virtual size_t heapBytes() const =0
returns the amount of memory this object occupies on heap
virtual void action(Type actionType)=0
This function is called on history action (undo, redo, etc.)
MRMESH_API std::pair< bool, int > filterHistoryActionsVector(HistoryActionsVector &historyVector, HistoryStackFilter filteringCondition, size_t firstRedoIndex=0, bool deepFiltering=true)
Remove actions from history actions vector that match the condition.