AuboStudio SDK  0.6.3
arcs::aubo_scope::FeatureModel类 参考

\chinese 特征模型 提供从当前机器人安装中获取特征的方法。 \endchinese \english FeatureModel Provides methods that returns features from the current robot installation. 更多...

#include <feature_model.h>

Public 成员函数

 FeatureModel (FeatureModel &f)
 FeatureModel (FeatureModel &&f)
 ~FeatureModel ()
std::vector< FeaturePtr > getAll ()
template<typename T>
std::vector< FeaturePtr > getGeomFeture ()
 \chinese 获取当前安装中的几何特征
FeaturePtr getByName (const std::string &name)
 \chinese 根据名称获取特征
FeaturePtr getBaseFeature ()
 \chinese 获取当前安装的基础特征
FeaturePtr getToolFeature ()
 \chinese 获取当前安装的工具特征
std::vector< FeaturePtr > getFeatures (std::function< bool(FeaturePtr)> filter)
 \chinese 根据过滤器获取特征列表

Private 成员函数

 FeatureModel ()

Private 属性

void * d_ { nullptr }

友元

class DataSwitch

详细描述

\chinese 特征模型 提供从当前机器人安装中获取特征的方法。 \endchinese \english FeatureModel Provides methods that returns features from the current robot installation.

\endenglish

在文件 feature_model.h24 行定义.

构造及析构函数说明

◆ FeatureModel() [1/3]

arcs::aubo_scope::FeatureModel::FeatureModel ( FeatureModel & f)

引用了 FeatureModel().

被这些函数引用 FeatureModel() , 以及 FeatureModel().

函数调用图:
这是这个函数的调用关系图:

◆ FeatureModel() [2/3]

arcs::aubo_scope::FeatureModel::FeatureModel ( FeatureModel && f)

引用了 FeatureModel().

函数调用图:

◆ ~FeatureModel()

arcs::aubo_scope::FeatureModel::~FeatureModel ( )

◆ FeatureModel() [3/3]

arcs::aubo_scope::FeatureModel::FeatureModel ( )
private

成员函数说明

◆ getAll()

std::vector< FeaturePtr > arcs::aubo_scope::FeatureModel::getAll ( )

◆ getBaseFeature()

FeaturePtr arcs::aubo_scope::FeatureModel::getBaseFeature ( )

\chinese 获取当前安装的基础特征

返回
基础特征。 \endchinese \english Returns the base feature of the current installation.
the base feature of the current installation. \endenglish

◆ getByName()

FeaturePtr arcs::aubo_scope::FeatureModel::getByName ( const std::string & name)

\chinese 根据名称获取特征

参数
name特征名称。
返回
对应名称的特征。 \endchinese \english Returns a feature by name.
参数
namethe name of the feature.
返回
the feature with the given name. \endenglish

◆ getFeatures()

std::vector< FeaturePtr > arcs::aubo_scope::FeatureModel::getFeatures ( std::function< bool(FeaturePtr)> filter)

\chinese 根据过滤器获取特征列表

参数
filter过滤条件。
返回
满足过滤条件的特征集合。 \endchinese \english Returns features matching the given filter.
参数
filterthe filter to apply.
返回
a collection of features that match the filter. \endenglish

◆ getGeomFeture()

template<typename T>
std::vector< FeaturePtr > arcs::aubo_scope::FeatureModel::getGeomFeture ( )

\chinese 获取当前安装中的几何特征

返回
几何特征集合。 \endchinese \english Returns the geometric features of the current installation.
the geometric features of the current installation. \endenglish

◆ getToolFeature()

FeaturePtr arcs::aubo_scope::FeatureModel::getToolFeature ( )

\chinese 获取当前安装的工具特征

返回
工具特征。 \endchinese \english Returns the tool feature of the current installation.
the tool feature of the current installation. \endenglish

◆ DataSwitch

friend class DataSwitch
friend

在文件 feature_model.h104 行定义.

引用了 DataSwitch.

被这些函数引用 DataSwitch.

类成员变量说明

◆ d_

void* arcs::aubo_scope::FeatureModel::d_ { nullptr }
private

在文件 feature_model.h106 行定义.


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