Commit 423b5dd8 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Added scheme of object relations.

parent e0026a38
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\begin{document}
\pagestyle{empty}
% Block+line styles
\tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em,
text centered, rounded corners, minimum height=4em]
\tikzstyle{impl} = [rectangle, draw, fill=yellow, text width=5em,
text centered, rounded corners, minimum height=4em]
\tikzstyle{app} = [rectangle, draw, fill=green, text width=5em,
text centered, rounded corners, minimum height=4em]
\tikzstyle{line} = [draw, -latex']
\begin{tikzpicture}[node distance = 7em, auto]
% Servers
\node [block] (inputserver) {Input server};
\node [right of=inputserver] (inputserverdots) {$\cdots$};
\node [impl, right of=inputserverdots] (tuioserver) {TUIO server};
\node [block, below of=inputserver] (gestureserver) {Gesture server};
\path [line] (inputserver) -- node {triggers [down, move, up]}(gestureserver);
% Window
\node [block, below of=gestureserver] (window) {Window};
\node [right of=window] (windowdots) {$\cdots$};
\path [line] (gestureserver) -- node {triggers [down, move, up]}(window);
\node [impl, right of=windowdots] (rectangularwindow) {Rectangular window};
\node [impl, right of=rectangularwindow] (circularwindow) {Circular window};
% Tracker
\node [block, below of=window] (tracker) {Gesture tracker};
\node [right of=tracker] (trackerdots) {$\cdots$};
\path [line] (window) -- node {triggers [down, move, up]}(tracker);
\node [impl, right of=trackerdots] (taptracker) {Tap tracker};
\node [impl, right of=taptracker, text width=7em] (transformtracker) {Transformation tracker};
% Gesture
\node [block, below of=tracker] (gesture) {Gesture};
\node [right of=gesture] (gesturedots) {$\cdots$};
\path [line] (tracker) -- node {triggers gesture}(gesture);
% Client application
\node [app, left of=window, xshift=-14em] (app) {Client application};
\path [line, dashed] (app) -- node [near start] {binds gesture handler}(tracker);
\path [line, dashed] (tracker) -- node [near start] {triggers gesture handler}(app);
\path [line, dashed] (app) -- node [near start] {starts}(gestureserver);
\path [line, dashed] (app) -- node [near start] {adds to server}(window);
\end{tikzpicture}
\end{document}
......@@ -219,7 +219,12 @@ To design such a mechanism properly, the following questions are relevant:
\chapter{Schema of mechanism structure}
\label{app:schema}
% TODO: "dia"
\begin{figure}[H]
\hspace{-14em}
\includegraphics{data/server_scheme.pdf}
\caption{}
%TODO: caption
\end{figure}
\chapter{Supported events in reference implementation}
\label{app:supported-events}
......
REPORT := report
SCHEME := data/server_scheme
PDFLATEX_FLAGS = -halt-on-error -interaction=nonstopmode \
-output-directory $(@D)
.PHONY: docs
docs: $(b)proposal.pdf $(b)presentation.pdf $(b)$(REPORT).pdf $(b)$(REPORT).bbl
docs: $(b)$(REPORT).pdf $(b)$(REPORT).bbl $(b)proposal.pdf $(b)presentation.pdf
$(b)%.pdf: $(d)%.tex
mkdir -p $(@D)
TEXINPUTS=$(d): pdflatex $(PDFLATEX_FLAGS) $^
TEXINPUTS=$(d):$(b): pdflatex $(PDFLATEX_FLAGS) $^
$(b)$(REPORT).pdf: $(b)$(SCHEME).pdf
$(b)$(SCHEME).pdf: $(d)$(SCHEME).tex
mkdir -p $(@D)
pdflatex $(PDFLATEX_FLAGS) $^
$(b)$(REPORT).bbl: $(d)$(REPORT).bib
BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux}
TEXINPUTS=$(d): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
TEXINPUTS=$(d): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
TEXINPUTS=$(d):$(b): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
TEXINPUTS=$(d):$(b): pdflatex $(PDFLATEX_FLAGS) $(d)$(REPORT).tex
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