| author | bastiena |
| Thu, 02 Aug 2012 11:47:16 +0200 | |
| changeset 73 | a7bcf5ad4d25 |
| parent 51 | 03ea3d7ddbe1 |
| permissions | -rw-r--r-- |
| 10 | 1 |
/*FONCTION DE RECEPTION DES MESSAGES OSC |
| 8 | 2 |
Entrée : |
3 |
Sortie : Appel aux différentes fonctions de dessin si un message est reçu*/ |
|
4 |
void tuioInput() |
|
5 |
{
|
|
6 |
fill(255); |
|
7 |
Vector tuioStringList = tuioClient.getTuioStrings(); |
|
8 |
if(tuioStringList == null || tuioStringList.size() <= 0) |
|
9 |
{
|
|
10 |
showMask(); |
|
| 51 | 11 |
textSize(32); |
12 |
text("Gesture non détectée.", width/2, height/2);
|
|
| 8 | 13 |
} |
14 |
else |
|
15 |
{
|
|
16 |
showMask(); |
|
17 |
showGestureMessage((TuioString)tuioStringList.elementAt(0)); |
|
18 |
} |
|
19 |
} |