middleware/src/Tracking/Events/LeftHandQuitEventArgs.cs
author bastiena
Tue, 20 Mar 2012 18:00:55 +0100
changeset 7 8a21bec5d45f
parent 3 92f19af39024
child 8 e4e7db2435f8
permissions -rw-r--r--
Middleware : No proximity bugs anymore. The skeleton disappear if a tracked person is too close or not tracked anymore. Processing : There are no laggs anymore when an user stay too long moving his hands and drawing tons of ellipses. (TUIO Cursors are not taken by their vectors, only the last position of the cursors are caught to be drawn).

/*
 * Projet : TraKERS
 * Module : MIDDLEWARE
 * Sous-Module : Tracking/Events
 * Classe : LeftHandQuitEventArgs
 * 
 * Auteur : alexandre.bastien@iri.centrepompidou.fr
 * 
 * Fonctionnalités : Cette classe contient les membres utilisés lors de l'appel au listener correspondant
 * à l'événement : La main gauche est sortie du champ.
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Kinect;
using Trakers.Communication;

namespace Trakers.Tracking.Events
{
    public class LeftHandQuitEventArgs : EventArgs
    {
        public readonly Joint handJoint;
        public readonly float position;
        public readonly Debug.DebugWindow debug;
        public readonly Server server;

        /*
        * Constructeur : Il prend le noeud de la main, sa position, l'affichage de debug et le serveur TUIO.
        */
        public LeftHandQuitEventArgs(Joint joint, float pos, Debug.DebugWindow _debug, Server _server)
        {
            handJoint = joint;
            position = pos;
            debug = _debug;
            server = _server;
        }
    }
}