diff -r 8a21bec5d45f -r e4e7db2435f8 front_processing/src/Trakers_gestures/Trakers_gestures.pde --- a/front_processing/src/Trakers_gestures/Trakers_gestures.pde Tue Mar 20 18:00:55 2012 +0100 +++ b/front_processing/src/Trakers_gestures/Trakers_gestures.pde Thu Mar 22 16:00:17 2012 +0100 @@ -1,3 +1,12 @@ +/* +* This file is part of the TraKERS\Front Processing package. +* +* (c) IRI +* +* For the full copyright and license information, please view the LICENSE_FRONT +* file that was distributed with this source code. +*/ + import TUIO.*; TuioProcessing tuioClient; @@ -20,7 +29,7 @@ void draw() { fill(0); - tuioStringInput(); + tuioInput(); noStroke(); } @@ -34,25 +43,6 @@ rect(0, 80, width, height-130); } -/*FONCTION DE RECEPTION DES MESSAGES OSC -Entrée : -Sortie : Appel aux différentes fonctions de dessin si un message est reçu*/ -void tuioStringInput() -{ - fill(255); - Vector tuioStringList = tuioClient.getTuioStrings(); - if(tuioStringList == null || tuioStringList.size() <= 0) - { - showMask(); - text("Gesture non détectée.", width/2 - 20, 20); - } - else - { - showMask(); - showGestureMessage((TuioString)tuioStringList.elementAt(0)); - } -} - /*FONCTION D'AFFICHAGE DU CODE DE LA GESTURE DETECTEE Entree : Sortie : Affichage du code de la gesture*/