front_processing/src/Trakers_gestures/TuioFunctions.pde
author bastiena
Fri, 14 Sep 2012 11:06:53 +0200
changeset 93 417d4b573bc8
parent 51 03ea3d7ddbe1
permissions -rw-r--r--
Front IDILL: credits updated with a second footer part

/*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();
        textSize(32);
        text("Gesture non détectée.", width/2, height/2);
    }
    else
    {
        showMask();
        showGestureMessage((TuioString)tuioStringList.elementAt(0));
    }
}