Nuitrack  1.11.2
3D Skeleton Tracking Middleware
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
Hand.h
1 #ifndef NUITRACK_HAND_H_
2 #define NUITRACK_HAND_H_
3 
4 #include <memory>
5 
6 namespace tdv
7 {
8 namespace nuitrack
9 {
14 struct Hand
15 {
19  typedef std::shared_ptr<Hand> Ptr;
20 
21 
22  float x;
23  float y;
24  bool click;
25  int pressure;
26 
27  float xReal;
28  float yReal;
29  float zReal;
30 };
31 
36 struct UserHands
37 {
38  /*
39  * The ID of a user to which this hand information applies.
40  */
41  int userId;
42 
45 };
46 
47 } /* namespace nuitrack */
48 } /* namespace tdv */
49 
50 #endif /* NUITRACK_HAND_H_ */
Stores information about the user's hand.
Definition: Hand.h:14
float y
The normalized projective y coordinate of the hand (in range [0, 1]).
Definition: Hand.h:23
float xReal
The x coordinate of the hand in the world system.
Definition: Hand.h:27
Stores information about the user's hand.
Definition: Hand.h:36
bool click
True if the hand makes a click, false otherwise.
Definition: Hand.h:24
float zReal
The z coordinate of the hand in the world system.
Definition: Hand.h:29
float yReal
The y coordinate of the hand in the world system.
Definition: Hand.h:28
float x
The normalized projective x coordinate of the hand (in range [0, 1]).
Definition: Hand.h:22
Hand::Ptr leftHand
User left hand data.
Definition: Hand.h:43
std::shared_ptr< Hand > Ptr
Definition: Hand.h:19
int pressure
Rate of hand clenching.
Definition: Hand.h:25
Hand::Ptr rightHand
User right hand data.
Definition: Hand.h:44