![]() |
RMVL
1.2.0
Robotic Manipulation and Vision Library
|
神符靶心特征 更多...
#include <rmvl/feature/rune_target.h>
Public 类型 | |
| using | ptr = std::shared_ptr< RuneTarget > |
| using | const_ptr = std::shared_ptr< const RuneTarget > |
Public 类型 继承自 rm::feature | |
| using | ptr = std::shared_ptr< feature > |
| using | const_ptr = std::shared_ptr< const feature > |
Public 成员函数 | |
| RuneTarget ()=default | |
| RuneTarget (const RuneTarget &)=delete | |
| RuneTarget (RuneTarget &&)=delete | |
| RuneTarget (std::vector< cv::Point > &, cv::RotatedRect &, bool is_active) | |
| RuneTarget (cv::Point center, bool is_active) | |
| float | getRatio () const |
| 获取长宽比 更多... | |
| bool | isActive () const |
| 是否激活标志位 更多... | |
| float | getRadius () const |
| 获取半径 更多... | |
| const std::vector< cv::Point > & | getContours () |
| 获取轮廓 更多... | |
Public 成员函数 继承自 rm::feature | |
| virtual | ~feature ()=0 |
| float | getArea () const |
| 获取特征面积 更多... | |
| const cv::Point2f & | getCenter () const |
| 获取特征中心点 更多... | |
| float | getWidth () const |
| 获取特征宽度 更多... | |
| float | getHeight () const |
| 获取特征高度 更多... | |
| float | getAngle () const |
| 获取特征角度 更多... | |
| const auto & | getCorners () const |
| 获取特征角点 更多... | |
| const RMStatus & | getType () const |
| 获取状态信息 更多... | |
静态 Public 成员函数 | |
| static std::shared_ptr< RuneTarget > | make_feature (std::vector< cv::Point > &contour, bool is_active) |
| 使用轮廓和层次结构构造 RuneTarget 的构造接口 更多... | |
| static std::shared_ptr< RuneTarget > | make_feature (cv::Point center, bool is_active) |
| 使用特征中心点构造 RuneTarget 的构造接口 更多... | |
| static RuneTarget::ptr | cast (feature::ptr p_feature) |
| 动态类型转换 更多... | |
| static RuneTarget::const_ptr | cast (feature::const_ptr p_feature) |
| 动态类型转换 更多... | |
额外继承的成员函数 | |
Protected 属性 继承自 rm::feature | |
| float | _width {} |
| 特征宽度 更多... | |
| float | _height {} |
| 特征高度 更多... | |
| float | _angle {} |
| 特征角度 更多... | |
| cv::Point2f | _center |
| 特征中心点 更多... | |
| std::vector< cv::Point2f > | _corners |
| 特征角点 更多... | |
| rm::RMStatus | _type |
| 状态类型信息 更多... | |
神符靶心特征
| using rm::RuneTarget::const_ptr = std::shared_ptr<const RuneTarget> |
| using rm::RuneTarget::ptr = std::shared_ptr<RuneTarget> |
|
default |
|
delete |
|
delete |
| rm::RuneTarget::RuneTarget | ( | std::vector< cv::Point > & | , |
| cv::RotatedRect & | , | ||
| bool | is_active | ||
| ) |
| rm::RuneTarget::RuneTarget | ( | cv::Point | center, |
| bool | is_active | ||
| ) |
|
inlinestatic |
|
inlinestatic |
|
inline |
获取轮廓
|
inline |
获取半径
|
inline |
获取长宽比
|
inline |
是否激活标志位
|
static |
使用特征中心点构造 RuneTarget 的构造接口
| [in] | center | 特征中心点 |
| [in] | is_active | 是否激活? |
|
static |
使用轮廓和层次结构构造 RuneTarget 的构造接口
| [in] | contour | 轮廓 |
| [in] | is_active | 是否激活? |
1.9.1