3Gear Systems SDK  v0.9.34
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | Properties | List of all members
ThreeGear.PointMessage Class Reference

Messages related to pointing with the index finger. More...

Inheritance diagram for ThreeGear.PointMessage:
ThreeGear.HandTrackingMessage

Public Member Functions

 PointMessage (Hand hand, Vector3D pointStart, Vector3D pointEnd, float confidence)
 
Vector3D Direction ()
 This is the direction of the index finger. More...
 
override string Serialize ()
 

Static Public Member Functions

static PointMessage Parse (TokenStream tokenStream, MessageType type)
 
- Static Public Member Functions inherited from ThreeGear.HandTrackingMessage
static HandTrackingMessage Deserialize (string data)
 Factory method that parses a HandTrackingMessage from a string More...
 

Properties

Vector3D Start [get]
 This is our estimate of the start (first knuckle) of the index finger. More...
 
Vector3D End [get]
 This is our estimate of the end (tip) of the index finger. More...
 
Hand Hand [get]
 Which hand this message applies to. More...
 
float Confidence [get]
 This is our confidence (between 0 and 1) that the user is actually pointing at something. More...
 
- Properties inherited from ThreeGear.HandTrackingMessage
MessageType Type [get]
 The message type is useful for distinguishing between similar messages, e.g., between PRESSED and RELEASED, which are both PinchMessages. More...
 

Additional Inherited Members

- Public Attributes inherited from ThreeGear.HandTrackingMessage
const int N_JOINTS = 17
 The number of joints in the hand model, currently 17 (arm, wrist, and 3 each for the 5 fingers). More...
 
const int N_FINGERS = 5
 The number of fingers is five (thumb, index, middle, ring, pinky). More...
 
const int N_HANDS = 2
 Two hands (left and right). More...
 
const int N_POSES = 7
 The number of specifically recognized poses. More...
 
const int N_FINGER_DOFS_PER_HAND = 16
 The number of finger degrees of freedom per hand. More...
 
- Protected Member Functions inherited from ThreeGear.HandTrackingMessage
 HandTrackingMessage (MessageType type)
 
 HandTrackingMessage (HandTrackingMessage msg)
 
string ToString (double x)
 
string ToString (int i)
 
string ToString (Vector3D v)
 
string ToString (Quaternion q)
 

Detailed Description

Messages related to pointing with the index finger.

Member Function Documentation

Vector3D ThreeGear.PointMessage.Direction ( )
inline

This is the direction of the index finger.

Property Documentation

float ThreeGear.PointMessage.Confidence
get

This is our confidence (between 0 and 1) that the user is actually pointing at something.

Vector3D ThreeGear.PointMessage.End
get

This is our estimate of the end (tip) of the index finger.

Hand ThreeGear.PointMessage.Hand
get

Which hand this message applies to.

Pointing messages can only refer to a single hand (LEFT or RIGHT, never BOTH).

Vector3D ThreeGear.PointMessage.Start
get

This is our estimate of the start (first knuckle) of the index finger.


The documentation for this class was generated from the following file: