MeshLib
 
Loading...
Searching...
No Matches
MRHistoryAction.h File Reference
#include "MRMeshFwd.h"
#include <functional>
#include <string>

Go to the source code of this file.

Classes

class  MR::HistoryAction
 

Namespaces

namespace  MR
 

Typedefs

using MR::HistoryStackFilter = std::function<bool( const std::shared_ptr<HistoryAction>& )>
 
using MR::HistoryActionsVector = std::vector<std::shared_ptr<HistoryAction>>
 

Functions

MRMESH_API std::pair< bool, int > MR::filterHistoryActionsVector (HistoryActionsVector &historyVector, HistoryStackFilter filteringCondition, size_t firstRedoIndex=0, bool deepFiltering=true)
 Remove actions from history actions vector that match the condition.