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

A message sent upon connecting to the server, indicating the server and protocol version. More...

Inheritance diagram for ThreeGear.WelcomeMessage:
ThreeGear.HandTrackingMessage

Public Member Functions

 WelcomeMessage (string serverVersion, string protocolVersion, List< OpenCVCamera > cameras)
 Constructs a WelcomeMessage; should generally not be called by users of the API. More...
 
override string Serialize ()
 

Static Public Member Functions

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

string ServerVersion [get]
 Current version of the hand tracking server. More...
 
string ProtocolVersion [get]
 Current version of the protocol (should change infrequently), could be used to detect incompatibility. More...
 
List< OpenCVCameraCameras [get]
 The depth cameras used for the tracking. 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

A message sent upon connecting to the server, indicating the server and protocol version.

Constructor & Destructor Documentation

ThreeGear.WelcomeMessage.WelcomeMessage ( string  serverVersion,
string  protocolVersion,
List< OpenCVCamera cameras 
)
inline

Constructs a WelcomeMessage; should generally not be called by users of the API.

Property Documentation

List<OpenCVCamera> ThreeGear.WelcomeMessage.Cameras
get

The depth cameras used for the tracking.

string ThreeGear.WelcomeMessage.ProtocolVersion
get

Current version of the protocol (should change infrequently), could be used to detect incompatibility.

string ThreeGear.WelcomeMessage.ServerVersion
get

Current version of the hand tracking server.


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