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

Body tracking information produced by a BodyTracker instance 更多...

#include <Body.hpp>

Public 成员函数

 BodyFrame (const BodyFrame &)=delete
 BodyFrame is not copy constructible
 
BodyFrameoperator= (const BodyFrame &)=delete
 BodyFrame is not copy assignable
 
 BodyFrame (BodyFrame &&other)
 BodyFrame is move constructible
 
BodyFrameoperator= (BodyFrame &&other)
 BodyFrame is move assignable
 
bool is_valid () const
 get body frame is vaild 更多...
 
astra_frame_index_t frame_index () const
 get body frame index 更多...
 
const BodyFrameInfoinfo () const
 get body frame info 更多...
 
const BodyMaskbody_mask () const
 Gets the BodyMask of the current tracked bodies
 
const FloorInfofloor_info () const
 
BodyList bodies () const
 Gets the current tracked bodies associated with the current BodyFrame 更多...
 
void rotate (int angle)
 

静态 Public 成员函数

template<typename TFrameType >
static TFrameType acquire (astra_reader_frame_t readerFrame, astra_stream_subtype_t subtype)
 

详细描述

Body tracking information produced by a BodyTracker instance

示例
SimpleBodyViewer-SFML\main.cpp.

成员函数说明

◆ bodies()

BodyList astra::BodyFrame::bodies ( ) const
inline

Gets the current tracked bodies associated with the current BodyFrame

参见
Body for body specific information
示例
SimpleBodyViewer-SFML\main.cpp.

◆ frame_index()

astra_frame_index_t astra::BodyFrame::frame_index ( ) const
inline

get body frame index

返回
body frame index
示例
SimpleBodyViewer-SFML\main.cpp.

◆ info()

const BodyFrameInfo& astra::BodyFrame::info ( ) const
inline

get body frame info

返回
body frame info
示例
SimpleBodyViewer-SFML\main.cpp.

◆ is_valid()

bool astra::BodyFrame::is_valid ( ) const
inline

get body frame is vaild

返回
body frame is vaild
示例
SimpleBodyViewer-SFML\main.cpp.

◆ rotate()

void astra::BodyFrame::rotate ( int  angle)
inline

rotate body frame

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

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