-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 68449d2
Showing
64 changed files
with
11,315 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
TuioClient.pd_darwin | ||
|
||
TuioClient.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
GNU LESSER GENERAL PUBLIC LICENSE | ||
Version 3, 29 June 2007 | ||
|
||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | ||
Everyone is permitted to copy and distribute verbatim copies | ||
of this license document, but changing it is not allowed. | ||
|
||
|
||
This version of the GNU Lesser General Public License incorporates | ||
the terms and conditions of version 3 of the GNU General Public | ||
License, supplemented by the additional permissions listed below. | ||
|
||
0. Additional Definitions. | ||
|
||
As used herein, "this License" refers to version 3 of the GNU Lesser | ||
General Public License, and the "GNU GPL" refers to version 3 of the GNU | ||
General Public License. | ||
|
||
"The Library" refers to a covered work governed by this License, | ||
other than an Application or a Combined Work as defined below. | ||
|
||
An "Application" is any work that makes use of an interface provided | ||
by the Library, but which is not otherwise based on the Library. | ||
Defining a subclass of a class defined by the Library is deemed a mode | ||
of using an interface provided by the Library. | ||
|
||
A "Combined Work" is a work produced by combining or linking an | ||
Application with the Library. The particular version of the Library | ||
with which the Combined Work was made is also called the "Linked | ||
Version". | ||
|
||
The "Minimal Corresponding Source" for a Combined Work means the | ||
Corresponding Source for the Combined Work, excluding any source code | ||
for portions of the Combined Work that, considered in isolation, are | ||
based on the Application, and not on the Linked Version. | ||
|
||
The "Corresponding Application Code" for a Combined Work means the | ||
object code and/or source code for the Application, including any data | ||
and utility programs needed for reproducing the Combined Work from the | ||
Application, but excluding the System Libraries of the Combined Work. | ||
|
||
1. Exception to Section 3 of the GNU GPL. | ||
|
||
You may convey a covered work under sections 3 and 4 of this License | ||
without being bound by section 3 of the GNU GPL. | ||
|
||
2. Conveying Modified Versions. | ||
|
||
If you modify a copy of the Library, and, in your modifications, a | ||
facility refers to a function or data to be supplied by an Application | ||
that uses the facility (other than as an argument passed when the | ||
facility is invoked), then you may convey a copy of the modified | ||
version: | ||
|
||
a) under this License, provided that you make a good faith effort to | ||
ensure that, in the event an Application does not supply the | ||
function or data, the facility still operates, and performs | ||
whatever part of its purpose remains meaningful, or | ||
|
||
b) under the GNU GPL, with none of the additional permissions of | ||
this License applicable to that copy. | ||
|
||
3. Object Code Incorporating Material from Library Header Files. | ||
|
||
The object code form of an Application may incorporate material from | ||
a header file that is part of the Library. You may convey such object | ||
code under terms of your choice, provided that, if the incorporated | ||
material is not limited to numerical parameters, data structure | ||
layouts and accessors, or small macros, inline functions and templates | ||
(ten or fewer lines in length), you do both of the following: | ||
|
||
a) Give prominent notice with each copy of the object code that the | ||
Library is used in it and that the Library and its use are | ||
covered by this License. | ||
|
||
b) Accompany the object code with a copy of the GNU GPL and this license | ||
document. | ||
|
||
4. Combined Works. | ||
|
||
You may convey a Combined Work under terms of your choice that, | ||
taken together, effectively do not restrict modification of the | ||
portions of the Library contained in the Combined Work and reverse | ||
engineering for debugging such modifications, if you also do each of | ||
the following: | ||
|
||
a) Give prominent notice with each copy of the Combined Work that | ||
the Library is used in it and that the Library and its use are | ||
covered by this License. | ||
|
||
b) Accompany the Combined Work with a copy of the GNU GPL and this license | ||
document. | ||
|
||
c) For a Combined Work that displays copyright notices during | ||
execution, include the copyright notice for the Library among | ||
these notices, as well as a reference directing the user to the | ||
copies of the GNU GPL and this license document. | ||
|
||
d) Do one of the following: | ||
|
||
0) Convey the Minimal Corresponding Source under the terms of this | ||
License, and the Corresponding Application Code in a form | ||
suitable for, and under terms that permit, the user to | ||
recombine or relink the Application with a modified version of | ||
the Linked Version to produce a modified Combined Work, in the | ||
manner specified by section 6 of the GNU GPL for conveying | ||
Corresponding Source. | ||
|
||
1) Use a suitable shared library mechanism for linking with the | ||
Library. A suitable mechanism is one that (a) uses at run time | ||
a copy of the Library already present on the user's computer | ||
system, and (b) will operate properly with a modified version | ||
of the Library that is interface-compatible with the Linked | ||
Version. | ||
|
||
e) Provide Installation Information, but only if you would otherwise | ||
be required to provide such information under section 6 of the | ||
GNU GPL, and only to the extent that such information is | ||
necessary to install and execute a modified version of the | ||
Combined Work produced by recombining or relinking the | ||
Application with a modified version of the Linked Version. (If | ||
you use option 4d0, the Installation Information must accompany | ||
the Minimal Corresponding Source and Corresponding Application | ||
Code. If you use option 4d1, you must provide the Installation | ||
Information in the manner specified by section 6 of the GNU GPL | ||
for conveying Corresponding Source.) | ||
|
||
5. Combined Libraries. | ||
|
||
You may place library facilities that are a work based on the | ||
Library side by side in a single library together with other library | ||
facilities that are not Applications and are not covered by this | ||
License, and convey such a combined library under terms of your | ||
choice, if you do both of the following: | ||
|
||
a) Accompany the combined library with a copy of the same work based | ||
on the Library, uncombined with any other library facilities, | ||
conveyed under the terms of this License. | ||
|
||
b) Give prominent notice with the combined library that part of it | ||
is a work based on the Library, and explaining where to find the | ||
accompanying uncombined form of the same work. | ||
|
||
6. Revised Versions of the GNU Lesser General Public License. | ||
|
||
The Free Software Foundation may publish revised and/or new versions | ||
of the GNU Lesser General Public License from time to time. Such new | ||
versions will be similar in spirit to the present version, but may | ||
differ in detail to address new problems or concerns. | ||
|
||
Each version is given a distinguishing version number. If the | ||
Library as you received it specifies that a certain numbered version | ||
of the GNU Lesser General Public License "or any later version" | ||
applies to it, you have the option of following the terms and | ||
conditions either of that published version or of any later version | ||
published by the Free Software Foundation. If the Library as you | ||
received it does not specify a version number of the GNU Lesser | ||
General Public License, you may choose any version of the GNU Lesser | ||
General Public License ever published by the Free Software Foundation. | ||
|
||
If the Library as you received it specifies that a proxy can decide | ||
whether future versions of the GNU Lesser General Public License shall | ||
apply, that proxy's public statement of acceptance of any version is | ||
permanent authorization for you to choose that version for the | ||
Library. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
TUIO PureData Client 1.1.5 | ||
Copyright (c) 2005-2015 Martin Kaltenbrunner <martin@tuio.org> | ||
|
||
Demo Patch: | ||
----------- | ||
This package contains a simple patch that receives and decodes | ||
TUIO messages reveived from any TUIO enabled tracker or a TUIO simulator. | ||
|
||
The TuioClient object takes an alternative port number as | ||
an optional argument. The default TUIO port is 3333. | ||
|
||
There are two outputs, the first one is sending all relevant | ||
TUIO events such as addObject, updateObject and removeObject | ||
as well as addCursor, updateCursor and removeCursor and | ||
addBlob, updateBlob and removeBlob. | ||
|
||
The second output sends simple bangs for each fully received | ||
frame, and every second while no new messages are received, | ||
in order to indicate that the connection is still alive. | ||
|
||
The list format of the messages received at the first output | ||
are in analogy to the TUIO message format: | ||
|
||
addObject session_id symbol_id xpos ypos angle | ||
updateObject session_id symbol_id xpos ypos angle xspeed yspeed rspeed maccel raccel | ||
removeObject session_id symbol_id | ||
|
||
addCursor session_id cursor_id xpos ypos | ||
updateCursor session_id cursor_id xpos ypos xspeed yspeed maccel | ||
removeCursor session_id cursor_id | ||
|
||
addBlob session_id symbol_id xpos ypos angle | ||
updateBlob session_id symbol_id xpos ypos angle width height area xspeed yspeed rspeed maccel raccel | ||
removeBlob session_id symbol_id | ||
|
||
Each object, cursor or blob is identified with a unique session ID, that is only maintained | ||
over its lifetime. Additionally each object carries a symbol ID that corresponds | ||
to its attached fiducial marker number. The cursor ID of the cursor object is always | ||
a number in the range of all currently detected cursor blobs. | ||
|
||
Binaries: | ||
--------- | ||
This package includes binaries for Windows NT or later. | ||
and Mac OS X 10.5 or later as Universal binary. | ||
|
||
Source Code: | ||
------------ | ||
The TuioClient external comes with its full source code which can be | ||
built under Windows, Mac OS X as well as all Linux or Unix flavors. | ||
In order to compile the external for your platform, type "make" | ||
folloed by "pd_linux", "pd_darwin" or "pd_nt" depending on your platform. | ||
For convenience the Windows and Mac OS X binaries are included. | ||
|
||
License: | ||
-------- | ||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 3.0 of the License, or (at your option) any later version. | ||
|
||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
|
||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#N canvas 415 220 481 388 10; | ||
#X obj 80 71 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 | ||
-1; | ||
#X obj 23 70 print; | ||
#X obj 23 22 TuioClient; | ||
#X text 108 36 listens to port 3333 if no port number is specified | ||
; | ||
#X text 111 77 and every second to indicate an established link; | ||
#X text 20 196 removeObject session_id fiducial_id; | ||
#X text 22 258 removeCursor session_id; | ||
#X text 21 112 the left output posts a list of TUIO messages:; | ||
#X text 111 65 the right output sends bangs on frame updates; | ||
#X text 107 22 receives TUIO messages at the provided port number; | ||
#X text 20 151 addObject session_id fiducial_id xpos ypos angle; | ||
#X text 22 226 addCursor session_id xpos ypos; | ||
#X text 22 242 updateCursor session_id xpos ypos angle xspeed yspeed | ||
maccel; | ||
#X text 22 333 removeBlob session_id; | ||
#X text 22 288 addBlob session_id xpos ypos angle width height area | ||
; | ||
#X text 22 304 updateBlob session_id xpos ypos angle width height area | ||
xspeed yspeed maccel raccel; | ||
#X text 21 166 updateObject session_id fiducial_id xpos ypos angle | ||
xspeed yspeed rspeed maccel raccel; | ||
#X connect 2 0 1 0; | ||
#X connect 2 1 0 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
#N canvas 188 62 622 666 10; | ||
#X obj 100 30 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 | ||
-1; | ||
#X obj 21 13 TuioClient; | ||
#X obj 148 85 route addObject removeObject updateObject; | ||
#X obj 148 123 unpack \$1 \$2; | ||
#X obj 242 123 unpack \$1 \$2; | ||
#X text 158 46 see the help patch for the TuioClient for more info | ||
; | ||
#X obj 451 173 * 480; | ||
#X obj 498 173 * 360; | ||
#X obj 498 142 / 6.28; | ||
#X floatatom 397 204 5 0 0 0 - - -, f 5; | ||
#X floatatom 451 204 5 0 0 0 - - -, f 5; | ||
#X floatatom 498 204 5 0 0 0 - - -, f 5; | ||
#X text 447 228 y-axis; | ||
#X text 392 227 x-axis; | ||
#X text 500 228 angle; | ||
#X obj 397 173 * 640; | ||
#X obj 336 125 unpack \$1 \$2 \$3 \$4 \$5; | ||
#X text 157 13 simple example patch showing how to receive and unpack | ||
the TUIO event messages; | ||
#X obj 89 282 unpack \$1 \$2; | ||
#X obj 183 282 unpack \$1 \$2; | ||
#X obj 382 337 * 480; | ||
#X floatatom 328 368 5 0 0 0 - - -, f 5; | ||
#X floatatom 382 368 5 0 0 0 - - -, f 5; | ||
#X text 378 392 y-axis; | ||
#X text 323 391 x-axis; | ||
#X obj 328 337 * 640; | ||
#X obj 89 244 route addCursor removeCursor updateCursor; | ||
#X obj 277 284 unpack \$1 \$2 \$3 \$4; | ||
#X obj 150 154 print addObject; | ||
#X obj 251 155 print removeObject; | ||
#X obj 90 314 print addCursor; | ||
#X obj 191 316 print removeCursor; | ||
#X obj 21 450 unpack \$1 \$2; | ||
#X obj 115 450 unpack \$1 \$2; | ||
#X obj 314 560 * 480; | ||
#X floatatom 260 591 5 0 0 0 - - -, f 5; | ||
#X floatatom 314 591 5 0 0 0 - - -, f 5; | ||
#X text 310 615 y-axis; | ||
#X text 255 614 x-axis; | ||
#X obj 260 560 * 640; | ||
#X obj 209 452 unpack \$1 \$2 \$3 \$4; | ||
#X obj 21 412 route addBlob removeBlob updateBlob; | ||
#X obj 123 484 print removeBlob; | ||
#X obj 367 560 * 360; | ||
#X obj 367 529 / 6.28; | ||
#X floatatom 367 591 5 0 0 0 - - -, f 5; | ||
#X text 369 615 angle; | ||
#X obj 22 482 print addBlob; | ||
#X obj 498 562 * 480; | ||
#X floatatom 444 593 5 0 0 0 - - -, f 5; | ||
#X floatatom 498 593 5 0 0 0 - - -, f 5; | ||
#X obj 444 562 * 640; | ||
#X floatatom 551 593 5 0 0 0 - - -, f 5; | ||
#X text 439 616 width; | ||
#X text 493 617 height; | ||
#X text 553 617 area; | ||
#X connect 1 0 2 0; | ||
#X connect 1 0 26 0; | ||
#X connect 1 0 41 0; | ||
#X connect 1 1 0 0; | ||
#X connect 2 0 3 0; | ||
#X connect 2 1 4 0; | ||
#X connect 2 2 16 0; | ||
#X connect 3 1 28 0; | ||
#X connect 4 1 29 0; | ||
#X connect 6 0 10 0; | ||
#X connect 7 0 11 0; | ||
#X connect 8 0 7 0; | ||
#X connect 15 0 9 0; | ||
#X connect 16 2 15 0; | ||
#X connect 16 3 6 0; | ||
#X connect 16 4 8 0; | ||
#X connect 18 1 30 0; | ||
#X connect 19 1 31 0; | ||
#X connect 20 0 22 0; | ||
#X connect 25 0 21 0; | ||
#X connect 26 0 18 0; | ||
#X connect 26 1 19 0; | ||
#X connect 26 2 27 0; | ||
#X connect 27 2 25 0; | ||
#X connect 27 3 20 0; | ||
#X connect 32 1 47 0; | ||
#X connect 33 1 42 0; | ||
#X connect 34 0 36 0; | ||
#X connect 39 0 35 0; | ||
#X connect 40 2 39 0; | ||
#X connect 40 3 34 0; | ||
#X connect 40 3 44 0; | ||
#X connect 40 3 51 0; | ||
#X connect 40 3 48 0; | ||
#X connect 40 3 52 0; | ||
#X connect 41 0 32 0; | ||
#X connect 41 1 33 0; | ||
#X connect 41 2 40 0; | ||
#X connect 43 0 45 0; | ||
#X connect 44 0 43 0; | ||
#X connect 48 0 50 0; | ||
#X connect 51 0 49 0; |
Oops, something went wrong.