2 // time: Wed Jun 13 18:54:22 2007
4 // version: 3.2.0 (format), 4.4.4 (DX)
8 // workspace: width = 459, height = 507
9 // layout: snap = 0, width = 50, height = 50, align = NN
15 // node FileSelector[1]: x = 28, y = 29, inputs = 0, label = FileSelector
16 // output[1]: visible = 1, type = 32, value = "__FILE__DX__"
17 // output[2]: visible = 1, type = 32, value = "__FILE__DX__"
20 // node Import[1]: x = 34, y = 109, inputs = 6, label = Import
24 main_FileSelector_1_out_1,
30 ) [instance: 1, cache: 1];
32 // node Post[1]: x = 124, y = 167, inputs = 2, label = Post
33 // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions"
39 ) [instance: 1, cache: 1];
41 // node Gradient[1]: x = 227, y = 144, inputs = 2, label = Gradient
43 main_Gradient_1_out_1 =
47 ) [instance: 1, cache: 1];
49 // node AutoGlyph[1]: x = 241, y = 215, inputs = 7, label = AutoGlyph
51 main_AutoGlyph_1_out_1 =
53 main_Gradient_1_out_1,
54 main_AutoGlyph_1_in_2,
55 main_AutoGlyph_1_in_3,
56 main_AutoGlyph_1_in_4,
57 main_AutoGlyph_1_in_5,
58 main_AutoGlyph_1_in_6,
60 ) [instance: 1, cache: 1];
62 // node AutoColor[1]: x = 253, y = 283, inputs = 10, label = AutoColor
64 main_AutoColor_1_out_1,
65 main_AutoColor_1_out_2 =
67 main_AutoGlyph_1_out_1,
68 main_AutoColor_1_in_2,
69 main_AutoColor_1_in_3,
70 main_AutoColor_1_in_4,
71 main_AutoColor_1_in_5,
72 main_AutoColor_1_in_6,
73 main_AutoColor_1_in_7,
74 main_AutoColor_1_in_8,
75 main_AutoColor_1_in_9,
76 main_AutoColor_1_in_10
77 ) [instance: 1, cache: 1];
79 // node ShowConnections[1]: x = 39, y = 242, inputs = 1, label = ShowConnections
81 main_ShowConnections_1_out_1 =
84 ) [instance: 1, cache: 1];
86 // node Color[1]: x = 72, y = 328, inputs = 5, label = Color
87 // input[2]: defaulting = 0, visible = 1, type = 32, value = "black"
88 // input[3]: defaulting = 0, visible = 1, type = 5, value = .5
92 main_ShowConnections_1_out_1,
97 ) [instance: 1, cache: 1];
99 // node ColorBar[1]: x = 339, y = 285, inputs = 16, label = ColorBar
100 // input[9]: defaulting = 0, visible = 0, type = 16777248, value = {"black"}
102 main_ColorBar_1_out_1 =
104 main_AutoColor_1_out_2,
105 main_ColorBar_1_in_2,
106 main_ColorBar_1_in_3,
107 main_ColorBar_1_in_4,
108 main_ColorBar_1_in_5,
109 main_ColorBar_1_in_6,
110 main_ColorBar_1_in_7,
111 main_ColorBar_1_in_8,
112 main_ColorBar_1_in_9,
113 main_ColorBar_1_in_10,
114 main_ColorBar_1_in_11,
115 main_ColorBar_1_in_12,
116 main_ColorBar_1_in_13,
117 main_ColorBar_1_in_14,
118 main_ColorBar_1_in_15,
119 main_ColorBar_1_in_16
120 ) [instance: 1, cache: 1];
122 // node Collect[1]: x = 280, y = 393, inputs = 3, label = Collect
124 main_Collect_1_out_1 =
127 main_AutoColor_1_out_1,
128 main_ColorBar_1_out_1
129 ) [instance: 1, cache: 1];
131 // node Image[1]: x = 188, y = 445, inputs = 49, label = Image
132 // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_1"
133 // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
134 // input[5]: defaulting = 0, visible = 0, type = 8, value = [0.182894 0.102434 0]
135 // input[6]: defaulting = 0, visible = 0, type = 8, value = [0.182894 0.102434 3.60504]
136 // input[7]: defaulting = 0, visible = 0, type = 5, value = 0.460265
137 // input[8]: defaulting = 0, visible = 0, type = 1, value = 772
138 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.791
139 // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 1 0]
140 // input[11]: defaulting = 1, visible = 0, type = 5, value = 7.30519
141 // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
142 // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
143 // input[15]: defaulting = 1, visible = 0, type = 32, value = "none"
144 // input[16]: defaulting = 1, visible = 0, type = 32, value = "none"
145 // input[17]: defaulting = 1, visible = 0, type = 1, value = 1
146 // input[18]: defaulting = 1, visible = 0, type = 1, value = 1
147 // input[19]: defaulting = 0, visible = 0, type = 1, value = 0
148 // input[22]: defaulting = 0, visible = 0, type = 32, value = "snow"
149 // input[25]: defaulting = 0, visible = 0, type = 32, value = "/Users/carlo/Desktop/COMSONDEMO/CoMSON DP/doping.tif"
150 // input[26]: defaulting = 0, visible = 0, type = 32, value = "tiff"
151 // input[29]: defaulting = 0, visible = 0, type = 3, value = 1
152 // input[31]: defaulting = 0, visible = 0, type = 1, value = -5
153 // input[33]: defaulting = 0, visible = 0, type = 3, value = 1
154 // input[34]: defaulting = 0, visible = 0, type = 3, value = 0
155 // input[36]: defaulting = 0, visible = 0, type = 3, value = 1
156 // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {"clear", "black", "blue", "blue"}
157 // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {"background", "grid", "ticks", "labels"}
158 // input[39]: defaulting = 0, visible = 0, type = 5, value = 0.65
159 // input[40]: defaulting = 0, visible = 0, type = 32, value = "roman_d"
160 // input[41]: defaulting = 0, visible = 0, type = 32, value = "panzoom"
162 // window: position = (0.0000,0.0000), size = 0.6141x0.6396
163 // internal caching: 1
170 main_Collect_1_out_1,
218 ) [instance: 1, cache: 1];
219 // network: end of macro body
220 CacheScene(main_Image_1_in_1, main_Image_1_out_1, main_Image_1_out_2);
222 main_FileSelector_1_out_1 = "/tmp/SECS2D.6003912.dx";
223 main_Import_1_in_2 = NULL;
224 main_Import_1_in_3 = NULL;
225 main_Import_1_in_4 = NULL;
226 main_Import_1_in_5 = NULL;
227 main_Import_1_in_6 = NULL;
228 main_Import_1_out_1 = NULL;
229 main_Post_1_in_2 = "positions";
230 main_Post_1_out_1 = NULL;
231 main_Gradient_1_in_2 = NULL;
232 main_Gradient_1_out_1 = NULL;
233 main_AutoGlyph_1_in_2 = NULL;
234 main_AutoGlyph_1_in_3 = NULL;
235 main_AutoGlyph_1_in_4 = NULL;
236 main_AutoGlyph_1_in_5 = NULL;
237 main_AutoGlyph_1_in_6 = NULL;
238 main_AutoGlyph_1_in_7 = NULL;
239 main_AutoGlyph_1_out_1 = NULL;
240 main_AutoColor_1_in_2 = NULL;
241 main_AutoColor_1_in_3 = NULL;
242 main_AutoColor_1_in_4 = NULL;
243 main_AutoColor_1_in_5 = NULL;
244 main_AutoColor_1_in_6 = NULL;
245 main_AutoColor_1_in_7 = NULL;
246 main_AutoColor_1_in_8 = NULL;
247 main_AutoColor_1_in_9 = NULL;
248 main_AutoColor_1_in_10 = NULL;
249 main_AutoColor_1_out_1 = NULL;
250 main_AutoColor_1_out_2 = NULL;
251 main_ShowConnections_1_out_1 = NULL;
252 main_Color_1_in_2 = "black";
253 main_Color_1_in_3 = .5;
254 main_Color_1_in_4 = NULL;
255 main_Color_1_in_5 = NULL;
256 main_Color_1_out_1 = NULL;
257 main_ColorBar_1_in_2 = NULL;
258 main_ColorBar_1_in_3 = NULL;
259 main_ColorBar_1_in_4 = NULL;
260 main_ColorBar_1_in_5 = NULL;
261 main_ColorBar_1_in_6 = NULL;
262 main_ColorBar_1_in_7 = NULL;
263 main_ColorBar_1_in_8 = NULL;
264 main_ColorBar_1_in_9 = {"black"};
265 main_ColorBar_1_in_10 = NULL;
266 main_ColorBar_1_in_11 = NULL;
267 main_ColorBar_1_in_12 = NULL;
268 main_ColorBar_1_in_13 = NULL;
269 main_ColorBar_1_in_14 = NULL;
270 main_ColorBar_1_in_15 = NULL;
271 main_ColorBar_1_in_16 = NULL;
272 main_ColorBar_1_out_1 = NULL;
273 main_Collect_1_out_1 = NULL;
289 buttonUpApprox = "none",
290 buttonDownApprox = "none",
292 buttonDownDensity = 1,
361 buttonDownDensity) [instance: 1, cache: 1];
372 backgroundColor) [instance: 1, cache: 1];
383 backgroundColor) [instance: 1, cache: 1];
384 coloredDefaultCamera =
385 UpdateCamera(defaultCamera,
386 background=backgroundColor) [instance: 1, cache: 1];
388 Inquire(defaultCamera,
389 "is null + 1") [instance: 1, cache: 1];
393 coloredDefaultCamera,
394 autoCamera) [instance: 1, cache: 1];
398 "is null + 1") [instance: 2, cache: 1];
403 0) [instance: 2, cache: 1];
406 "($0 != 0 || $1 == 0) ? 1 : 2",
408 useVector) [instance: 1, cache: 1];
412 realCamera) [instance: 3, cache: 1];
433 AAzTickLabels) [instance: 1, cache: 1];
434 switchAAenable = Compute("$0+1",
435 AAenable) [instance: 2, cache: 1];
439 AAobject) [instance:4, cache: 1];
440 SWapproximation_options =
444 buttonDownApprox) [instance: 5, cache: 1];
449 buttonDownDensity) [instance: 6, cache: 1];
450 HWapproximation_options =
454 buttonUpApprox) [instance: 1, cache: 1];
459 buttonUpDensity) [instance: 2, cache: 1];
460 switchRenderMode = Compute(
462 renderMode) [instance: 3, cache: 1];
463 approximation_options = Switch(
465 SWapproximation_options,
466 HWapproximation_options) [instance: 7, cache: 1];
467 density_options = Switch(
470 HWdensity_options) [instance: 8, cache: 1];
471 renderModeString = Switch(
474 "hardware")[instance: 9, cache: 1];
475 object_tag = Inquire(
477 "object tag")[instance: 3, cache: 1];
489 "rendering approximation",
490 approximation_options,
496 renderModeString) [instance: 1, cache: 1];
500 "is null + 1") [instance: 4, cache: 1];
504 "camera resolution") [instance: 5, cache: 1];
509 ImageResolution) [instance: 10, cache: 1];
513 "is null + 1") [instance: 6, cache: 1];
517 "camera aspect") [instance: 7, cache: 1];
522 ImageAspect) [instance: 11, cache: 1];
523 switchRECenable = Compute(
524 "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4",
530 ImageAspect) [instance: 4, cache: 1];
531 NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object);
536 throttle) [instance: 1, cache: 1];
540 camera) [instance: 1, cache: 1];
545 throttle) [instance: 2, cache: 1];
549 RECformat) [instance: 1, cache: 1];
554 throttle) [instance: 1, cache: 0];
555 rec_image = ReadImageWindow(
556 rec_where) [instance: 1, cache: 1];
560 RECformat) [instance: 1, cache: 1];
564 resolution=RECresolution,
565 aspect=RECaspect) [instance: 2, cache: 1];
570 throttle) [instance: 1, cache: 1];
576 camera) [instance: 1, cache: 1];
580 RECupdateCamera) [instance: 2, cache: 1];
584 RECformat) [instance: 2, cache: 1];
586 main_Image_1_in_1 = "Image_1";
587 main_Image_1_in_3 = "X24,,";
588 main_Image_1_in_4 = 1;
589 main_Image_1_in_5 = [0.182894 0.102434 0];
590 main_Image_1_in_6 = [0.182894 0.102434 3.60504];
591 main_Image_1_in_7 = 0.460265;
592 main_Image_1_in_8 = 772;
593 main_Image_1_in_9 = 0.791;
594 main_Image_1_in_10 = [0 1 0];
595 main_Image_1_in_11 = NULL;
596 main_Image_1_in_12 = 0;
597 main_Image_1_in_13 = NULL;
598 main_Image_1_in_14 = 1;
599 main_Image_1_in_15 = NULL;
600 main_Image_1_in_16 = NULL;
601 main_Image_1_in_17 = NULL;
602 main_Image_1_in_18 = NULL;
603 main_Image_1_in_19 = 0;
604 main_Image_1_in_20 = NULL;
605 main_Image_1_in_21 = NULL;
606 main_Image_1_in_22 = "snow";
607 main_Image_1_in_23 = NULL;
608 main_Image_1_in_25 = "/Users/carlo/Desktop/COMSONDEMO/CoMSON DP/doping.tif";
609 main_Image_1_in_26 = "tiff";
610 main_Image_1_in_27 = NULL;
611 main_Image_1_in_28 = NULL;
612 main_Image_1_in_29 = 1;
613 main_Image_1_in_30 = NULL;
614 main_Image_1_in_31 = -5;
615 main_Image_1_in_32 = NULL;
616 main_Image_1_in_33 = 1;
617 main_Image_1_in_34 = 0;
618 main_Image_1_in_35 = NULL;
619 main_Image_1_in_36 = 1;
620 main_Image_1_in_37 = {"clear", "black", "blue", "blue"};
621 main_Image_1_in_38 = {"background", "grid", "ticks", "labels"};
622 main_Image_1_in_39 = 0.65;
623 main_Image_1_in_40 = "roman_d";
624 main_Image_1_in_41 = "panzoom";
625 main_Image_1_in_42 = NULL;
626 main_Image_1_in_43 = NULL;
627 main_Image_1_in_44 = NULL;
628 main_Image_1_in_45 = NULL;
629 main_Image_1_in_46 = NULL;
630 main_Image_1_in_47 = NULL;
631 main_Image_1_in_48 = NULL;
632 main_Image_1_in_49 = NULL;
633 Executive("product version 4 4 4");