#include <MRChangePointCloudAction.h>
Undo action for points field inside ObjectPoints
◆ Obj
◆ ChangePointCloudPointsAction() [1/2]
MR::ChangePointCloudPointsAction::ChangePointCloudPointsAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectPoints > & | obj ) |
|
inline |
use this constructor to remember object's points field before making any changes in it
◆ ChangePointCloudPointsAction() [2/2]
MR::ChangePointCloudPointsAction::ChangePointCloudPointsAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectPoints > & | obj, |
|
|
VertCoords && | newPoints ) |
|
inline |
use this constructor to remember object's points field and immediate set new value
◆ action()
This function is called on history action (undo, redo, etc.)
Implements MR::HistoryAction.
◆ heapBytes()
virtual size_t MR::ChangePointCloudPointsAction::heapBytes |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
returns the amount of memory this object occupies on heap
Implements MR::HistoryAction.
◆ name()
virtual std::string MR::ChangePointCloudPointsAction::name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setObjectDirty()
static void MR::ChangePointCloudPointsAction::setObjectDirty |
( |
const std::shared_ptr< ObjectPoints > & | obj | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: