35 std::unique_ptr<ChangeMeshPointsAction> stdAction_;
36 std::unique_ptr<PartialChangeMeshPointsAction> diffAction_;
#define MRMESH_API
Definition MRMeshFwd.h:82
#define MRMESH_CLASS
Definition MRMeshFwd.h:89
Definition MRObjectMesh.h:14
ObjectMesh Obj
Definition MRVersatileChangeMeshAction.h:16
~VersatileChangeMeshPointsAction()
virtual size_t heapBytes() const override
returns the amount of memory this object occupies on heap
virtual void action(HistoryAction::Type t) override
This function is called on history action (undo, redo, etc.)
Type
Definition MRHistoryAction.h:27
HistoryAction()=default
explicitly define ctors to avoid warning C5267: definition of implicit copy constructor is deprecated...
void compress()
switch from uncompressed to compressed format to occupy less amount of memory
static void setObjectDirty(const std::shared_ptr< ObjectMesh > &obj)
VersatileChangeMeshPointsAction(std::string name, const std::shared_ptr< ObjectMesh > &obj)
use this constructor to remember object's mesh points in uncompressed format before making any change...
virtual std::string name() const override
only for bindings generation
Definition MRCameraOrientationPlugin.h:8