AuboStudio SDK 0.6.3

Public 类型 | Public 成员函数 | Private 成员函数 | Private 属性 | 友元 | 所有成员列表
arcs::aubo_scope::DirectionNode类 参考

`#include <direction_node.h>`

类 arcs::aubo_scope::DirectionNode 继承关系图:
[图例]
arcs::aubo_scope::DirectionNode 的协作图:
[图例]

## Public 类型
enum | ParameterType : int { SHARED_MOTION , TOOL_MOTION }
enum | Axis : int { X_PLUS , X_MINUS , Y_PLUS , Y_MINUS , Z_PLUS , Z_MINUS }
enum | DirectionSelectionType : int { EXPRESSION , AXIS }
enum | FeatureSelectionType : int { UNRESOLVED_FEATURE , SHARED , FEATURE }

## Public 成员函数
| DirectionNode (DirectionNode &f)
| DirectionNode (DirectionNode &&f)
virtual | ~DirectionNode ()
ParameterType | getType ()
void | setType (ParameterType type)
Axis | getAxis ()
void | setAxis (Axis axis)
FeaturePtr | getFeature ()
void | setFeature (FeaturePtr feature)
DirectionSelectionType | getDirectionSelectionType ()
void | setDirectionSelectionType (DirectionSelectionType selection)
ExpressionPtr | getExpression ()
void | setExpression (ExpressionPtr expression)
FeatureSelectionType | getFeatureSelectionType ()
void | setFeatureSelectionType (FeatureSelectionType selection)
double | getToolSpeed ()
void | setToolSpeed (double speed)
double | getToolAcceleration ()
void | setToolAcceleration (double acc)
Public 成员函数 继承自 arcs::aubo_scope::ProgramNode
| ProgramNode (ProgramNode &f)
| ProgramNode (ProgramNode &&f)
virtual | ~ProgramNode ()
ProgramNodeContributionPtr | getProgramNodeContribution ()
| 不推荐用户调用 ProgramNodeContribution::generateScript 使用 ScriptWritter::writeChildren 更多...

## Private 成员函数
| DirectionNode ()

## Private 属性
void * | d_ { nullptr }

## 友元
class | DataSwitch

## 额外继承的成员函数
Protected 成员函数 继承自 arcs::aubo_scope::ProgramNode
| ProgramNode ()

## 详细描述

在文件 direction_node.h 第 12 行定义.

## 成员枚举类型说明

## ◆ Axis

enum arcs::aubo_scope::DirectionNode::Axis : int

枚举值
X_PLUS | Move in the positive X direction relative to the feature.
X_MINUS | Move in the negative X direction relative to the feature.
Y_PLUS | Move in the positive Y direction relative to the feature.
Y_MINUS | Move in the negative Y direction relative to the feature.
Z_PLUS | Move in the positive Z direction relative to the feature.
Z_MINUS | Move in the negative Z direction relative to the feature.

在文件 direction_node.h 第 33 行定义.

## ◆ DirectionSelectionType

enum arcs::aubo_scope::DirectionNode::DirectionSelectionType : int

枚举值
EXPRESSION | A direction vector is specified using an Expression. The Selection instance can be cast to {}
AXIS | Direction is specified using an Axis. The Selection instance can be cast to DirectionAxis

在文件 direction_node.h 第 66 行定义.

## ◆ FeatureSelectionType

enum arcs::aubo_scope::DirectionNode::FeatureSelectionType : int

枚举值
UNRESOLVED_FEATURE | The selected feature is no longer available (e.g. because the user has removed the feature in the Installation or the needed Installation is not currently loaded)
SHARED | Feature is inherited from the MoveL or MoveP parent.
FEATURE | Feature is selected. The Selection instance can be cast to DirectionNodeFeature

在文件 direction_node.h 第 82 行定义.

## ◆ ParameterType

enum arcs::aubo_scope::DirectionNode::ParameterType : int

枚举值
SHARED_MOTION | The tool motion parameters are inherited from the MoveL or MoveP parent.
TOOL_MOTION | The tool motion parameters are selected. The Selection instance can be cast to {}.

在文件 direction_node.h 第 15 行定义.

## 构造及析构函数说明

## ◆ DirectionNode() [1/3]

arcs::aubo_scope::DirectionNode::DirectionNode | ( | DirectionNode & | f | ) |

## ◆ DirectionNode() [2/3]

arcs::aubo_scope::DirectionNode::DirectionNode | ( | DirectionNode && | f | ) |

## ◆ ~DirectionNode()

virtual arcs::aubo_scope::DirectionNode::~DirectionNode | ( |  | ) |
| virtual

## ◆ DirectionNode() [3/3]

arcs::aubo_scope::DirectionNode::DirectionNode | ( |  | ) |
| private

## 成员函数说明

## ◆ getAxis()

Axis arcs::aubo_scope::DirectionNode::getAxis | ( |  | ) |

返回
  the Axis used to define the direction.

## ◆ getDirectionSelectionType()

DirectionSelectionType arcs::aubo_scope::DirectionNode::getDirectionSelectionType | ( |  | ) |

## ◆ getExpression()

ExpressionPtr arcs::aubo_scope::DirectionNode::getExpression | ( |  | ) |

返回
  the expression used to define the direction vector.

## ◆ getFeature()

FeaturePtr arcs::aubo_scope::DirectionNode::getFeature | ( |  | ) |

返回
  the feature selected for this Direction node.

## ◆ getFeatureSelectionType()

FeatureSelectionType arcs::aubo_scope::DirectionNode::getFeatureSelectionType | ( |  | ) |

## ◆ getToolAcceleration()

double arcs::aubo_scope::DirectionNode::getToolAcceleration | ( |  | ) |

返回
  the tool acceleration to use for the movement

## ◆ getToolSpeed()

double arcs::aubo_scope::DirectionNode::getToolSpeed | ( |  | ) |

返回
  the tool speed to be achieved.

## ◆ getType()

ParameterType arcs::aubo_scope::DirectionNode::getType | ( |  | ) |

## ◆ setAxis()

void arcs::aubo_scope::DirectionNode::setAxis | ( | Axis | axis | ) |

## ◆ setDirectionSelectionType()

void arcs::aubo_scope::DirectionNode::setDirectionSelectionType | ( | DirectionSelectionType | selection | ) |

## ◆ setExpression()

void arcs::aubo_scope::DirectionNode::setExpression | ( | ExpressionPtr | expression | ) |

## ◆ setFeature()

void arcs::aubo_scope::DirectionNode::setFeature | ( | FeaturePtr | feature | ) |

## ◆ setFeatureSelectionType()

void arcs::aubo_scope::DirectionNode::setFeatureSelectionType | ( | FeatureSelectionType | selection | ) |

## ◆ setToolAcceleration()

void arcs::aubo_scope::DirectionNode::setToolAcceleration | ( | double | acc | ) |

## ◆ setToolSpeed()

void arcs::aubo_scope::DirectionNode::setToolSpeed | ( | double | speed | ) |

## ◆ setType()

void arcs::aubo_scope::DirectionNode::setType | ( | ParameterType | type | ) |

## 友元及相关函数文档

## ◆ DataSwitch

friend class DataSwitch
| friend

在文件 direction_node.h 第 147 行定义.

## 类成员变量说明

## ◆ d_

void* arcs::aubo_scope::DirectionNode::d_ { nullptr }
| private

在文件 direction_node.h 第 149 行定义.

该类的文档由以下文件生成:

- include/aubo_caps/domain/program/nodes/builtin/direction_node.h