Astra SDK  v2.1.3
Public 属性 | 所有成员列表
_astra_body结构体 参考

Struct containing body tracking information 更多...

#include <body_types.h>

类 _astra_body 继承关系图:
astra::Body

Public 属性

astra_body_tracking_feature_flags_t features
 Bitmask of features that are enabled. 更多...
 
astra_vector3f_t centerOfMass
 Single point describing the center of mass of a body. 更多...
 
astra_joint_t joints [ASTRA_MAX_JOINTS]
 Array of tracked joints
 
astra_handpose_info_t handPoses
 Hand poses
 
astra_body_id_t id
 Persistent Id 更多...
 
astra_body_status_t status
 Tracking status 更多...
 

详细描述

Struct containing body tracking information

示例
BodyReaderPoll\main.c.

类成员变量说明

◆ centerOfMass

astra_vector3f_t _astra_body::centerOfMass

Single point describing the center of mass of a body.

Always present, even if ASTRA_BODY_TRACKING_JOINTS is not enabled. Useful for doing general calculations about the relative positions of bodies.

示例
BodyReaderPoll\main.c.

◆ features

astra_body_tracking_feature_flags_t _astra_body::features

Bitmask of features that are enabled.

参见
astra_body_tracking_feature_flags_v for possible values
示例
BodyReaderPoll\main.c.

◆ id

astra_body_id_t _astra_body::id

Persistent Id

An astra_body_id_t value can be used to match a particular active astra_body_t across frames. Additionally, astra_body_id_t values match the values in a astra_bodymask_t

示例
BodyReaderPoll\main.c.

◆ status

astra_body_status_t _astra_body::status

Tracking status

参见
astra_body_status_v for possible values
示例
BodyReaderPoll\main.c.

该结构体的文档由以下文件生成: