Astra SDK  v2.1.3
Public 成员函数 | 所有成员列表
com.orbbec.astra.Body类 参考

Public 成员函数

 Body (int id, int status, int bodyFeatureFlag, Vector3D centerOfMass, Joint[] joints, HandPoseInfo handPoseInfo)
 
int getId ()
 
BodyStatus getStatus ()
 
Vector3D getCenterOfMass ()
 
Joint[] getJoints ()
 
HandPoseInfo getHandPoseInfo ()
 
boolean areJointsEnabled ()
 
boolean areHandPosesEnabled ()
 
String toString ()
 

详细描述

The type Body.

成员函数说明

◆ areHandPosesEnabled()

boolean com.orbbec.astra.Body.areHandPosesEnabled ( )
inline

Are hand poses enabled, see BodyTrackingFeatureFlags. Can change this with setBodyFeatures or setDefaultBodyFeatures.

返回
the boolean

◆ areJointsEnabled()

boolean com.orbbec.astra.Body.areJointsEnabled ( )
inline

Are joints enabled, see BodyTrackingFeatureFlags. Can change this with setBodyFeatures or setDefaultBodyFeatures.

返回
the boolean

◆ getCenterOfMass()

Vector3D com.orbbec.astra.Body.getCenterOfMass ( )
inline

Get center of mass of body in world space.

返回
the center of mass

◆ getHandPoseInfo()

HandPoseInfo com.orbbec.astra.Body.getHandPoseInfo ( )
inline

Gets hand pose info.

返回
the hand pose info

◆ getId()

int com.orbbec.astra.Body.getId ( )
inline

Get id of the body. The id is a random number from 1 to 255.

返回
the id

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