Undo action for ObjectVoxels dual/standard marching cubes change.
More...
#include <MRChangeVoxelsAction.h>
Undo action for ObjectVoxels dual/standard marching cubes change.
◆ Obj
◆ ChangeDualMarchingCubesAction() [1/2]
MR::ChangeDualMarchingCubesAction::ChangeDualMarchingCubesAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectVoxels > & | obj ) |
|
inline |
use this constructor to remember object's dual-value before making any changes in it
◆ ChangeDualMarchingCubesAction() [2/2]
MR::ChangeDualMarchingCubesAction::ChangeDualMarchingCubesAction |
( |
std::string | name, |
|
|
const std::shared_ptr< ObjectVoxels > & | obj, |
|
|
bool | storeDual ) |
|
inline |
use this constructor to remember given dual-value (and not the current value in the object)
◆ action()
This function is called on history action (undo, redo, etc.)
Implements MR::HistoryAction.
◆ heapBytes()
virtual size_t MR::ChangeDualMarchingCubesAction::heapBytes |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
returns the amount of memory this object occupies on heap
Implements MR::HistoryAction.
◆ name()
virtual std::string MR::ChangeDualMarchingCubesAction::name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setObjectDirty()
static void MR::ChangeDualMarchingCubesAction::setObjectDirty |
( |
const std::shared_ptr< Obj > & | | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: