Public Member Functions | |
| auto | name () const -> meshlib::Owned< meshlib::std_string > |
| void | action (_1:meshlib::HistoryAction_Type) |
| auto | heap_bytes () const -> usize |
| auto | upcast_to_history_action () const -> &meshlib::HistoryAction |
| auto | upcast_to_history_action_mut () -> &mut meshlib::HistoryAction |
Undo action for efficiently storage of partial change in mesh (e.g. a modification of small region) Generated from class MR::PartialChangeMeshAction. Base classes: Direct: (non-virtual) MR::HistoryAction
Generated from class MR::PartialChangeMeshAction. Heap-allocated instances are held in Owned<PartialChangeMeshAction>.
| void meshlib::PartialChangeMeshAction::action | ( | _1:meshlib::HistoryAction_Type | ) |
Generated from method MR::PartialChangeMeshAction::action.
Calls MR_PartialChangeMeshAction_action().
|
static |
Generated from constructor MR::PartialChangeMeshAction::PartialChangeMeshAction.
Calls MR_PartialChangeMeshAction_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
use this constructor after the object already contains new mesh, and old mesh is passed to remember the difference for future undoing Generated from constructor MR::PartialChangeMeshAction::PartialChangeMeshAction.
Calls MR_PartialChangeMeshAction_Construct_MR_CmpOld(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter _3 might be preserved in the constructed object. The reference to the parameter oldMesh might be preserved in the constructed object.
|
static |
use this constructor to set new object's mesh and remember its difference from existed mesh for future undoing Generated from constructor MR::PartialChangeMeshAction::PartialChangeMeshAction.
Calls MR_PartialChangeMeshAction_Construct_MR_SetNew(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter obj might be preserved in the constructed object. The reference to the parameter _3 might be preserved in the constructed object. The reference to the parameter newMesh might be preserved in the constructed object.
|
static |
Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a PartialChangeMeshAction.
Calls MR_PartialChangeMeshAction_DynamicDowncastFrom_MR_HistoryAction().
|
static |
Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a PartialChangeMeshAction.
Calls MR_PartialChangeMeshAction_MutableDynamicDowncastFrom_MR_HistoryAction().
| auto meshlib::PartialChangeMeshAction::heap_bytes | ( | ) | const -> usize |
Generated from method MR::PartialChangeMeshAction::heapBytes.
Calls MR_PartialChangeMeshAction_heapBytes().
| auto meshlib::PartialChangeMeshAction::name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::PartialChangeMeshAction::name.
Calls MR_PartialChangeMeshAction_name().
|
static |
Static downcast from the base class MR::HistoryAction.
Calls MR_PartialChangeMeshAction_StaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a PartialChangeMeshAction.
|
static |
Static downcast from the base class MR::HistoryAction.
Calls MR_PartialChangeMeshAction_MutableStaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a PartialChangeMeshAction.
| auto meshlib::PartialChangeMeshAction::upcast_to_history_action | ( | ) | const -> &meshlib::HistoryAction |
Upcasts to the base class MR::HistoryAction.
Calls MR_PartialChangeMeshAction_UpcastTo_MR_HistoryAction().
| auto meshlib::PartialChangeMeshAction::upcast_to_history_action_mut | ( | ) | -> &mut meshlib::HistoryAction |
Upcasts to the base class MR::HistoryAction.
Calls MR_PartialChangeMeshAction_MutableUpcastTo_MR_HistoryAction().