front_processing/src/Trakers_gestures/TuioFunctions.pde
author bastiena
Fri, 27 Apr 2012 14:38:23 +0200
changeset 30 45c889eae324
parent 10 925b7ee746e3
child 51 03ea3d7ddbe1
permissions -rw-r--r--
Front IDILL : Creation of the main parts of the 2 first Modes : MOSAIC : prezoom/preunzoom, zoom/unzoom. local mosaic developpement aborted and postponed for the late developpement parts. VIDEO : moving to a neighbour snapshot.

/*FONCTION DE RECEPTION DES MESSAGES OSC
Entrée :
Sortie : Appel aux différentes fonctions de dessin si un message est reçu*/
void tuioInput()
{
    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));
    }
}