Developer Guide4——Trackables
来源:互联网 发布:mac安装jdk后如何配置 编辑:程序博客网 时间:2024/06/16 02:50
Trackables
Definition
"Trackables" is the base class that represents all real world objects that the Vuforia SDK can track in six degrees-of-freedom.Each trackable, when detected and tracked, has a name, an ID, status, and pose information. Image Targets, Multi Targets and Markers are all trackables that inherit properties from this base class. Trackables are updated as each frame is processed, and the results are passed to the app in the State object. For a more complete understanding of the data flow between the app and the SDK please take a look at theVuforia Architecture.
Parameters参数
- Trackable type
- Trackable类
Enum that defines the type of the trackable:
- UNKNOWN_TYPE - A trackable of unknown type.
- IMAGE_TARGET - A trackable of ImageTarget type.
- MULTI_TARGET - A trackable of MultiTarget type.
- MARKER - A trackable of Marker type.
- Trackable name / identifier
Max string length: 25 characters
- Trackable status
- UNKNOWN - The state of the trackable is unknown. This is usually returned before tracker initialization.
- UNDEFINED - The state of the trackable is not defined.
- NOT_FOUND - The trackable was not found, E.x. The referenced trackable is not part of the database.
- DETECTED - The trackable was detected in this frame.
- TRACKED - The trackable was tracked in this frame.
- Trackable pose
Coordinate Systems
![](https://ar.qualcomm.at/resources/images/coordinateSystems.jpg)
The Vuforia SDK uses right handed coordinate systems. Each Image Target and Frame Marker defines a local coordinate system with (0,0,0) in the centre (middle) of the target. +X goes to the right, +Y goes up and +Z points out of the trackable (into the direction from which it can be seen).The origin of the local coordinate system of a Multi Target is defined by its components. Image Target parts are transformed relative to this origin. The reported pose of the Multi Target is the position of this origin, independent from which individual part is tracked within the Multi Target. This feature allows a geometric object (Ex. a box) to be tracked continuously with the same coordinates, even if other Image Target parts are visible in the camera view.
Relevant API's
QCAR::Trackable::
TYPE getType ()
bool isOfType (TYPE type)
STATUS getStatus ()
int getId ()
char* getName ()
Matrix34F& getPose ()
TYPE { UNKNOWN_TYPE, IMAGE_TARGET, MULTI_TARGET, MARKER }
STATUS { UNKNOWN, UNDEFINED, NOT_FOUND, DETECTED, TRACKED }
QCAR::State::
Frame getFrame ()
int getNumTrackables ()
Trackable* getTrackable (int idx)
int getNumActiveTrackables ()
Trackable* getActiveTrackable (int idx)
More information can be found in the API Reference at the Trackable Class andState Class.
Inherited Classes
- Image Targets
- Multi Targets
- Frame Markers
- Developer Guide4——Trackables
- Developer Guides——AsyncTask
- Developer Guides——AsyncTask
- WebIDE—Firefox Developer Tools
- 开始使用—Android Wear Developer Preview
- developer
- 双重惊喜——Windows Phone Developer Tools初体验
- 双重惊喜——Windows Phone Developer Tools初体验
- 三菱PLC——Dx Developer的使用
- 其它中文乱码——1、PL/SQL Developer乱码
- Chrome插件推荐——Web Developer Chrome插件
- The X New Developer’s Guide——前言
- The X New Developer’s Guide——第一章 基本概念
- Layout布局——翻译自developer.android.com
- Android Developer Document——APP开发深度好文
- oracle帮助文档——Advanced Application Developer's Guide
- 蜗牛—SQL Developer 警告--无法安装某些模块
- As a developer —— dotNet —— 01VB是什么
- 开发高并发web应用的注意事项
- TCP/IP组播编程
- FileStream读写文件【StreamWriter 和 StreamReader】
- android截屏简单引用
- java获取web工程下文件的路径,如配置文件properties
- Developer Guide4——Trackables
- 你不知道的5个Web技术秘密!
- Java源码阅读的真实体会
- VC 获取IP host name
- 实现动态统计报表,表头是调用数据库中的字段显示出来的。
- JS 导出txt文本
- HDU1312 dfs
- 关于Intel无线网卡在ubuntu 12.04下无法连网的问题
- 选举算法