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

Public Member Functions

auto name () const -> meshlib::Owned< meshlib::std_string >
void action (_1:meshlib::HistoryAction_Type)
auto selection () const -> &meshlib::VertBitSet
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::ChangePointPointSelectionAction) -> meshlib::Owned< meshlib::ChangePointPointSelectionAction >
static auto construct_2 (name:&str, objPoints:&meshlib::std_shared_ptr_MR_ObjectPoints) -> meshlib::Owned< meshlib::ChangePointPointSelectionAction >
static auto construct_3 (name:&str, objPoints:&meshlib::std_shared_ptr_MR_ObjectPoints, newSelection:&mut meshlib::VertBitSet) -> meshlib::Owned< meshlib::ChangePointPointSelectionAction >
static void set_object_dirty (_1:&meshlib::std_shared_ptr_MR_ObjectPoints)
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)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

Undo action for ObjectPoints point selection Generated from class MR::ChangePointPointSelectionAction. Base classes: Direct: (non-virtual) MR::HistoryAction

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

Member Function Documentation

◆ action()

void meshlib::ChangePointPointSelectionAction::action ( _1:meshlib::HistoryAction_Type )

Generated from method MR::ChangePointPointSelectionAction::action.

Calls MR_ChangePointPointSelectionAction_action().

◆ construct_2()

auto meshlib::ChangePointPointSelectionAction::construct_2 ( name:& str,
objPoints:&meshlib::std_shared_ptr_MR_ObjectPoints  ) -> meshlib::Owned< meshlib::ChangePointPointSelectionAction >
static

use this constructor to remember object's vertex selection before making any changes in it Generated from constructor MR::ChangePointPointSelectionAction::ChangePointPointSelectionAction.

Calls MR_ChangePointPointSelectionAction_Construct_2(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter objPoints might be preserved in the constructed object.

◆ construct_3()

auto meshlib::ChangePointPointSelectionAction::construct_3 ( name:& str,
objPoints:&meshlib::std_shared_ptr_MR_ObjectPoints ,
newSelection:&mut meshlib::VertBitSet  ) -> meshlib::Owned< meshlib::ChangePointPointSelectionAction >
static

use this constructor to remember object's vertex selection and immediately set new selection Generated from constructor MR::ChangePointPointSelectionAction::ChangePointPointSelectionAction.

Calls MR_ChangePointPointSelectionAction_Construct_3(). The reference to the parameter name might be preserved in the constructed object. The reference to the parameter objPoints might be preserved in the constructed object. The reference to the parameter newSelection might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ChangePointPointSelectionAction::ChangePointPointSelectionAction.

Calls MR_ChangePointPointSelectionAction_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::ChangePointPointSelectionAction::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 ChangePointPointSelectionAction.

Calls MR_ChangePointPointSelectionAction_DynamicDowncastFrom_MR_HistoryAction().

◆ dynamic_downcast_from_history_action_mut()

auto meshlib::ChangePointPointSelectionAction::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 ChangePointPointSelectionAction.

Calls MR_ChangePointPointSelectionAction_MutableDynamicDowncastFrom_MR_HistoryAction().

◆ heap_bytes()

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

Generated from method MR::ChangePointPointSelectionAction::heapBytes.

Calls MR_ChangePointPointSelectionAction_heapBytes().

◆ name()

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

Generated from method MR::ChangePointPointSelectionAction::name.

Calls MR_ChangePointPointSelectionAction_name().

◆ selection()

auto meshlib::ChangePointPointSelectionAction::selection ( ) const -> &meshlib::VertBitSet

Generated from method MR::ChangePointPointSelectionAction::selection.

Calls MR_ChangePointPointSelectionAction_selection().

◆ set_object_dirty()

void meshlib::ChangePointPointSelectionAction::set_object_dirty ( _1:&meshlib::std_shared_ptr_MR_ObjectPoints )
static

empty because set dirty is inside selectPoints Generated from method MR::ChangePointPointSelectionAction::setObjectDirty.

Calls MR_ChangePointPointSelectionAction_setObjectDirty().

◆ static_downcast_from_history_action()

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

Static downcast from the base class MR::HistoryAction.

Calls MR_ChangePointPointSelectionAction_StaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a ChangePointPointSelectionAction.

Note
This function is unsafe.

◆ static_downcast_from_history_action_mut()

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

Static downcast from the base class MR::HistoryAction.

Calls MR_ChangePointPointSelectionAction_MutableStaticDowncastFrom_MR_HistoryAction(). Undefined behavior if the object isn't actually a ChangePointPointSelectionAction.

Note
This function is unsafe.

◆ upcast_to_history_action()

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

Upcasts to the base class MR::HistoryAction.

Calls MR_ChangePointPointSelectionAction_UpcastTo_MR_HistoryAction().

◆ upcast_to_history_action_mut()

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

Upcasts to the base class MR::HistoryAction.

Calls MR_ChangePointPointSelectionAction_MutableUpcastTo_MR_HistoryAction().


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