TUIO_GUIObj

/*

Author: 

2004, 2005, 2006

Till Bovermann 

Neuroinformatics Group 

Faculty of Technology 

Bielefeld University

Germany

*/



A graphical representation of a tui-object.


e = ();

e.w = SCWindow.new.front;

e.view = SCCompositeView(e.w, Rect(5,5,390,370));

e.view.background = Color(0.81960784313725, 0.82352941176471, 0.87450980392157, 0.6);

e.view.resize_(5);



e.tuio = TUIObject("_ixya", 10);

e.tuio.pos = [0.5, 0.5, nil, 1, nil, nil];


e.gObj = TUIO_GUIObj(e.view, e.tuio);

e.gObj.obj.focus(true)


e.gObj.oExtent = 20



e.gObj.inspect


i = 0;

e.tuio.pos = [i, sin(i*pi), nil, 5*i, nil, nil]; i = (i+0.02)%1; e.w.refresh; i

e.tuio.pos = [0.5, 1, nil, i, nil, nil]; i = (i+0.2)%2pi; e.w.refresh; i


e.tuio.pos = [0.5, 0.6, nil, 3, nil, nil];e.w.refresh


e.tuio.pos