Taddeus Kroes 13 лет назад
Родитель
Сommit
e637614a2e
4 измененных файлов с 116 добавлено и 46 удалено
  1. 10 1
      docs/report.bib
  2. 34 43
      docs/report.tex
  3. 2 2
      docs/rules.mk
  4. 70 0
      docs/uva-bachelor-thesis.cls

+ 10 - 1
docs/report.bib

@@ -1,4 +1,4 @@
-@inproceedings{TUIO_KBBC05,
+@inproceedings{TUIO,
     author = {Kaltenbrunner, Martin and Bovermann, Till and Bencina, Ross and
     author = {Kaltenbrunner, Martin and Bovermann, Till and Bencina, Ross and
               Costanza, Enrico},
               Costanza, Enrico},
     title = {TUIO - A Protocol for Table Based Tangible User Interfaces},
     title = {TUIO - A Protocol for Table Based Tangible User Interfaces},
@@ -14,3 +14,12 @@
     title = {TUIO specification},
     title = {TUIO specification},
     howpublished = {\url{http://tuio.org/?specification}}
     howpublished = {\url{http://tuio.org/?specification}}
 }
 }
+
+@book{VTK,
+  author = {Will Schroeder and Ken Martin},
+  title = {The Visualization Toolkit: An Object-Oriented Approach to 3-D Graphics (2nd Edition)},
+  publisher = {Prentice Hall},
+  year = {1997},
+  isbn = {0139546944},
+  url = {http://www.amazon.com/The-Visualization-Toolkit-Object-Oriented-Approach/dp/0139546944%3FSubscriptionId%3D0JYN1NVW651KCA56C102%26tag%3Dtechkie-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0139546944}
+}

+ 34 - 43
docs/report.tex

@@ -1,41 +1,34 @@
-\documentclass[a4paper]{article}
+\documentclass[twoside,openright]{uva-bachelor-thesis}
 
 
 \usepackage[english]{babel}
 \usepackage[english]{babel}
 \usepackage[utf8]{inputenc}
 \usepackage[utf8]{inputenc}
-\usepackage[usenames,dvipsnames]{xcolor}
-\usepackage{amsmath,hyperref,graphicx,booktabs,float}
+\usepackage{hyperref,graphicx,float}
 
 
 % Link colors
 % Link colors
-\hypersetup{colorlinks=true,linkcolor=black,urlcolor=blue,citecolor=OliveGreen}
-
-\title{Bachelor thesis\\Universal multi-touch event mechanism}
-\author{\begin{tabular}{ll}
-Name:           & Taddeüs Kroes\\
-Student number: & 6054129\\
-E-mail address: & \texttt{taddeus.kroes@student.uva.nl}\\
-Address:        & Wethouder van Wijckstraat 40, 1107 BR Amsterdam\\
-Phone number:   & 06-23437025\\
-Supervisor:     & Dr. R.G. Belleman (UvA)\\
-\end{tabular}}
+%\hypersetup{colorlinks=true,linkcolor=black,urlcolor=blue,citecolor=OliveGreen}
+
+% Title Page
+\title{Universal multi-touch event mechanism}
+\author{Taddeüs Kroes}
+\supervisors{Dr. Robert G. Belleman (UvA)}
+\signedby{Dr. Robert G. Belleman (UvA)}
 
 
 \begin{document}
 \begin{document}
 
 
 % Title page
 % Title page
 \maketitle
 \maketitle
-\abstract{
+\begin{abstract}
     % TODO
     % TODO
-}
+\end{abstract}
 
 
 % Set paragraph indentation
 % Set paragraph indentation
 \parindent 0pt
 \parindent 0pt
 \parskip 1.5ex plus 0.5ex minus 0.2ex
 \parskip 1.5ex plus 0.5ex minus 0.2ex
 
 
 % Table of contant on separate page
 % Table of contant on separate page
-\pagebreak
 \tableofcontents
 \tableofcontents
-\pagebreak
 
 
-\section{Introduction}
+\chapter{Introduction}
 
 
 % Ruwe probleemstelling
 % Ruwe probleemstelling
 Multi-touch interaction is becoming increasingly common, mostly due to the wide
 Multi-touch interaction is becoming increasingly common, mostly due to the wide
@@ -48,10 +41,9 @@ these frameworks have no access to their multi-touch events.
 
 
 % Aanleiding
 % Aanleiding
 This problem was observed during an attempt to create a multi-touch
 This problem was observed during an attempt to create a multi-touch
-``interactor'' class for the Visualization Toolkit
-(VTK\footnote{\url{http://www.vtk.org/}}). Because VTK provides the application
-framework here, it is undesirable to use an entire framework like Qt
-simultaneously only for its multi-touch support.
+``interactor'' class for the Visualization Toolkit (VTK \cite{VTK}). Because
+VTK provides the application framework here, it is undesirable to use an entire
+framework like Qt simultaneously only for its multi-touch support.
 
 
 % Ruw doel
 % Ruw doel
 The goal of this project is to define a universal multi-touch event triggering
 The goal of this project is to define a universal multi-touch event triggering
@@ -61,8 +53,8 @@ Python.
 % Setting
 % Setting
 To test multi-touch interaction properly, a multi-touch device is required.
 To test multi-touch interaction properly, a multi-touch device is required.
 The University of Amsterdam (UvA) has provided access to a multi-touch table
 The University of Amsterdam (UvA) has provided access to a multi-touch table
-from PQlabs. The table uses the TUIO
-protocol\footnote{\url{http://www.tuio.org/}} to communicate touch events.
+from PQlabs. The table uses the TUIO protocol \cite{TUIO} to communicate touch
+events.
 
 
 % Afbakening
 % Afbakening
 % TODO: moet dit omlaag naar 'Definition of the problem'?
 % TODO: moet dit omlaag naar 'Definition of the problem'?
@@ -73,11 +65,11 @@ be added to any implementation. The reference implementation is a Proof of
 Concept that translates TUIO events to some simple touch gestures that are used
 Concept that translates TUIO events to some simple touch gestures that are used
 by a VTK interactor.
 by a VTK interactor.
 
 
-    \subsection{Structure of this document}
+    \section{Structure of this document}
 
 
     % TODO
     % TODO
 
 
-\section{Definition of the problem}
+\chapter{Definition of the problem}
 
 
 % Hoofdvraag
 % Hoofdvraag
 The goal of this thesis is to create a multi-touch event triggering mechanism
 The goal of this thesis is to create a multi-touch event triggering mechanism
@@ -101,11 +93,11 @@ 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}
 
 
-\section{Related work}
+\chapter{Related work}
 
 
 % TODO
 % TODO
 
 
-\section{Methods}
+\chapter{Methods}
 
 
 % TODO
 % TODO
 
 
@@ -113,11 +105,10 @@ To design such a mechanism properly, the following questions are relevant:
 
 
         \subsubsection{The TUIO protocol}
         \subsubsection{The TUIO protocol}
 
 
-        The TUIO protocol \cite{TUIO_KBBC05} defines a way to geometrically
-        describe tangible objects, such as fingers or fiducials on a
-        multi-touch table. The table used for this thesis uses the protocol in
-        its driver. Object information is sent to the TUIO UDP port (3333 by
-        default).
+        The TUIO protocol \cite{TUIO} defines a way to geometrically describe
+        tangible objects, such as fingers or fiducials on a multi-touch table.
+        The table used for this thesis uses the protocol in its driver. Object
+        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 Control
         Sound Control
@@ -186,49 +177,49 @@ To design such a mechanism properly, the following questions are relevant:
 % Results
 % Results
 % -------
 % -------
 
 
-\section{Server structure}
+\chapter{Server structure}
 
 
 % TODO: link naar appendix met schema
 % TODO: link naar appendix met schema
 
 
-    \subsection{Input server}
+    \section{Input server}
 
 
     % TODO
     % TODO
     % vertaling driver naar point down, move, up
     % vertaling driver naar point down, move, up
     % TUIO in reference implementation
     % TUIO in reference implementation
 
 
-    \subsection{Gesture server}
+    \section{Gesture server}
 
 
-        \subsubsection{Windows}
+        \subsection{Windows}
 
 
         % TODO
         % TODO
         % toewijzen even aan deel v/h scherm:
         % toewijzen even aan deel v/h scherm:
         % TUIO coördinaten zijn over het hele scherm en van 0.0 tot 1.0, dus moeten
         % TUIO coördinaten zijn over het hele scherm en van 0.0 tot 1.0, dus moeten
         % worden vertaald naar pixelcoördinaten binnen een ``window''
         % worden vertaald naar pixelcoördinaten binnen een ``window''
 
 
-        \subsubsection{Trackers}
+        \subsection{Trackers}
 
 
         % TODO
         % TODO
         % event binding/triggering
         % event binding/triggering
         % extendability
         % extendability
 
 
-\section{Reference implementation}
+\chapter{Reference implementation}
 
 
 % TODO
 % TODO
 % draw.py
 % draw.py
 % VTK interactor
 % VTK interactor
 
 
-\section{Conclusions}
+\chapter{Conclusions}
 
 
 % TODO
 % TODO
 % Windows zijn een manier om globale events toe te wijzen aan vensters
 % Windows zijn een manier om globale events toe te wijzen aan vensters
 % Trackers zijn een effectieve manier om gebaren te detecteren
 % Trackers zijn een effectieve manier om gebaren te detecteren
 % Trackers zijn uitbreidbaar door object-orientatie
 % Trackers zijn uitbreidbaar door object-orientatie
 
 
-\section{Suggestions for future work}
+\chapter{Suggestions for future work}
 
 
 % TODO: Network protocol (ZeroMQ)
 % TODO: Network protocol (ZeroMQ)
 
 
-\section{References}
+\chapter{References}
 
 
 \bibliography{report}{}
 \bibliography{report}{}
 \bibliographystyle{plain}
 \bibliographystyle{plain}

+ 2 - 2
docs/rules.mk

@@ -12,5 +12,5 @@ $(b)%.pdf: $(d)%.tex
 
 
 $(b)$(REPORT).bbl: $(d)$(REPORT).bib
 $(b)$(REPORT).bbl: $(d)$(REPORT).bib
 	BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux}
 	BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux}
-	pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
-	pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
+	TEXINPUTS=$(d): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
+	TEXINPUTS=$(d): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex

+ 70 - 0
docs/uva-bachelor-thesis.cls

@@ -0,0 +1,70 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{uva-bachelor-thesis}[2005/06/10 Version 0.1 Rein van den Boomgaard]
+\RequirePackage{graphicx}
+
+
+\def\supervisors#1{\gdef\@supervisors{#1}}
+\def\signedby#1{\gdef\@signedby{#1}}
+
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
+\ProcessOptions
+\LoadClass[10pt,twoside]{report}
+
+%\usepackage[a4paper,scale={0.7,0.8}]{geometry}
+\usepackage[a4paper,scale={0.7,0.8},twoside]{geometry}
+
+\usepackage[sf]{titlesec}
+\titleformat{\chapter}[display]
+%{\cleardoublepage\sffamily\raggedleft
+{\sffamily\raggedleft
+\titlerule\vspace{1pc}}
+{\vspace{1ex}\Large \MakeUppercase{\chaptertitlename}\ \thechapter}
+{3ex}
+{\Huge}
+[\vspace{1pc}\titlerule]
+
+\usepackage[svgnames]{xcolor}
+\usepackage[absolute,overlay]{textpos}
+\usepackage{rotating}
+\renewcommand{\maketitle}{%
+	\thispagestyle{empty}
+	\hspace*{1em} 	% a fake element on the page (else texpos absolute option
+			% doesn't work)
+	\begin{textblock*}{10cm}(6cm,3cm)
+		\noindent\large\scshape Bachelor Informatica\\[2ex]
+		\includegraphics[height=1cm]{acroniemregel.pdf}
+		%\Large Universiteit van Amsterdam
+	\end{textblock*}
+	\begin{textblock*}{10cm}(6cm,12cm)
+		\noindent
+		\sffamily\Huge \@title
+	\end{textblock*}
+	\begin{textblock*}{10cm}(6cm,18cm)
+		\noindent
+		\sffamily\Large \@author\\[3pc]
+		\@date
+	\end{textblock*}
+	\begin{textblock*}{10cm}(6cm,26cm)
+		\noindent\sffamily
+		\begin{description}
+		\item[\sffamily Supervisor(s):] \@supervisors
+		\item[\sffamily Signed:] \@signedby
+		\end{description}
+	\end{textblock*}
+	\textblockcolor{LightGray}
+	\begin{textblock*}{2cm}(3.7cm,25cm)
+		\begin{rotate}{90}
+			\noindent\scshape\Huge\textcolor{Gray}{
+				Informatica --- Universiteit van Amsterdam}
+		\end{rotate}
+	\end{textblock*}
+	\begin{textblock*}{2cm}(3cm,2cm)
+		\vspace*{26cm}\hspace*{1em}
+	\end{textblock*}
+	\cleardoublepage
+}
+
+
+\endinput
+