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

Public Member Functions

auto convert_to_bool () const -> bool
auto assign_from_another (_other:&meshlib::GcodeProcessor_MoveAction) -> &mut meshlib::GcodeProcessor_MoveAction
auto valid () const -> bool
auto action () const -> &meshlib::GcodeProcessor_BaseAction_MR_Vector3f
auto action_mut () -> &mut meshlib::GcodeProcessor_BaseAction_MR_Vector3f
void set_action (value:&meshlib::GcodeProcessor_BaseAction_MR_Vector3f)
auto tool_direction () const -> &meshlib::std_vector_MR_Vector3f
auto tool_direction_mut () -> &mut meshlib::std_vector_MR_Vector3f
void set_tool_direction (value:&meshlib::std_vector_MR_Vector3f)
auto idle () const -> &bool
auto idle_mut () -> &mut bool
void set_idle (value:bool)
auto feedrate () const -> &f32
auto feedrate_mut () -> &mut f32
void set_feedrate (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::GcodeProcessor_MoveAction >
static auto construct_from (action:&meshlib::GcodeProcessor_BaseAction_MR_Vector3f, toolDirection:&meshlib::std_vector_MR_Vector3f, idle:bool, feedrate:f32) -> meshlib::Owned< meshlib::GcodeProcessor_MoveAction >
static auto construct_from_another (_other:&meshlib::GcodeProcessor_MoveAction) -> meshlib::Owned< meshlib::GcodeProcessor_MoveAction >
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

structure that stores information about the movement of the tool, specified by some string of commands Generated from class MR::GcodeProcessor::MoveAction.

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

Member Function Documentation

◆ action()

auto meshlib::GcodeProcessor_MoveAction::action ( ) const -> &meshlib::GcodeProcessor_BaseAction_MR_Vector3f

Returns a pointer to a member variable of class MR::GcodeProcessor::MoveAction named action.

Calls MR_GcodeProcessor_MoveAction_Get_action(). The reference to this object might be preserved as the return value.

◆ action_mut()

auto meshlib::GcodeProcessor_MoveAction::action_mut ( ) -> &mut meshlib::GcodeProcessor_BaseAction_MR_Vector3f

Returns a mutable pointer to a member variable of class MR::GcodeProcessor::MoveAction named action.

Calls MR_GcodeProcessor_MoveAction_GetMutable_action(). The reference to this object might be preserved as the return value.

◆ assign_from_another()

auto meshlib::GcodeProcessor_MoveAction::assign_from_another ( _other:&meshlib::GcodeProcessor_MoveAction ) -> &mut meshlib::GcodeProcessor_MoveAction

Generated from method MR::GcodeProcessor::MoveAction::operator=.

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

◆ construct_from()

auto meshlib::GcodeProcessor_MoveAction::construct_from ( action:&meshlib::GcodeProcessor_BaseAction_MR_Vector3f ,
toolDirection:&meshlib::std_vector_MR_Vector3f ,
idle:bool ,
feedrate:f32  ) -> meshlib::Owned< meshlib::GcodeProcessor_MoveAction >
static

Constructs MR::GcodeProcessor::MoveAction elementwise.

Calls MR_GcodeProcessor_MoveAction_ConstructFrom(). The reference to the parameter action might be preserved in the constructed object. The reference to the parameter toolDirection might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::GcodeProcessor::MoveAction::MoveAction.

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

◆ convert_to_bool()

auto meshlib::GcodeProcessor_MoveAction::convert_to_bool ( ) const -> bool

Generated from conversion operator MR::GcodeProcessor::MoveAction::operator bool.

Calls MR_GcodeProcessor_MoveAction_ConvertTo_bool().

◆ feedrate()

auto meshlib::GcodeProcessor_MoveAction::feedrate ( ) const -> &f32

Returns a pointer to a member variable of class MR::GcodeProcessor::MoveAction named feedrate.

Calls MR_GcodeProcessor_MoveAction_Get_feedrate(). The reference to this object might be preserved as the return value.

◆ feedrate_mut()

auto meshlib::GcodeProcessor_MoveAction::feedrate_mut ( ) -> &mut f32

Returns a mutable pointer to a member variable of class MR::GcodeProcessor::MoveAction named feedrate.

Calls MR_GcodeProcessor_MoveAction_GetMutable_feedrate(). The reference to this object might be preserved as the return value.

◆ idle()

auto meshlib::GcodeProcessor_MoveAction::idle ( ) const -> &bool

Returns a pointer to a member variable of class MR::GcodeProcessor::MoveAction named idle.

Calls MR_GcodeProcessor_MoveAction_Get_idle(). The reference to this object might be preserved as the return value.

◆ idle_mut()

auto meshlib::GcodeProcessor_MoveAction::idle_mut ( ) -> &mut bool

Returns a mutable pointer to a member variable of class MR::GcodeProcessor::MoveAction named idle.

Calls MR_GcodeProcessor_MoveAction_GetMutable_idle(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::GcodeProcessor_MoveAction::new ( ) -> meshlib::Owned< meshlib::GcodeProcessor_MoveAction >
static

Constructs an empty (default-constructed) instance.

Calls MR_GcodeProcessor_MoveAction_DefaultConstruct().

◆ set_action()

void meshlib::GcodeProcessor_MoveAction::set_action ( value:&meshlib::GcodeProcessor_BaseAction_MR_Vector3f )

Modifies a member variable of class MR::GcodeProcessor::MoveAction named action.

Calls MR_GcodeProcessor_MoveAction_Set_action(). The reference to the parameter value might be preserved in this object in element action.

◆ set_feedrate()

void meshlib::GcodeProcessor_MoveAction::set_feedrate ( value:f32 )

Modifies a member variable of class MR::GcodeProcessor::MoveAction named feedrate.

Calls MR_GcodeProcessor_MoveAction_Set_feedrate().

◆ set_idle()

void meshlib::GcodeProcessor_MoveAction::set_idle ( value:bool )

Modifies a member variable of class MR::GcodeProcessor::MoveAction named idle.

Calls MR_GcodeProcessor_MoveAction_Set_idle().

◆ set_tool_direction()

void meshlib::GcodeProcessor_MoveAction::set_tool_direction ( value:&meshlib::std_vector_MR_Vector3f )

tool direction for each point from action.path Modifies a member variable of class MR::GcodeProcessor::MoveAction named toolDirection.

Calls MR_GcodeProcessor_MoveAction_Set_toolDirection(). The reference to the parameter value might be preserved in this object in element toolDirection.

◆ tool_direction()

auto meshlib::GcodeProcessor_MoveAction::tool_direction ( ) const -> &meshlib::std_vector_MR_Vector3f

tool direction for each point from action.path Returns a pointer to a member variable of class MR::GcodeProcessor::MoveAction named toolDirection.

Calls MR_GcodeProcessor_MoveAction_Get_toolDirection(). The reference to this object might be preserved as the return value.

◆ tool_direction_mut()

auto meshlib::GcodeProcessor_MoveAction::tool_direction_mut ( ) -> &mut meshlib::std_vector_MR_Vector3f

tool direction for each point from action.path Returns a mutable pointer to a member variable of class MR::GcodeProcessor::MoveAction named toolDirection.

Calls MR_GcodeProcessor_MoveAction_GetMutable_toolDirection(). The reference to this object might be preserved as the return value.

◆ valid()

auto meshlib::GcodeProcessor_MoveAction::valid ( ) const -> bool

return true if operation was parsed without warnings Generated from method MR::GcodeProcessor::MoveAction::valid.

Calls MR_GcodeProcessor_MoveAction_valid().


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