MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::PartialChangeMeshDataAction Struct Reference
Inheritance diagram for meshlib::PartialChangeMeshDataAction:

Public Member Functions

auto name () const -> meshlib::Owned< meshlib::std_string >
void action (type: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

Static Public Member Functions

static auto construct_from_another (_other:meshlib::Owned< meshlib::PartialChangeMeshDataAction >) -> meshlib::Owned< meshlib::PartialChangeMeshDataAction >
static auto construct (name:&str, obj:&meshlib::std_shared_ptr_MR_ObjectMesh, newData:&mut meshlib::ObjectMeshData) -> meshlib::Owned< meshlib::PartialChangeMeshDataAction >
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)

Detailed Description

Undo action for ObjectMeshData change partially Generated from class MR::PartialChangeMeshDataAction. Base classes: Direct: (non-virtual) MR::HistoryAction

Generated from class MR::PartialChangeMeshDataAction. Heap-allocated instances are held in Owned<PartialChangeMeshDataAction>.

Member Function Documentation

◆ action()

void meshlib::PartialChangeMeshDataAction::action ( type:meshlib::HistoryAction_Type )

Generated from method MR::PartialChangeMeshDataAction::action.

Calls MR_PartialChangeMeshDataAction_action().

◆ construct()

auto meshlib::PartialChangeMeshDataAction::construct ( name:& str,
obj:&meshlib::std_shared_ptr_MR_ObjectMesh ,
newData:&mut meshlib::ObjectMeshData  ) -> meshlib::Owned< meshlib::PartialChangeMeshDataAction >
static

use this constructor to remember object's data and immediately set new data Generated from constructor MR::PartialChangeMeshDataAction::PartialChangeMeshDataAction.

Calls MR_PartialChangeMeshDataAction_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. The reference to the parameter newData might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::PartialChangeMeshDataAction::construct_from_another ( _other:meshlib::Owned< meshlib::PartialChangeMeshDataAction > ) -> meshlib::Owned< meshlib::PartialChangeMeshDataAction >
static

Generated from constructor MR::PartialChangeMeshDataAction::PartialChangeMeshDataAction.

Calls MR_PartialChangeMeshDataAction_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ dynamic_downcast_from_history_action()

auto meshlib::PartialChangeMeshDataAction::dynamic_downcast_from_history_action ( object:&meshlib::HistoryAction ) -> Option<&Self >
static

Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a PartialChangeMeshDataAction.

Calls MR_PartialChangeMeshDataAction_DynamicDowncastFrom_MR_HistoryAction().

◆ dynamic_downcast_from_history_action_mut()

auto meshlib::PartialChangeMeshDataAction::dynamic_downcast_from_history_action_mut ( object:&mut meshlib::HistoryAction ) -> Option<&mut Self >
static

Dynamic downcast from the base class MR::HistoryAction. Returns None if the object isn't actually a PartialChangeMeshDataAction.

Calls MR_PartialChangeMeshDataAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heap_bytes()

auto meshlib::PartialChangeMeshDataAction::heap_bytes ( ) const -> usize

Generated from method MR::PartialChangeMeshDataAction::heapBytes.

Calls MR_PartialChangeMeshDataAction_heapBytes().

◆ name()

auto meshlib::PartialChangeMeshDataAction::name ( ) const -> meshlib::Owned< meshlib::std_string >

Generated from method MR::PartialChangeMeshDataAction::name.

Calls MR_PartialChangeMeshDataAction_name().

◆ static_downcast_from_history_action()

auto meshlib::PartialChangeMeshDataAction::static_downcast_from_history_action ( object:&meshlib::HistoryAction ) -> &Self
static

Static downcast from the base class MR::HistoryAction.

Calls MR_PartialChangeMeshDataAction_StaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a PartialChangeMeshDataAction.

Note
This function is unsafe.

◆ static_downcast_from_history_action_mut()

auto meshlib::PartialChangeMeshDataAction::static_downcast_from_history_action_mut ( object:&mut meshlib::HistoryAction ) -> &mut Self
static

Static downcast from the base class MR::HistoryAction.

Calls MR_PartialChangeMeshDataAction_MutableStaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a PartialChangeMeshDataAction.

Note
This function is unsafe.

◆ upcast_to_history_action()

auto meshlib::PartialChangeMeshDataAction::upcast_to_history_action ( ) const -> &meshlib::HistoryAction

Upcasts to the base class MR::HistoryAction.

Calls MR_PartialChangeMeshDataAction_UpcastTo_MR_HistoryAction().

◆ upcast_to_history_action_mut()

auto meshlib::PartialChangeMeshDataAction::upcast_to_history_action_mut ( ) -> &mut meshlib::HistoryAction

Upcasts to the base class MR::HistoryAction.

Calls MR_PartialChangeMeshDataAction_MutableUpcastTo_MR_HistoryAction().


The documentation for this struct was generated from the following file: