Public Member Functions | |
| auto | name () const -> meshlib::Owned< meshlib::std_string > |
| void | action (t:meshlib::HistoryAction_Type) |
| auto | heap_bytes () const -> usize |
| void | compress () |
| auto | upcast_to_history_action () const -> &meshlib::HistoryAction |
| auto | upcast_to_history_action_mut () -> &mut meshlib::HistoryAction |
Static Public Member Functions | |
| static auto | construct (name:&str, obj:&meshlib::std_shared_ptr_MR_ObjectMesh) -> meshlib::Owned< meshlib::VersatileChangeMeshPointsAction > |
| static void | set_object_dirty (obj:&meshlib::std_shared_ptr_MR_ObjectMesh) |
| static auto | static_downcast_from_history_action (object:&meshlib::HistoryAction) -> &Self |
| static auto | static_downcast_from_history_action_mut (object:&mut meshlib::HistoryAction) -> &mut Self |
| static auto | dynamic_downcast_from_history_action (object:&meshlib::HistoryAction) -> Option<&Self > |
| static auto | dynamic_downcast_from_history_action_mut (object:&mut meshlib::HistoryAction) -> Option<&mut Self > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
Undo action for ObjectMesh points only (not topology) change; It starts its life storing all points (uncompressed format), but can be switched to store only modified points (compressed format) Generated from class MR::VersatileChangeMeshPointsAction. Base classes: Direct: (non-virtual) MR::HistoryAction
Generated from class MR::VersatileChangeMeshPointsAction. Heap-allocated instances are held in Owned<VersatileChangeMeshPointsAction>.
| void meshlib::VersatileChangeMeshPointsAction::action | ( | t:meshlib::HistoryAction_Type | ) |
Generated from method MR::VersatileChangeMeshPointsAction::action.
Calls MR_VersatileChangeMeshPointsAction_action().
| void meshlib::VersatileChangeMeshPointsAction::compress | ( | ) |
switch from uncompressed to compressed format to occupy less amount of memory Generated from method MR::VersatileChangeMeshPointsAction::compress.
Calls MR_VersatileChangeMeshPointsAction_compress().
|
static |
use this constructor to remember object's mesh points in uncompressed format before making any changes in it Generated from constructor MR::VersatileChangeMeshPointsAction::VersatileChangeMeshPointsAction.
Calls MR_VersatileChangeMeshPointsAction_Construct(). 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.
|
static |
Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a VersatileChangeMeshPointsAction.
Calls MR_VersatileChangeMeshPointsAction_DynamicDowncastFrom_MR_HistoryAction().
|
static |
Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a VersatileChangeMeshPointsAction.
Calls MR_VersatileChangeMeshPointsAction_MutableDynamicDowncastFrom_MR_HistoryAction().
| auto meshlib::VersatileChangeMeshPointsAction::heap_bytes | ( | ) | const -> usize |
Generated from method MR::VersatileChangeMeshPointsAction::heapBytes.
Calls MR_VersatileChangeMeshPointsAction_heapBytes().
| auto meshlib::VersatileChangeMeshPointsAction::name | ( | ) | const -> meshlib::Owned< meshlib::std_string > |
Generated from method MR::VersatileChangeMeshPointsAction::name.
Calls MR_VersatileChangeMeshPointsAction_name().
|
static |
Generated from method MR::VersatileChangeMeshPointsAction::setObjectDirty.
Calls MR_VersatileChangeMeshPointsAction_setObjectDirty().
|
static |
Static downcast from the base class MR::HistoryAction.
Calls MR_VersatileChangeMeshPointsAction_StaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a VersatileChangeMeshPointsAction.
|
static |
Static downcast from the base class MR::HistoryAction.
Calls MR_VersatileChangeMeshPointsAction_MutableStaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a VersatileChangeMeshPointsAction.
| auto meshlib::VersatileChangeMeshPointsAction::upcast_to_history_action | ( | ) | const -> &meshlib::HistoryAction |
Upcasts to the base class MR::HistoryAction.
Calls MR_VersatileChangeMeshPointsAction_UpcastTo_MR_HistoryAction().
| auto meshlib::VersatileChangeMeshPointsAction::upcast_to_history_action_mut | ( | ) | -> &mut meshlib::HistoryAction |
Upcasts to the base class MR::HistoryAction.
Calls MR_VersatileChangeMeshPointsAction_MutableUpcastTo_MR_HistoryAction().