Astra SDK  v2.1.3
Public 成员函数 | 静态 Public 属性 | 所有成员列表

A Body Data Stream 更多...

#include <Body.hpp>

类 astra::BodyStream 继承关系图:
astra::DataStream

Public 成员函数

 BodyStream (astra_streamconnection_t connection)
 default constructs 更多...
 
BodyTrackingFeatureFlags get_body_features (astra_body_id_t id)
 get body features 更多...
 
void set_body_features (astra_body_id_t id, BodyTrackingFeatureFlags features)
 set body features 更多...
 
BodyTrackingFeatureFlags get_default_body_features ()
 get default body features 更多...
 
void set_default_body_features (BodyTrackingFeatureFlags features)
 set default body features 更多...
 
SkeletonProfile get_skeleton_profile ()
 get skeleton profile 更多...
 
void set_skeleton_profile (SkeletonProfile skeletonProfile)
 set skeleton profile 更多...
 
SkeletonOptimization get_skeleton_optimization ()
 get skeleton optimization 更多...
 
void set_skeleton_optimization (SkeletonOptimization skeletonOptimization)
 set skeleton optimization 更多...
 
BodyOrientation get_body_orientation ()
 get body orientation, default value is BodyOrientation::TOP. 更多...
 
void set_body_orientation (BodyOrientation bodyOrientation)
 set body orientation 更多...
 
- Public 成员函数 继承自 astra::DataStream
 DataStream (astra_streamconnection_t connection)
 default constructs 更多...
 
bool is_available ()
 start stream
更多...
 
void start ()
 start stream

 
void stop ()
 stop stream

 

静态 Public 属性

static const astra_stream_type_t id = ASTRA_STREAM_BODY
 

详细描述

A Body Data Stream

A Body Data Stream.

示例
MaskedColorViewer-SFML\main.cpp , 以及 SimpleBodyViewer-SFML\main.cpp.

构造及析构函数说明

◆ BodyStream()

astra::BodyStream::BodyStream ( astra_streamconnection_t  connection)
inlineexplicit

default constructs

参数
[in]connection

成员函数说明

◆ get_body_features()

BodyTrackingFeatureFlags astra::BodyStream::get_body_features ( astra_body_id_t  id)
inline

get body features

返回
body features

◆ get_body_orientation()

BodyOrientation astra::BodyStream::get_body_orientation ( )
inline

get body orientation, default value is BodyOrientation::TOP.

返回
body orientation

◆ get_default_body_features()

BodyTrackingFeatureFlags astra::BodyStream::get_default_body_features ( )
inline

get default body features

返回
default body features

◆ get_skeleton_optimization()

SkeletonOptimization astra::BodyStream::get_skeleton_optimization ( )
inline

get skeleton optimization

返回
skeleton optimization

◆ get_skeleton_profile()

SkeletonProfile astra::BodyStream::get_skeleton_profile ( )
inline

get skeleton profile

返回
skeleton profile

◆ set_body_features()

void astra::BodyStream::set_body_features ( astra_body_id_t  id,
BodyTrackingFeatureFlags  features 
)
inline

set body features

参数
[in]bodyfeatures

◆ set_body_orientation()

void astra::BodyStream::set_body_orientation ( BodyOrientation  bodyOrientation)
inline

set body orientation

参数
[in]bodyorientation

◆ set_default_body_features()

void astra::BodyStream::set_default_body_features ( BodyTrackingFeatureFlags  features)
inline

set default body features

参数
[in]defaultbody features

◆ set_skeleton_optimization()

void astra::BodyStream::set_skeleton_optimization ( SkeletonOptimization  skeletonOptimization)
inline

set skeleton optimization

参数
[in]skeletonoptimization

◆ set_skeleton_profile()

void astra::BodyStream::set_skeleton_profile ( SkeletonProfile  skeletonProfile)
inline

set skeleton profile

参数
[in]skeletonprofile

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