front_processing/src/Trakers_gestures/TuioFunctions.pde
author bastiena
Mon, 23 Jul 2012 10:52:41 +0200
changeset 51 03ea3d7ddbe1
parent 10 925b7ee746e3
permissions -rw-r--r--
TraKERS : bigger text for trakers gestures in front processing help goes automatically at the bottom of the page for web gestures

/*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));
    }
}