equal
deleted
inserted
replaced
4 Sous-Module : Debug |
4 Sous-Module : Debug |
5 Classe : DebugWindow |
5 Classe : DebugWindow |
6 |
6 |
7 Auteur : alexandre.bastien@iri.centrepompidou.fr |
7 Auteur : alexandre.bastien@iri.centrepompidou.fr |
8 |
8 |
9 Fonctionnalités : Affiche le rendu visuel du Middleware : Le squelette, la détection/position des mains, |
9 Fonctionnalités : Affiche le rendu visuel du Middleware : Le squelette, afficher la détection des mains, |
10 les exceptions et la distance de l'utilisateur. |
10 des gestures et la distance de l'utilisateur. |
11 --> |
11 --> |
12 |
12 |
13 <Window x:Class="Trakers.Debug.DebugWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DebugWindow" Height="480" Width="640" Closed="Window_Closed"> |
13 <Window x:Class="Trakers.Debug.DebugWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DebugWindow" Height="480" Width="640" Closed="Window_Closed" Loaded="Window_Loaded"> |
14 <Grid> |
14 <Grid> |
15 <Grid.RowDefinitions> |
15 <Grid.RowDefinitions> |
16 <RowDefinition /> |
16 <RowDefinition /> |
17 <RowDefinition Height="30" /> |
17 <RowDefinition Height="30" /> |
18 </Grid.RowDefinitions> |
18 </Grid.RowDefinitions> |
54 <!-- Cette partie permet d'afficher les erreurs survenant dans le programme. --> |
54 <!-- Cette partie permet d'afficher les erreurs survenant dans le programme. --> |
55 <Label Name="ExceptionLbl" Height="30" VerticalAlignment="Bottom" Grid.Row="2" Content="" HorizontalContentAlignment="Center" /> |
55 <Label Name="ExceptionLbl" Height="30" VerticalAlignment="Bottom" Grid.Row="2" Content="" HorizontalContentAlignment="Center" /> |
56 </Grid> |
56 </Grid> |
57 |
57 |
58 <!-- Ce bouton permet d'allumer/éteindre la Kinect. --> |
58 <!-- Ce bouton permet d'allumer/éteindre la Kinect. --> |
59 <Button Name="Switch" Content="ON" Grid.Row="1" Grid.Column="0" Width="30" Click="Switch_Click" /> |
59 <Button Name="Switch" Content="OFF" Grid.Row="1" Grid.Column="0" Width="30" Click="Switch_Click" /> |
60 |
60 |
61 <!-- Ce panneau affiche la distance actuelle de l'utilisateur à la Kinect et indique une couleur pour chaque mètre. --> |
61 <!-- Ce panneau affiche la distance actuelle de l'utilisateur à la Kinect et indique une couleur pour chaque mètre. --> |
62 <!-- 0-1 m : Rouge. 1-2 : Orange. 2-3 : Jaune. 3-4 : Blanc. --> |
62 <!-- 0-1 m : Rouge. 1-2 : Orange. 2-3 : Jaune. 3-4 : Blanc. --> |
63 <StackPanel Grid.Row="0" Grid.Column="1" Name="List"> |
63 <StackPanel Grid.Row="0" Grid.Column="1" Name="List"> |
64 <Label Name="DistanceLbl" Content="Distance :" /> |
64 <Label Name="DistanceLbl" Content="Distance :" /> |