![]() |
RMVL
2.2.0
Robotic Manipulation and Vision Library
|
定位点特征,具有以下状态类型 更多...
#include <rmvl/feature/anchor.h>
Public 类型 | |
using | ptr = std::shared_ptr<Anchor> |
using | const_ptr = std::shared_ptr<const Anchor> |
![]() | |
using | ptr = std::shared_ptr<feature> |
using | const_ptr = std::shared_ptr<const feature> |
Public 成员函数 | |
Anchor ()=default | |
feature::ptr | clone () override |
从另一个特征进行构造 | |
![]() | |
float | area () const |
获取特征面积 | |
const cv::Point2f & | center () const |
获取特征中心点 | |
float | width () const |
获取特征宽度 | |
float | height () const |
获取特征高度 | |
float | angle () const |
获取特征角度 | |
const std::vector< cv::Point2f > & | corners () const |
获取特征角点 | |
const StateInfo & | state () const |
获取特征状态 | |
StateInfo & | state () |
获取特征状态 | |
静态 Public 成员函数 | |
static ptr | make_feature (const std::vector< cv::Point > &contour, AnchorType type) |
Anchor 构造接口 | |
static std::string_view | to_string (AnchorType type) |
获取定位点类型的字符串表示 | |
static AnchorType | from_string (std::string_view type) |
从字符串类型获取定位点类型 | |
额外继承的成员函数 | |
![]() | |
float | _width {} |
特征宽度 | |
float | _height {} |
特征高度 | |
float | _angle {} |
特征角度 | |
cv::Point2f | _center |
特征中心点 | |
std::vector< cv::Point2f > | _corners |
特征角点 | |
rm::StateInfo | _state |
特征状态 | |
定位点特征,具有以下状态类型
using rm::Anchor::const_ptr = std::shared_ptr<const Anchor> |
using rm::Anchor::ptr = std::shared_ptr<Anchor> |
|
default |
|
inlineoverridevirtual |
|
static |
从字符串类型获取定位点类型
|
static |
|
static |
获取定位点类型的字符串表示