Astra SDK  v2.1.3
Public 成员函数 | 友元 | 所有成员列表

Human body 更多...

#include <Body.hpp>

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

Public 成员函数

BodyId id () const
 Gets BodyId associated with the Body 更多...
 
BodyStatus status () const
 Gets the tracking status of the body
 
const Vector3fcenter_of_mass () const
 Gets the real world center of mass estimate
 
bool joints_enabled () const
 
bool hand_poses_enabled () const
 
JointList joints () const
 Gets the current list of joints (Joint) being currently tracked
 
const HandPoseInfohand_poses () const
 

友元

class BodyFrame
 

详细描述

Human body

Provides info about a human body tracked by the BodyTracker. Joints positions are provided in both projective and world coordinates.

参见
BodyTracker for information how to generate this data
Joint for information related to individual joints
BodyStatus for possible tracking statuses of a Body
示例
SimpleBodyViewer-SFML\main.cpp.

成员函数说明

◆ id()

BodyId astra::Body::id ( ) const
inline

Gets BodyId associated with the Body

BodyId can be used to match a particular active Body across frames. Additionally, BodyId match the values in a BodyMask


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