middleware/src/MainModule/Events/RightHandTrackedEventArgs.cs
changeset 15 4b78f179e7ce
child 27 6c08d4d7219e
equal deleted inserted replaced
14:10d5199d9874 15:4b78f179e7ce
       
     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 : MainModule/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.Debug;
       
    28 using Trakers.Communication;
       
    29 
       
    30 namespace Trakers.MainModule.Events
       
    31 {
       
    32     public class RightHandTrackedEventArgs : MainEventArgs
       
    33     {
       
    34         public readonly Joint handJoint;
       
    35         public readonly float position;
       
    36 
       
    37         /*
       
    38         * Constructeur : Il prend le noeud de la main et sa position.
       
    39         */
       
    40         public RightHandTrackedEventArgs(Server _server, DebugWindow _debug, Joint joint, float pos) : base(_server, _debug)
       
    41         {
       
    42             handJoint = joint;
       
    43             position = pos;
       
    44         }
       
    45     }
       
    46 }