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.CalibrationMessage Class Reference

Message that indicates the progress of calibrating the user's hand scale. More...

Inheritance diagram for ThreeGear.CalibrationMessage:
ThreeGear.HandTrackingMessage

Public Member Functions

 CalibrationMessage (float percentComplete, float currentScale)
 
override string Serialize ()
 

Static Public Member Functions

static CalibrationMessage 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

float PercentComplete [get]
 The percentage of completion of the calibration process. Ranges from 0 (no calibration active) to 1 (calibration complete). More...
 
float CurrentScale [get]
 Contains the current hand scale; ranges between roughly 0.5 and 1.3. 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

Message that indicates the progress of calibrating the user's hand scale.

For the tracking to succeed, it is important to understand the overall size of the user's hands. In order to infer this quickly, we ask that new users spread their fingers out; calibrating then takes about a second. The CalibrationMessage provides a way for applications to provide feedback to the user about the state of the calibration process.

Property Documentation

float ThreeGear.CalibrationMessage.CurrentScale
get

Contains the current hand scale; ranges between roughly 0.5 and 1.3.

float ThreeGear.CalibrationMessage.PercentComplete
get

The percentage of completion of the calibration process. Ranges from 0 (no calibration active) to 1 (calibration complete).


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