|
6
|
1 |
/* |
|
|
2 |
* Projet : TraKERS |
|
|
3 |
* Module : MIDDLEWARE |
|
|
4 |
* Sous-Module : Tracking/Events |
|
|
5 |
* Classe : UserPositionEventArgs |
|
|
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 : L'utilisateur se déplace dans la zone de détection. |
|
|
11 |
*/ |
|
|
12 |
|
|
|
13 |
using System; |
|
|
14 |
using System.Collections.Generic; |
|
|
15 |
using System.Linq; |
|
|
16 |
using System.Text; |
|
|
17 |
using Trakers.Communication; |
|
|
18 |
|
|
|
19 |
namespace Trakers.Tracking.Events |
|
|
20 |
{ |
|
|
21 |
public class UserPositionEventArgs : EventArgs |
|
|
22 |
{ |
|
|
23 |
//Fenêtre de debug. |
|
|
24 |
public readonly Debug.DebugWindow debug; |
|
|
25 |
//Serveur TUIO. |
|
|
26 |
public readonly Server server; |
|
|
27 |
//Distance à Kinect. |
|
|
28 |
public readonly float distance; |
|
|
29 |
|
|
|
30 |
/* |
|
|
31 |
* Constructeur : Il prend l'affichage de debug, le serveur TUIO et la distance à Kinect. |
|
|
32 |
*/ |
|
|
33 |
public UserPositionEventArgs(Debug.DebugWindow _debug, Server _server, float _distance) |
|
|
34 |
{ |
|
|
35 |
debug = _debug; |
|
|
36 |
server = _server; |
|
|
37 |
distance = _distance; |
|
|
38 |
} |
|
|
39 |
} |
|
|
40 |
} |