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

Hand Point struct 更多...

#include <Hand.hpp>

类 astra::HandPoint 继承关系图:
astra_handpoint_t

Public 成员函数

 HandPoint (std::int32_t trackingId, astra_handstatus_t status, Vector2i depthPosition, Vector3f worldPosition, Vector3f worldDeltaPosition)
 constructs 更多...
 
 HandPoint (const astra_handpoint_t &handPoint)
 constructs 更多...
 
HandPointoperator= (const ::astra_handpoint_t &handPoint)
 copy constructs 更多...
 
 operator::astra_handpoint_t * ()
 get astra_handpoint_t point 更多...
 
 operator const ::astra_handpoint_t * () const
 get astra_handpoint_t point 更多...
 
std::int32_t tracking_id () const
 get tracking id 更多...
 
astra_handstatus_t status () const
 get status 更多...
 
Vector2i depth_position () const
 get depth position 更多...
 
Vector3f world_position () const
 get world position 更多...
 
Vector3f world_delta_position () const
 get world delta position 更多...
 

额外继承的成员函数

- Public 属性 继承自 astra_handpoint_t
int32_t trackingId
 
astra_handstatus_t status
 
astra_vector2i_t depthPosition
 
astra_vector3f_t worldPosition
 
astra_vector3f_t worldDeltaPosition
 

详细描述

Hand Point struct

Hand Point struct

示例
SimpleHandViewer-SFML\main.cpp.

构造及析构函数说明

◆ HandPoint() [1/2]

astra::HandPoint::HandPoint ( std::int32_t  trackingId,
astra_handstatus_t  status,
Vector2i  depthPosition,
Vector3f  worldPosition,
Vector3f  worldDeltaPosition 
)
inline

constructs

参数
[in]trackingid
[in]status
[in]depthposition
[in]worldposition
[in]worlddelta position

◆ HandPoint() [2/2]

astra::HandPoint::HandPoint ( const astra_handpoint_t handPoint)
inline

constructs

参数
[in]handPoint

成员函数说明

◆ depth_position()

Vector2i astra::HandPoint::depth_position ( ) const
inline

get depth position

返回
depth position
示例
SimpleHandViewer-SFML\main.cpp.

◆ operator const ::astra_handpoint_t *()

astra::HandPoint::operator const ::astra_handpoint_t * ( ) const
inline

get astra_handpoint_t point

返回
const astra_handpoint_t point

◆ operator::astra_handpoint_t *()

astra::HandPoint::operator::astra_handpoint_t * ( )
inline

get astra_handpoint_t point

返回
astra_handpoint_t point

◆ operator=()

HandPoint& astra::HandPoint::operator= ( const ::astra_handpoint_t handPoint)
inline

copy constructs

参数
[in]handPoint

◆ status()

astra_handstatus_t astra::HandPoint::status ( ) const
inline

get status

返回
status
示例
SimpleHandViewer-SFML\main.cpp.

◆ tracking_id()

std::int32_t astra::HandPoint::tracking_id ( ) const
inline

get tracking id

返回
tracking_id
示例
SimpleHandViewer-SFML\main.cpp.

◆ world_delta_position()

Vector3f astra::HandPoint::world_delta_position ( ) const
inline

get world delta position

返回
world delta position

◆ world_position()

Vector3f astra::HandPoint::world_position ( ) const
inline

get world position

返回
world position
示例
SimpleHandViewer-SFML\main.cpp.

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