00001 #pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "12EAD66E67F172DE4EBCCC1839C588F6"
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 using DropDownCustomColorPicker;
00013 using System;
00014 using System.Diagnostics;
00015 using System.Windows;
00016 using System.Windows.Automation;
00017 using System.Windows.Controls;
00018 using System.Windows.Controls.Primitives;
00019 using System.Windows.Data;
00020 using System.Windows.Documents;
00021 using System.Windows.Ink;
00022 using System.Windows.Input;
00023 using System.Windows.Markup;
00024 using System.Windows.Media;
00025 using System.Windows.Media.Animation;
00026 using System.Windows.Media.Effects;
00027 using System.Windows.Media.Imaging;
00028 using System.Windows.Media.Media3D;
00029 using System.Windows.Media.TextFormatting;
00030 using System.Windows.Navigation;
00031 using System.Windows.Shapes;
00032 using System.Windows.Shell;
00033
00034
00035 namespace EdgeClustering {
00036
00037
00038
00039
00040
00041 [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
00042 public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
00043
00044
00045 #line 9 "..\..\..\MainWindow.xaml"
00046 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00047 internal System.Windows.Controls.Menu menu1;
00048
00049 #line default
00050 #line hidden
00051
00052
00053 #line 22 "..\..\..\MainWindow.xaml"
00054 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00055 internal System.Windows.Controls.Canvas canvas1;
00056
00057 #line default
00058 #line hidden
00059
00060
00061 #line 27 "..\..\..\MainWindow.xaml"
00062 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00063 internal System.Windows.Controls.Canvas SettingsCanvas;
00064
00065 #line default
00066 #line hidden
00067
00068
00069 #line 29 "..\..\..\MainWindow.xaml"
00070 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00071 internal System.Windows.Controls.GroupBox groupBox1;
00072
00073 #line default
00074 #line hidden
00075
00076
00077 #line 31 "..\..\..\MainWindow.xaml"
00078 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00079 internal System.Windows.Controls.CheckBox GraphVisibleCheckbox;
00080
00081 #line default
00082 #line hidden
00083
00084
00085 #line 32 "..\..\..\MainWindow.xaml"
00086 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00087 internal DropDownCustomColorPicker.CustomColorPicker OriginalGraphColor;
00088
00089 #line default
00090 #line hidden
00091
00092
00093 #line 33 "..\..\..\MainWindow.xaml"
00094 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00095 internal System.Windows.Controls.Label label1;
00096
00097 #line default
00098 #line hidden
00099
00100
00101 #line 36 "..\..\..\MainWindow.xaml"
00102 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00103 internal System.Windows.Controls.CheckBox SegmentsVisibleCheckbox;
00104
00105 #line default
00106 #line hidden
00107
00108
00109 #line 40 "..\..\..\MainWindow.xaml"
00110 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00111 internal DropDownCustomColorPicker.CustomColorPicker customColorPicker2;
00112
00113 #line default
00114 #line hidden
00115
00116
00117 #line 41 "..\..\..\MainWindow.xaml"
00118 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00119 internal System.Windows.Controls.CheckBox MergedSegmentsVisibleCheckbox;
00120
00121 #line default
00122 #line hidden
00123
00124
00125 #line 44 "..\..\..\MainWindow.xaml"
00126 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00127 internal System.Windows.Controls.CheckBox KDEPeaksVisibleCheckbox;
00128
00129 #line default
00130 #line hidden
00131
00132
00133 #line 45 "..\..\..\MainWindow.xaml"
00134 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00135 internal DropDownCustomColorPicker.CustomColorPicker customColorPicker3;
00136
00137 #line default
00138 #line hidden
00139
00140
00141 #line 48 "..\..\..\MainWindow.xaml"
00142 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00143 internal System.Windows.Controls.CheckBox SegmentNormalsVisibleCheckbox;
00144
00145 #line default
00146 #line hidden
00147
00148
00149 #line 49 "..\..\..\MainWindow.xaml"
00150 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00151 internal DropDownCustomColorPicker.CustomColorPicker customColorPicker4;
00152
00153 #line default
00154 #line hidden
00155
00156
00157 #line 52 "..\..\..\MainWindow.xaml"
00158 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00159 internal System.Windows.Controls.CheckBox ControlPointsVisibleCheckbox;
00160
00161 #line default
00162 #line hidden
00163
00164
00165 #line 56 "..\..\..\MainWindow.xaml"
00166 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00167 internal System.Windows.Controls.CheckBox ControlMeshVisibleCheckbox;
00168
00169 #line default
00170 #line hidden
00171
00172
00173 #line 60 "..\..\..\MainWindow.xaml"
00174 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00175 internal System.Windows.Controls.CheckBox EnhancedGraphVisibleCeckbox;
00176
00177 #line default
00178 #line hidden
00179
00180
00181 #line 65 "..\..\..\MainWindow.xaml"
00182 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00183 internal System.Windows.Controls.GroupBox groupBox2;
00184
00185 #line default
00186 #line hidden
00187
00188
00189 #line 68 "..\..\..\MainWindow.xaml"
00190 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00191 internal System.Windows.Controls.Button ComputeButton;
00192
00193 #line default
00194 #line hidden
00195
00196
00197 #line 70 "..\..\..\MainWindow.xaml"
00198 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00199 internal System.Windows.Controls.Slider GridSizeSlider;
00200
00201 #line default
00202 #line hidden
00203
00204
00205 #line 71 "..\..\..\MainWindow.xaml"
00206 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00207 internal System.Windows.Controls.TextBlock GridSizeTextBlock;
00208
00209 #line default
00210 #line hidden
00211
00212
00213 #line 75 "..\..\..\MainWindow.xaml"
00214 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00215 internal System.Windows.Controls.Slider KDEAngleSlider;
00216
00217 #line default
00218 #line hidden
00219
00220
00221 #line 76 "..\..\..\MainWindow.xaml"
00222 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00223 internal System.Windows.Controls.TextBlock KDEAngleTextBlock;
00224
00225 #line default
00226 #line hidden
00227
00228
00229 #line 79 "..\..\..\MainWindow.xaml"
00230 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00231 internal System.Windows.Controls.Slider KDEThresholdSlider;
00232
00233 #line default
00234 #line hidden
00235
00236
00237 #line 80 "..\..\..\MainWindow.xaml"
00238 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00239 internal System.Windows.Controls.TextBlock KDEThresholdTextblock;
00240
00241 #line default
00242 #line hidden
00243
00244
00245 #line 83 "..\..\..\MainWindow.xaml"
00246 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00247 internal System.Windows.Controls.Slider MergeAngleSlider;
00248
00249 #line default
00250 #line hidden
00251
00252
00253 #line 84 "..\..\..\MainWindow.xaml"
00254 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
00255 internal System.Windows.Controls.TextBlock MergeAngleTextbox;
00256
00257 #line default
00258 #line hidden
00259
00260 private bool _contentLoaded;
00261
00262
00263
00264
00265 [System.Diagnostics.DebuggerNonUserCodeAttribute()]
00266 public void InitializeComponent() {
00267 if (_contentLoaded) {
00268 return;
00269 }
00270 _contentLoaded = true;
00271 System.Uri resourceLocater = new System.Uri("/DrawLineTest;component/mainwindow.xaml", System.UriKind.Relative);
00272
00273 #line 1 "..\..\..\MainWindow.xaml"
00274 System.Windows.Application.LoadComponent(this, resourceLocater);
00275
00276 #line default
00277 #line hidden
00278 }
00279
00280 [System.Diagnostics.DebuggerNonUserCodeAttribute()]
00281 [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
00282 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
00283 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
00284 [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
00285 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
00286 switch (connectionId)
00287 {
00288 case 1:
00289
00290 #line 6 "..\..\..\MainWindow.xaml"
00291 ((EdgeClustering.MainWindow)(target)).PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Window_PreviewMouseWheel);
00292
00293 #line default
00294 #line hidden
00295
00296 #line 6 "..\..\..\MainWindow.xaml"
00297 ((EdgeClustering.MainWindow)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Window_MouseMove);
00298
00299 #line default
00300 #line hidden
00301 return;
00302 case 2:
00303 this.menu1 = ((System.Windows.Controls.Menu)(target));
00304 return;
00305 case 3:
00306
00307 #line 11 "..\..\..\MainWindow.xaml"
00308 ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.GraphImport_Click);
00309
00310 #line default
00311 #line hidden
00312 return;
00313 case 4:
00314
00315 #line 12 "..\..\..\MainWindow.xaml"
00316 ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadConfig_Click);
00317
00318 #line default
00319 #line hidden
00320 return;
00321 case 5:
00322
00323 #line 13 "..\..\..\MainWindow.xaml"
00324 ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveConfig_Click);
00325
00326 #line default
00327 #line hidden
00328 return;
00329 case 6:
00330
00331 #line 16 "..\..\..\MainWindow.xaml"
00332 ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DebugRandomGraph_Click);
00333
00334 #line default
00335 #line hidden
00336 return;
00337 case 7:
00338
00339 #line 17 "..\..\..\MainWindow.xaml"
00340 ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveGraph_Click);
00341
00342 #line default
00343 #line hidden
00344 return;
00345 case 8:
00346
00347 #line 18 "..\..\..\MainWindow.xaml"
00348 ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Compute_Click);
00349
00350 #line default
00351 #line hidden
00352 return;
00353 case 9:
00354 this.canvas1 = ((System.Windows.Controls.Canvas)(target));
00355
00356 #line 23 "..\..\..\MainWindow.xaml"
00357 this.canvas1.Initialized += new System.EventHandler(this.IsInitialized);
00358
00359 #line default
00360 #line hidden
00361 return;
00362 case 10:
00363 this.SettingsCanvas = ((System.Windows.Controls.Canvas)(target));
00364 return;
00365 case 11:
00366 this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
00367 return;
00368 case 12:
00369 this.GraphVisibleCheckbox = ((System.Windows.Controls.CheckBox)(target));
00370
00371 #line 31 "..\..\..\MainWindow.xaml"
00372 this.GraphVisibleCheckbox.Click += new System.Windows.RoutedEventHandler(this.GraphVisibleCheckbox_Click);
00373
00374 #line default
00375 #line hidden
00376 return;
00377 case 13:
00378 this.OriginalGraphColor = ((DropDownCustomColorPicker.CustomColorPicker)(target));
00379
00380 #line 32 "..\..\..\MainWindow.xaml"
00381 this.OriginalGraphColor.SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.OriginalGraphColor_SelectedColorChanged);
00382
00383 #line default
00384 #line hidden
00385 return;
00386 case 14:
00387 this.label1 = ((System.Windows.Controls.Label)(target));
00388 return;
00389 case 15:
00390 this.SegmentsVisibleCheckbox = ((System.Windows.Controls.CheckBox)(target));
00391
00392 #line 36 "..\..\..\MainWindow.xaml"
00393 this.SegmentsVisibleCheckbox.Click += new System.Windows.RoutedEventHandler(this.SegmentsVisibleCheckbox_Click);
00394
00395 #line default
00396 #line hidden
00397 return;
00398 case 16:
00399
00400 #line 37 "..\..\..\MainWindow.xaml"
00401 ((DropDownCustomColorPicker.CustomColorPicker)(target)).SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.Segments_ColorChanged);
00402
00403 #line default
00404 #line hidden
00405 return;
00406 case 17:
00407 this.customColorPicker2 = ((DropDownCustomColorPicker.CustomColorPicker)(target));
00408
00409 #line 40 "..\..\..\MainWindow.xaml"
00410 this.customColorPicker2.SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.MergedSegments_ColorChanged);
00411
00412 #line default
00413 #line hidden
00414 return;
00415 case 18:
00416 this.MergedSegmentsVisibleCheckbox = ((System.Windows.Controls.CheckBox)(target));
00417
00418 #line 41 "..\..\..\MainWindow.xaml"
00419 this.MergedSegmentsVisibleCheckbox.Click += new System.Windows.RoutedEventHandler(this.MergedSegmentsVisibleCheckbox_Click);
00420
00421 #line default
00422 #line hidden
00423 return;
00424 case 19:
00425 this.KDEPeaksVisibleCheckbox = ((System.Windows.Controls.CheckBox)(target));
00426
00427 #line 44 "..\..\..\MainWindow.xaml"
00428 this.KDEPeaksVisibleCheckbox.Click += new System.Windows.RoutedEventHandler(this.KDEPeaksVisibleCheckbox_Click);
00429
00430 #line default
00431 #line hidden
00432 return;
00433 case 20:
00434 this.customColorPicker3 = ((DropDownCustomColorPicker.CustomColorPicker)(target));
00435
00436 #line 45 "..\..\..\MainWindow.xaml"
00437 this.customColorPicker3.SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.KDEPeaks_ColorChanged);
00438
00439 #line default
00440 #line hidden
00441 return;
00442 case 21:
00443 this.SegmentNormalsVisibleCheckbox = ((System.Windows.Controls.CheckBox)(target));
00444
00445 #line 48 "..\..\..\MainWindow.xaml"
00446 this.SegmentNormalsVisibleCheckbox.Click += new System.Windows.RoutedEventHandler(this.SegmentNormalsVisibleCheckbox_Click);
00447
00448 #line default
00449 #line hidden
00450 return;
00451 case 22:
00452 this.customColorPicker4 = ((DropDownCustomColorPicker.CustomColorPicker)(target));
00453
00454 #line 49 "..\..\..\MainWindow.xaml"
00455 this.customColorPicker4.SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.SegmentsNormal_ColorChanged);
00456
00457 #line default
00458 #line hidden
00459 return;
00460 case 23:
00461 this.ControlPointsVisibleCheckbox = ((System.Windows.Controls.CheckBox)(target));
00462
00463 #line 52 "..\..\..\MainWindow.xaml"
00464 this.ControlPointsVisibleCheckbox.Click += new System.Windows.RoutedEventHandler(this.ControlPointsVisibleCheckbox_Click);
00465
00466 #line default
00467 #line hidden
00468 return;
00469 case 24:
00470
00471 #line 53 "..\..\..\MainWindow.xaml"
00472 ((DropDownCustomColorPicker.CustomColorPicker)(target)).SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.ControlPoints_SelectedColorChanged);
00473
00474 #line default
00475 #line hidden
00476 return;
00477 case 25:
00478 this.ControlMeshVisibleCheckbox = ((System.Windows.Controls.CheckBox)(target));
00479
00480 #line 56 "..\..\..\MainWindow.xaml"
00481 this.ControlMeshVisibleCheckbox.Click += new System.Windows.RoutedEventHandler(this.ControlMeshVisibleCheckbox_Click);
00482
00483 #line default
00484 #line hidden
00485 return;
00486 case 26:
00487
00488 #line 57 "..\..\..\MainWindow.xaml"
00489 ((DropDownCustomColorPicker.CustomColorPicker)(target)).SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.CustomColorPicker_SelectedColorChanged);
00490
00491 #line default
00492 #line hidden
00493 return;
00494 case 27:
00495 this.EnhancedGraphVisibleCeckbox = ((System.Windows.Controls.CheckBox)(target));
00496
00497 #line 60 "..\..\..\MainWindow.xaml"
00498 this.EnhancedGraphVisibleCeckbox.Click += new System.Windows.RoutedEventHandler(this.EnhancedGraphVisibleCeckbox_Click);
00499
00500 #line default
00501 #line hidden
00502 return;
00503 case 28:
00504
00505 #line 61 "..\..\..\MainWindow.xaml"
00506 ((DropDownCustomColorPicker.CustomColorPicker)(target)).SelectedColorChanged += new System.Action<System.Windows.Media.Color>(this.CustomColorPicker_SelectedColorChanged_1);
00507
00508 #line default
00509 #line hidden
00510 return;
00511 case 29:
00512 this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
00513 return;
00514 case 30:
00515 this.ComputeButton = ((System.Windows.Controls.Button)(target));
00516
00517 #line 68 "..\..\..\MainWindow.xaml"
00518 this.ComputeButton.Click += new System.Windows.RoutedEventHandler(this.ComputeButton_Click);
00519
00520 #line default
00521 #line hidden
00522 return;
00523 case 31:
00524 this.GridSizeSlider = ((System.Windows.Controls.Slider)(target));
00525
00526 #line 70 "..\..\..\MainWindow.xaml"
00527 this.GridSizeSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.GridSizeSlider_ValueChanged);
00528
00529 #line default
00530 #line hidden
00531 return;
00532 case 32:
00533 this.GridSizeTextBlock = ((System.Windows.Controls.TextBlock)(target));
00534 return;
00535 case 33:
00536 this.KDEAngleSlider = ((System.Windows.Controls.Slider)(target));
00537
00538 #line 75 "..\..\..\MainWindow.xaml"
00539 this.KDEAngleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.KDEAngleSlider_ValueChanged);
00540
00541 #line default
00542 #line hidden
00543 return;
00544 case 34:
00545 this.KDEAngleTextBlock = ((System.Windows.Controls.TextBlock)(target));
00546 return;
00547 case 35:
00548 this.KDEThresholdSlider = ((System.Windows.Controls.Slider)(target));
00549
00550 #line 79 "..\..\..\MainWindow.xaml"
00551 this.KDEThresholdSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.KDEThresholdSlider_ValueChanged);
00552
00553 #line default
00554 #line hidden
00555 return;
00556 case 36:
00557 this.KDEThresholdTextblock = ((System.Windows.Controls.TextBlock)(target));
00558 return;
00559 case 37:
00560 this.MergeAngleSlider = ((System.Windows.Controls.Slider)(target));
00561
00562 #line 83 "..\..\..\MainWindow.xaml"
00563 this.MergeAngleSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.MergeAngleSlider_ValueChanged);
00564
00565 #line default
00566 #line hidden
00567 return;
00568 case 38:
00569 this.MergeAngleTextbox = ((System.Windows.Controls.TextBlock)(target));
00570 return;
00571 }
00572 this._contentLoaded = true;
00573 }
00574 }
00575 }
00576