|
28
|
1 |
<!--
|
|
15
|
2 |
/*
|
|
|
3 |
* This file is part of the TraKERS\Middleware package.
|
|
|
4 |
*
|
|
|
5 |
* (c) IRI <http://www.iri.centrepompidou.fr/>
|
|
|
6 |
*
|
|
27
|
7 |
* For the full copyright and license information, please view the LICENSE
|
|
15
|
8 |
* file that was distributed with this source code.
|
|
|
9 |
*/
|
|
|
10 |
-->
|
|
|
11 |
|
|
|
12 |
<!--
|
|
|
13 |
Projet : TraKERS
|
|
|
14 |
Module : MIDDLEWARE
|
|
|
15 |
Sous-Module : Debug
|
|
|
16 |
Classe : DebugParameters
|
|
|
17 |
|
|
|
18 |
Auteur : alexandre.bastien@iri.centrepompidou.fr
|
|
|
19 |
|
|
|
20 |
Fonctionnalités : Affiche la fenêtre de paramétrage du Middleware, contenant :
|
|
|
21 |
La distance min et max du champ de recherche.
|
|
|
22 |
L'host et le port du serveur TUIO.
|
|
|
23 |
L'intervalle de temps entre le début et la fin du timer pour la détection des gestures.
|
|
|
24 |
-->
|
|
|
25 |
|
|
16
|
26 |
<Window x:Class="Trakers.Debug.DebugParameters" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="TraKERS - Paramètres" Height="380" Width="300" Closed="Window_Closed">
|
|
15
|
27 |
<Grid>
|
|
|
28 |
<StackPanel>
|
|
|
29 |
<TabControl>
|
|
|
30 |
<TabItem Header="Position">
|
|
|
31 |
<StackPanel>
|
|
|
32 |
<Label Content="Limites du champ de recherche (ex : 1.5 - 2) [1, 4] :" Height="30" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Width="300" />
|
|
|
33 |
<Grid>
|
|
|
34 |
<Grid.RowDefinitions>
|
|
|
35 |
<RowDefinition Height="30" />
|
|
|
36 |
<RowDefinition Height="30" />
|
|
|
37 |
<RowDefinition Height="30" />
|
|
|
38 |
<RowDefinition Height="30" />
|
|
|
39 |
<RowDefinition Height="30" />
|
|
|
40 |
</Grid.RowDefinitions>
|
|
|
41 |
<Grid.ColumnDefinitions>
|
|
|
42 |
<ColumnDefinition Width="30*" />
|
|
|
43 |
<ColumnDefinition Width="70*" />
|
|
|
44 |
</Grid.ColumnDefinitions>
|
|
|
45 |
|
|
|
46 |
<!-- Limites min et max du champ de recherche. -->
|
|
|
47 |
<Label Grid.Row="0" Grid.Column="0" Content="Min Mains :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
48 |
<TextBox Grid.Row="0" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMinDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
|
49 |
<Label Grid.Row="1" Grid.Column="0" Content="Max Mains :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
50 |
<TextBox Grid.Row="1" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMaxDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
|
51 |
<Label Grid.Row="2" Grid.Column="0" Content="Min :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
52 |
<TextBox Grid.Row="2" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="minDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
|
53 |
<Label Grid.Row="3" Grid.Column="0" Content="Max :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
54 |
<TextBox Grid.Row="3" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="maxDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
|
55 |
<Label Grid.Row="4" Grid.Column="0" Content="Zero :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
56 |
<TextBox Grid.Row="4" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="zeroPointTB" VerticalAlignment="Top" Width="120" />
|
|
|
57 |
</Grid>
|
|
|
58 |
</StackPanel>
|
|
|
59 |
</TabItem>
|
|
|
60 |
<TabItem Header="Serveur">
|
|
|
61 |
<StackPanel>
|
|
|
62 |
<Label Content="Serveur TUIO :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" />
|
|
|
63 |
<Grid>
|
|
|
64 |
<Grid.RowDefinitions>
|
|
|
65 |
<RowDefinition Height="30" />
|
|
|
66 |
<RowDefinition Height="30" />
|
|
|
67 |
<RowDefinition Height="30" />
|
|
|
68 |
</Grid.RowDefinitions>
|
|
|
69 |
<Grid.ColumnDefinitions>
|
|
|
70 |
<ColumnDefinition Width="50*" />
|
|
|
71 |
<ColumnDefinition Width="50*" />
|
|
|
72 |
</Grid.ColumnDefinitions>
|
|
|
73 |
|
|
|
74 |
<!-- Paramètres du serveur TUIO. -->
|
|
|
75 |
<Label Grid.Row="0" Grid.Column="0" Content="Host (ip) :" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
76 |
<TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="connexionHostTB" VerticalAlignment="Top" Width="120" />
|
|
|
77 |
<Label Grid.Row="1" Grid.Column="0" Content="Port :" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
78 |
<TextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Name="connexionPortTB" VerticalAlignment="Top" Width="120" />
|
|
|
79 |
<Label Grid.Row="2" Grid.Column="0" Content="Timer (temps en ms) :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
80 |
<TextBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Name="timerElapsingTB" VerticalAlignment="Top" Width="120" />
|
|
|
81 |
</Grid>
|
|
|
82 |
</StackPanel>
|
|
|
83 |
</TabItem>
|
|
|
84 |
<TabItem Header="IDILL">
|
|
|
85 |
<StackPanel>
|
|
|
86 |
<Label Content="Front IDILL :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" />
|
|
|
87 |
<Grid>
|
|
|
88 |
<Grid.RowDefinitions>
|
|
|
89 |
<RowDefinition Height="30" />
|
|
|
90 |
</Grid.RowDefinitions>
|
|
|
91 |
<Grid.ColumnDefinitions>
|
|
|
92 |
<ColumnDefinition Width="50*" />
|
|
|
93 |
<ColumnDefinition Width="50*" />
|
|
|
94 |
</Grid.ColumnDefinitions>
|
|
|
95 |
|
|
|
96 |
<!-- Paramètres du Front IDILL. -->
|
|
|
97 |
<Label Grid.Row="0" Grid.Column="0" Content="Nombre de vidéos :" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
98 |
<TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="imagesToShowTB" VerticalAlignment="Top" Width="120" />
|
|
|
99 |
</Grid>
|
|
|
100 |
</StackPanel>
|
|
|
101 |
</TabItem>
|
|
|
102 |
<TabItem Header="Recherche">
|
|
|
103 |
<StackPanel>
|
|
|
104 |
<Label Content="Courbes de recherche :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" />
|
|
|
105 |
<Grid>
|
|
|
106 |
<Grid.RowDefinitions>
|
|
|
107 |
<RowDefinition Height="30" />
|
|
|
108 |
<RowDefinition Height="30" />
|
|
|
109 |
<RowDefinition Height="30" />
|
|
|
110 |
</Grid.RowDefinitions>
|
|
|
111 |
<Grid.ColumnDefinitions>
|
|
|
112 |
<ColumnDefinition Width="50*" />
|
|
|
113 |
<ColumnDefinition Width="50*" />
|
|
|
114 |
</Grid.ColumnDefinitions>
|
|
|
115 |
|
|
|
116 |
<!-- Paramètres de la recherche de courbes. -->
|
|
|
117 |
<Label Grid.Row="0" Grid.Column="0" Content="On prend 1/N pts :" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
118 |
<TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="takenPointsTB" VerticalAlignment="Top" Width="120" />
|
|
|
119 |
<Label Grid.Row="1" Grid.Column="0" Content="Seuil cut XY :" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
120 |
<TextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Name="directionChangeTresholdXYTB" VerticalAlignment="Top" Width="120" />
|
|
|
121 |
<Label Grid.Row="2" Grid.Column="0" Content="Seuil cut Z :" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
122 |
<TextBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Name="directionChangeTresholdZTB" VerticalAlignment="Top" Width="120" />
|
|
|
123 |
</Grid>
|
|
|
124 |
</StackPanel>
|
|
|
125 |
</TabItem>
|
|
|
126 |
</TabControl>
|
|
|
127 |
|
|
16
|
128 |
<Button Name="ModButton" Content="Modifier" Click="Button_Click" />
|
|
15
|
129 |
<!-- Affichage des problèmes éventuels lors de la saisie des paramètres. -->
|
|
|
130 |
<Label Content="" Name="ExceptionInParametersLbl" Height="28" />
|
|
|
131 |
</StackPanel>
|
|
|
132 |
</Grid>
|
|
|
133 |
</Window>
|