#include <MRChangePolylineAction.h>
Inheritance diagram for MR::ChangeOnePointInPolylineAction:Public Types | |
| using | Obj = ObjectLines |
Public Types inherited from MR::HistoryAction | |
| enum class | Type { Undo , Redo } |
Public Member Functions | |
| ChangeOnePointInPolylineAction (std::string name, const std::shared_ptr< ObjectLines > &obj, VertId pointId) | |
| use this constructor to remember point's coordinates before making any changes in it | |
| ChangeOnePointInPolylineAction (std::string name, const std::shared_ptr< ObjectLines > &obj, VertId pointId, const Vector3f &newCoords) | |
| use this constructor to remember point's coordinates and immediate set new coordinates | |
| virtual std::string | name () const override |
| virtual void | action (HistoryAction::Type) override |
| This function is called on history action (undo, redo, etc.) | |
| virtual size_t | heapBytes () const override |
| returns the amount of memory this object occupies on heap | |
Public Member Functions inherited from MR::HistoryAction | |
| virtual | ~HistoryAction ()=default |
Static Public Member Functions | |
| static void | setObjectDirty (const std::shared_ptr< ObjectLines > &obj) |
Undo action that modifies one point's coordinates inside ObjectPolyline
|
inline |
use this constructor to remember point's coordinates before making any changes in it
|
inline |
use this constructor to remember point's coordinates and immediate set new coordinates
|
inlineoverridevirtual |
This function is called on history action (undo, redo, etc.)
Implements MR::HistoryAction.
|
inlinenodiscardoverridevirtual |
returns the amount of memory this object occupies on heap
Implements MR::HistoryAction.
|
inlineoverridevirtual |
Implements MR::HistoryAction.
|
inlinestatic |