Commit ed7b4732 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Changed thesis headers using chapters.

parent 65767536
...@@ -93,49 +93,40 @@ To design such a mechanism properly, the following questions are relevant: ...@@ -93,49 +93,40 @@ To design such a mechanism properly, the following questions are relevant:
detection could swallow up more processing resources than desired. detection could swallow up more processing resources than desired.
\end{itemize} \end{itemize}
\chapter{Related work} \chapter{Preliminary inquiries}
% TODO \section{The TUIO protocol}
\chapter{Methods}
% TODO
\subsection{Preliminary inquiries}
\subsubsection{The TUIO protocol}
The TUIO protocol \cite{TUIO} defines a way to geometrically describe The TUIO protocol \cite{TUIO} defines a way to geometrically describe
tangible objects, such as fingers or fiducials on a multi-touch table. tangible objects, such as fingers or fiducials on a multi-touch table. The
The table used for this thesis uses the protocol in its driver. Object table used for this thesis uses the protocol in its driver. Object
information is sent to the TUIO UDP port (3333 by default). information is sent to the TUIO UDP port (3333 by default).
For efficiency reasons, the TUIO protocol is encoded using the Open For efficiency reasons, the TUIO protocol is encoded using the Open Sound
Sound Control Control (OSC)\footnote{\url{http://opensoundcontrol.org/specification}}
(OSC)\footnote{\url{http://opensoundcontrol.org/specification}} format. format. An OSC server/client implementation is available for Python:
An OSC server/client implementation is available for Python:
pyOSC\footnote{\url{https://trac.v2.nl/wiki/pyOSC}}. pyOSC\footnote{\url{https://trac.v2.nl/wiki/pyOSC}}.
A Python implementation of the TUIO protocol also exists: A Python implementation of the TUIO protocol also exists:
pyTUIO\footnote{\url{http://code.google.com/p/pytuio/}}. However, the pyTUIO\footnote{\url{http://code.google.com/p/pytuio/}}. However, the
execution of an example script yields an error regarding Python's execution of an example script yields an error regarding Python's built-in
built-in \texttt{socket} library. Therefore, the reference \texttt{socket} library. Therefore, the reference implementation uses the
implementation uses the pyOSC package to receive TUIO messages. pyOSC package to receive TUIO messages.
The two most important message types of the protocol are ALIVE and SET The two most important message types of the protocol are ALIVE and SET
messages. An ALIVE message contains the list of session id's that are messages. An ALIVE message contains the list of session id's that are
currently ``active'', which in the case of multi-touch a table means currently ``active'', which in the case of multi-touch a table means that
that they are touching the screen. A SET message provides geometric they are touching the screen. A SET message provides geometric information
information of a session id, such as position, velocity and acceleration. of a session id, such as position, velocity and acceleration.
Each session id represents an object. The only type of objects on the Each session id represents an object. The only type of objects on the
multi-touch table are what the TUIO protocol calls ``2DCur'', which is multi-touch table are what the TUIO protocol calls ``2DCur'', which is a
a (x, y) position on the screen. (x, y) position on the screen.
ALIVE messages can be used to determine when an object touches and ALIVE messages can be used to determine when an object touches and releases
releases the screen. For example, if a session id was in the previous the screen. For example, if a session id was in the previous message but
message but not in the current, The object it represents has been not in the current, The object it represents has been lifted from the
lifted from the screen. screen.
SET provide information about movement. In the case of simple (x, y) SET provide information about movement. In the case of simple (x, y)
positions, only the movement vector of the position itself can be positions, only the movement vector of the position itself can be
...@@ -143,35 +134,36 @@ To design such a mechanism properly, the following questions are relevant: ...@@ -143,35 +134,36 @@ To design such a mechanism properly, the following questions are relevant:
rotational position is also included. rotational position is also included.
TUIO coordinates range from $0.0$ to $1.0$, with $(0.0, 0.0)$ being the TUIO coordinates range from $0.0$ to $1.0$, with $(0.0, 0.0)$ being the
left top corner of the screen and $(1.0, 1.0)$ the right bottom corner. left top corner of the screen and $(1.0, 1.0)$ the right bottom corner. To
To focus events within a window, a translation to window coordinates is focus events within a window, a translation to window coordinates is
required in the client application, as stated by the online required in the client application, as stated by the online specification
specification \cite{TUIO_specification}: \cite{TUIO_specification}:
\begin{quote} \begin{quote}
In order to compute the X and Y coordinates for the 2D profiles a In order to compute the X and Y coordinates for the 2D profiles a TUIO
TUIO tracker implementation needs to divide these values by the tracker implementation needs to divide these values by the actual
actual sensor dimension, while a TUIO client implementation sensor dimension, while a TUIO client implementation consequently can
consequently can scale these values back to the actual screen scale these values back to the actual screen dimension.
dimension.
\end{quote} \end{quote}
\subsection{Experiments} % TODO
\chapter{Experiments}
% testimplementatie met taps, rotatie en pinch. Hieruit bleek: % testimplementatie met taps, rotatie en pinch. Hieruit bleek:
% - dat er verschillende manieren zijn om bijv. "rotatie" te % - dat er verschillende manieren zijn om bijv. "rotatie" te
% detecteren, (en dat daartussen onderscheid moet kunnen worden % detecteren, (en dat daartussen onderscheid moet kunnen worden
% gemaakt) % gemaakt)
% - dat detectie van verschillende soorten gestures moet kunnen % - dat detectie van verschillende soorten gestures moet kunnen
% worden gescheiden, anders wordt het een chaos. % worden gescheiden, anders wordt het een chaos.
% - Er zijn een aantal keuzes gemaakt bij het ontwerpen van de gestures, % - Er zijn een aantal keuzes gemaakt bij het ontwerpen van de gestures,
% bijv dat rotatie ALLE vingers gebruikt voor het centroid. Het is % bijv dat rotatie ALLE vingers gebruikt voor het centroid. Het is
% wellicht in een ander programma nodig om maar 1 hand te gebruiken, en % wellicht in een ander programma nodig om maar 1 hand te gebruiken, en
% dus punten dicht bij elkaar te kiezen (oplossing: windows). % dus punten dicht bij elkaar te kiezen (oplossing: windows).
% Tekenprogramma dat huidige points + centroid tekent en waarmee % Tekenprogramma dat huidige points + centroid tekent en waarmee
% transformatie kan worden getest Link naar appendix "supported events" % transformatie kan worden getest Link naar appendix "supported events"
% Proof of Concept: VTK interactor % Proof of Concept: VTK interactor
% ------- % -------
% Results % Results
...@@ -219,19 +211,17 @@ To design such a mechanism properly, the following questions are relevant: ...@@ -219,19 +211,17 @@ To design such a mechanism properly, the following questions are relevant:
% TODO: Network protocol (ZeroMQ) % TODO: Network protocol (ZeroMQ)
\chapter{References}
\bibliography{report}{} \bibliography{report}{}
\bibliographystyle{plain} \bibliographystyle{plain}
\appendix \appendix
\section{Schema of mechanism structure} \chapter{Schema of mechanism structure}
\label{app:schema} \label{app:schema}
% TODO: "dia" % TODO: "dia"
\section{Supported events in reference implementation} \chapter{Supported events in reference implementation}
\label{app:supported-events} \label{app:supported-events}
% TODO % TODO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment