equal
deleted
inserted
replaced
1 /* |
|
2 * This file is part of the TraKERS\Middleware package. |
|
3 * |
|
4 * (c) IRI <http://www.iri.centrepompidou.fr/> |
|
5 * |
|
6 * For the full copyright and license information, please view the LICENSE_MIDDLEWARE |
|
7 * file that was distributed with this source code. |
|
8 */ |
|
9 |
|
10 /* |
|
11 * Projet : TraKERS |
|
12 * Module : MIDDLEWARE |
|
13 * Sous-Module : Tracking/Events |
|
14 * Classe : RightHandTrackedEventArgs |
|
15 * |
|
16 * Auteur : alexandre.bastien@iri.centrepompidou.fr |
|
17 * |
|
18 * Fonctionnalités : Cette classe contient les membres utilisés lors de l'appel au listener correspondant |
|
19 * à l'événement : La main droite est entrée dans le champ. |
|
20 */ |
|
21 |
|
22 using System; |
|
23 using System.Collections.Generic; |
|
24 using System.Linq; |
|
25 using System.Text; |
|
26 using Microsoft.Kinect; |
|
27 using Trakers.Communication; |
|
28 |
|
29 namespace Trakers.Tracking.Events |
|
30 { |
|
31 public class RightHandTrackedEventArgs : EventArgs |
|
32 { |
|
33 public readonly Joint handJoint; |
|
34 public readonly float position; |
|
35 public readonly Debug.DebugWindow debug; |
|
36 public readonly Server server; |
|
37 |
|
38 /* |
|
39 * Constructeur : Il prend le noeud de la main, sa position, l'affichage de debug et le serveur TUIO. |
|
40 */ |
|
41 public RightHandTrackedEventArgs(Joint joint, float pos, Debug.DebugWindow _debug, Server _server) |
|
42 { |
|
43 handJoint = joint; |
|
44 position = pos; |
|
45 debug = _debug; |
|
46 server = _server; |
|
47 } |
|
48 } |
|
49 } |
|