xvsdk
3.2.0
|
A class to handle gusture. More...
#include <xv-sdk.h>
Public Types | |
using | Data = GestureData const & |
Public Member Functions | |
virtual int | registerDynamicGestureCallback (std::function< void(GestureData const &)>)=0 |
Callback to get the dynamic gesture information. More... | |
virtual bool | UnregisterDynamicGestureCallback (int callbackID)=0 |
virtual int | registerKeypointsCallback (std::function< void(std::shared_ptr< const std::vector< keypoint >>)> callback)=0 |
Callback to get the keypoints 21Dof information. More... | |
virtual bool | unregisterKeypointsCallback (int callbackId)=0 |
virtual int | registerSlamKeypointsCallback (std::function< void(std::shared_ptr< const std::vector< Pose >>)> callback)=0 |
Callback to get the keypoints 21Dof information based on slam position. More... | |
virtual bool | unregisterSlamKeypointsCallback (int callbackId)=0 |
virtual bool | start ()=0 |
start streaming. | |
virtual bool | stop ()=0 |
stop streaming. | |
virtual int | registerCallback (std::function< void(GestureData const &)>)=0 |
Register callback to receive data. | |
virtual bool | unregisterCallback (int callbackId)=0 |
Unregister callback. | |
A class to handle gusture.
|
pure virtual |
Callback to get the dynamic gesture information.
|
pure virtual |
Callback to get the keypoints 21Dof information.
The vector contains gesture keypoints 21Dof, size 21 means one hand, vector size 42 means two hands, 2D points, z isn't used by default.
|
pure virtual |
Callback to get the keypoints 21Dof information based on slam position.
The vector contains gesture keypoints 21Dof based on slam position, size 21 means one hand, vector size 42 means two hands, 3D points with depth value.