equal
deleted
inserted
replaced
|
1 /* |
|
2 * Projet : KINECT PROJECTS |
|
3 * Module : MIDDLEWARE |
|
4 * Sous-Module : Tracking |
|
5 * Classe : RightHandTrackedEventArgs |
|
6 * |
|
7 * Auteur : alexandre.bastien@iri.centrepompidou.fr |
|
8 * |
|
9 * Fonctionnalités : Cette classe contient les membres utilisés lors de l'appel au listener correspondant |
|
10 * à l'événement : La main droite est entrée dans le champ. |
|
11 */ |
|
12 |
|
13 using System; |
|
14 using System.Collections.Generic; |
|
15 using System.Linq; |
|
16 using System.Text; |
|
17 using Microsoft.Kinect; |
|
18 using Trakers.Communication; |
|
19 |
|
20 namespace Trakers.Tracking.Events |
|
21 { |
|
22 public class RightHandTrackedEventArgs : EventArgs |
|
23 { |
|
24 public readonly Joint handJoint; |
|
25 public readonly float position; |
|
26 public readonly Debug.DebugWindow debug; |
|
27 public readonly Server server; |
|
28 |
|
29 /* |
|
30 * Constructeur : Il prend le noeud de la main, sa position, l'affichage de debug et le serveur TUIO. |
|
31 */ |
|
32 public RightHandTrackedEventArgs(Joint joint, float pos, Debug.DebugWindow _debug, Server _server) |
|
33 { |
|
34 handJoint = joint; |
|
35 position = pos; |
|
36 debug = _debug; |
|
37 server = _server; |
|
38 } |
|
39 } |
|
40 } |