-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
52 lines (52 loc) · 2.46 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<Window x:Class="SamplerViewer.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:SamplerViewer"
mc:Ignorable="d"
Title="Sample Generator Viewer" Height="715" Width="680" ResizeMode="NoResize">
<StackPanel Margin="10" Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<Label>Sample Generator:</Label>
<ComboBox x:Name="samplersCombo">
<ComboBoxItem>Regular</ComboBoxItem>
<ComboBoxItem>Jittered</ComboBoxItem>
<ComboBoxItem IsSelected="True">Multi-Jittered</ComboBoxItem>
<ComboBoxItem>n-Rooks</ComboBoxItem>
<ComboBoxItem>Hammersley</ComboBoxItem>
</ComboBox>
<Label>Samples per Set:</Label>
<ComboBox x:Name="samplesPerSetCombo">
<ComboBoxItem>1</ComboBoxItem>
<ComboBoxItem>4</ComboBoxItem>
<ComboBoxItem IsSelected="True">9</ComboBoxItem>
<ComboBoxItem>16</ComboBoxItem>
<ComboBoxItem>25</ComboBoxItem>
<ComboBoxItem>36</ComboBoxItem>
<ComboBoxItem>49</ComboBoxItem>
<ComboBoxItem>64</ComboBoxItem>
</ComboBox>
<Label>Dot Type:</Label>
<ComboBox x:Name="dotTypeCombo">
<ComboBoxItem IsSelected="True">Dot</ComboBoxItem>
<ComboBoxItem>Digit</ComboBoxItem>
</ComboBox>
<Label>Projection:</Label>
<ComboBox x:Name="projectionCombo">
<ComboBoxItem IsSelected="True">Square</ComboBoxItem>
<ComboBoxItem>Disk</ComboBoxItem>
</ComboBox>
<Button Margin="10,0,0,0" Click="GenerateSamplerPlot">Generate</Button>
</StackPanel>
<TabControl Height="655">
<TabItem Header="Plot">
<Canvas x:Name="samplerCanvas" Margin="10"/>
</TabItem>
<TabItem Header="Points">
<ListBox x:Name="pointsListBox" Margin="10" Height="610"
ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Top" />
</TabItem>
</TabControl>
</StackPanel>
</Window>