--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/middleware/Debug/DebugParameters.xaml Mon Apr 02 16:30:56 2012 +0200
@@ -0,0 +1,133 @@
+<!--
+/*
+* This file is part of the TraKERS\Middleware package.
+*
+* (c) IRI <http://www.iri.centrepompidou.fr/>
+*
+* For the full copyright and license information, please view the LICENSE_MIDDLEWARE
+* file that was distributed with this source code.
+*/
+-->
+
+<!--
+Projet : TraKERS
+Module : MIDDLEWARE
+Sous-Module : Debug
+Classe : DebugParameters
+
+Auteur : alexandre.bastien@iri.centrepompidou.fr
+
+Fonctionnalités : Affiche la fenêtre de paramétrage du Middleware, contenant :
+ La distance min et max du champ de recherche.
+ L'host et le port du serveur TUIO.
+ L'intervalle de temps entre le début et la fin du timer pour la détection des gestures.
+-->
+
+<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">
+ <Grid>
+ <StackPanel>
+ <TabControl>
+ <TabItem Header="Position">
+ <StackPanel>
+ <Label Content="Limites du champ de recherche (ex : 1.5 - 2) [1, 4] :" Height="30" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Width="300" />
+ <Grid>
+ <Grid.RowDefinitions>
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ </Grid.RowDefinitions>
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="30*" />
+ <ColumnDefinition Width="70*" />
+ </Grid.ColumnDefinitions>
+
+ <!-- Limites min et max du champ de recherche. -->
+ <Label Grid.Row="0" Grid.Column="0" Content="Min Mains :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="0" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMinDistanceTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="1" Grid.Column="0" Content="Max Mains :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="1" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMaxDistanceTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="2" Grid.Column="0" Content="Min :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="2" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="minDistanceTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="3" Grid.Column="0" Content="Max :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="3" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="maxDistanceTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="4" Grid.Column="0" Content="Zero :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="4" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="zeroPointTB" VerticalAlignment="Top" Width="120" />
+ </Grid>
+ </StackPanel>
+ </TabItem>
+ <TabItem Header="Serveur">
+ <StackPanel>
+ <Label Content="Serveur TUIO :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" />
+ <Grid>
+ <Grid.RowDefinitions>
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ </Grid.RowDefinitions>
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="50*" />
+ <ColumnDefinition Width="50*" />
+ </Grid.ColumnDefinitions>
+
+ <!-- Paramètres du serveur TUIO. -->
+ <Label Grid.Row="0" Grid.Column="0" Content="Host (ip) :" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="connexionHostTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="1" Grid.Column="0" Content="Port :" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Name="connexionPortTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="2" Grid.Column="0" Content="Timer (temps en ms) :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Name="timerElapsingTB" VerticalAlignment="Top" Width="120" />
+ </Grid>
+ </StackPanel>
+ </TabItem>
+ <TabItem Header="IDILL">
+ <StackPanel>
+ <Label Content="Front IDILL :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" />
+ <Grid>
+ <Grid.RowDefinitions>
+ <RowDefinition Height="30" />
+ </Grid.RowDefinitions>
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="50*" />
+ <ColumnDefinition Width="50*" />
+ </Grid.ColumnDefinitions>
+
+ <!-- Paramètres du Front IDILL. -->
+ <Label Grid.Row="0" Grid.Column="0" Content="Nombre de vidéos :" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="imagesToShowTB" VerticalAlignment="Top" Width="120" />
+ </Grid>
+ </StackPanel>
+ </TabItem>
+ <TabItem Header="Recherche">
+ <StackPanel>
+ <Label Content="Courbes de recherche :" Height="30" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" />
+ <Grid>
+ <Grid.RowDefinitions>
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ <RowDefinition Height="30" />
+ </Grid.RowDefinitions>
+ <Grid.ColumnDefinitions>
+ <ColumnDefinition Width="50*" />
+ <ColumnDefinition Width="50*" />
+ </Grid.ColumnDefinitions>
+
+ <!-- Paramètres de la recherche de courbes. -->
+ <Label Grid.Row="0" Grid.Column="0" Content="On prend 1/N pts :" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="takenPointsTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="1" Grid.Column="0" Content="Seuil cut XY :" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Name="directionChangeTresholdXYTB" VerticalAlignment="Top" Width="120" />
+ <Label Grid.Row="2" Grid.Column="0" Content="Seuil cut Z :" HorizontalAlignment="Left" VerticalAlignment="Top" />
+ <TextBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Name="directionChangeTresholdZTB" VerticalAlignment="Top" Width="120" />
+ </Grid>
+ </StackPanel>
+ </TabItem>
+ </TabControl>
+
+ <Button Content="Modifier" Click="Button_Click" />
+ <!-- Affichage des problèmes éventuels lors de la saisie des paramètres. -->
+ <Label Content="" Name="ExceptionInParametersLbl" Height="28" />
+ </StackPanel>
+ </Grid>
+</Window>