Astra SDK  v2.1.3
函数

函数

ASTRA_API_EX astra_status_t astra_reader_get_bodystream (astra_reader_t reader, astra_bodystream_t *bodyStream)
 
ASTRA_API_EX astra_status_t astra_bodystream_is_available (astra_bodystream_t bodyStream, bool *isAvailable)
 
ASTRA_API_EX astra_status_t astra_bodystream_get_body_features (astra_bodystream_t bodyStream, astra_body_id_t id, astra_body_tracking_feature_flags_t *features)
 
ASTRA_API_EX astra_status_t astra_bodystream_set_body_features (astra_bodystream_t bodyStream, astra_body_id_t id, astra_body_tracking_feature_flags_t features)
 
ASTRA_API_EX astra_status_t astra_bodystream_get_default_body_features (astra_bodystream_t bodyStream, astra_body_tracking_feature_flags_t *features)
 
ASTRA_API_EX astra_status_t astra_bodystream_set_default_body_features (astra_bodystream_t bodyStream, astra_body_tracking_feature_flags_t features)
 
ASTRA_API_EX astra_status_t astra_bodystream_get_skeleton_profile (astra_bodystream_t bodyStream, astra_skeleton_profile_t *skeletonProfile)
 
ASTRA_API_EX astra_status_t astra_bodystream_set_skeleton_profile (astra_bodystream_t bodyStream, astra_skeleton_profile_t skeletonProfile)
 
ASTRA_API_EX astra_status_t astra_bodystream_get_skeleton_optimization (astra_bodystream_t bodyStream, astra_skeleton_optimization_t *skeletonOptimization)
 
ASTRA_API_EX astra_status_t astra_bodystream_set_skeleton_optimization (astra_bodystream_t bodyStream, astra_skeleton_optimization_t skeletonOptimization)
 
ASTRA_API_EX astra_status_t astra_bodystream_get_body_orientation (astra_bodystream_t bodyStream, astra_body_orientation_t *bodyOrientation)
 
ASTRA_API_EX astra_status_t astra_bodystream_set_body_orientation (astra_bodystream_t bodyStream, astra_body_orientation_t bodyOrientation)
 
ASTRA_API_EX astra_status_t astra_frame_get_bodyframe (astra_reader_frame_t readerFrame, astra_bodyframe_t *bodyFrame)
 
ASTRA_API_EX astra_status_t astra_bodyframe_get_frameindex (astra_bodyframe_t bodyFrame, astra_frame_index_t *index)
 
ASTRA_API_EX astra_status_t astra_bodyframe_info (astra_bodyframe_t bodyFrame, astra_bodyframe_info_t *info)
 
ASTRA_API_EX astra_status_t astra_bodyframe_bodymask (astra_bodyframe_t bodyFrame, astra_bodymask_t *bodyMask)
 
ASTRA_API_EX astra_status_t astra_bodyframe_bodymask_ptr (astra_bodyframe_t bodyFrame, uint32_t *width, uint32_t *height, void **dataPtr)
 
ASTRA_API_EX astra_status_t astra_bodyframe_copy_bodymask_data (astra_bodyframe_t bodyFrame, void *data)
 
ASTRA_API_EX astra_status_t astra_bodyframe_floor_info (astra_bodyframe_t bodyFrame, astra_floor_info_t *floorInfo)
 
ASTRA_API_EX astra_status_t astra_bodyframe_floormask_ptr (astra_bodyframe_t bodyFrame, uint32_t *width, uint32_t *height, void **dataPtr)
 
ASTRA_API_EX astra_status_t astra_bodyframe_copy_floormask_data (astra_bodyframe_t bodyFrame, void *data)
 
ASTRA_API_EX astra_status_t astra_bodyframe_floor_info_ptr (astra_bodyframe_t bodyFrame, astra_floor_info_t **floorInfo)
 
ASTRA_API_EX astra_status_t astra_bodyframe_body_list (astra_bodyframe_t bodyFrame, astra_body_list_t *bodyList)
 
ASTRA_API_EX astra_status_t astra_bodyframe_rotate (astra_bodyframe_t bodyFrame, int angle)
 
ASTRA_API_EX astra_status_t orbbec_body_tracking_set_license (const char *licenseString)
 

详细描述

函数说明

◆ astra_bodyframe_rotate()

ASTRA_API_EX astra_status_t astra_bodyframe_rotate ( astra_bodyframe_t  bodyFrame,
int  angle 
)

rotate body frame

参数
anglethe angle of clockwise direction rotation, can be 90 and 270.

◆ orbbec_body_tracking_set_license()

ASTRA_API_EX astra_status_t orbbec_body_tracking_set_license ( const char *  licenseString)

set license to use sdk after trial.

参数
licenseStringthe licenseString.
返回
ASTRA_STATUS_SUCCESS if license is valid.
示例
BodyReaderPoll\main.c, ColorizedBodyViewer-SFML\main.cpp, MaskedColorViewer-SFML\main.cpp , 以及 SimpleBodyViewer-SFML\main.cpp.