2 // time: Sat Jun 3 23:21:55 2006
4 // version: 3.2.0 (format), 4.3.2 (DX)
8 // workspace: width = 629, height = 507
9 // layout: snap = 0, width = 50, height = 50, align = NN
15 // node FileSelector[1]: x = 51, y = 31, inputs = 0, label = FileSelector
16 // output[1]: visible = 1, type = 32, value = "__FILE__DX__"
17 // output[2]: visible = 0, type = 32, value = "__FILE__DX__"
20 // node Import[1]: x = 104, y = 118, inputs = 6, label = Import
21 // input[2]: visible = 0
22 // input[3]: visible = 0
26 main_FileSelector_1_out_1,
32 ) [instance: 1, cache: 1];
34 // node AutoColor[1]: x = 285, y = 117, inputs = 10, label = AutoColor
35 // input[7]: visible = 0
37 main_AutoColor_1_out_1,
38 main_AutoColor_1_out_2 =
41 main_AutoColor_1_in_2,
42 main_AutoColor_1_in_3,
43 main_AutoColor_1_in_4,
44 main_AutoColor_1_in_5,
45 main_AutoColor_1_in_6,
46 main_AutoColor_1_in_7,
47 main_AutoColor_1_in_8,
48 main_AutoColor_1_in_9,
49 main_AutoColor_1_in_10
50 ) [instance: 1, cache: 1];
52 // node RubberSheet[1]: x = 273, y = 252, inputs = 4, label = RubberSheet
53 // input[2]: defaulting = 1, visible = 0, type = 5, value = 1.0
55 main_RubberSheet_1_out_1 =
57 main_AutoColor_1_out_1,
58 main_RubberSheet_1_in_2,
59 main_RubberSheet_1_in_3,
60 main_RubberSheet_1_in_4
61 ) [instance: 1, cache: 1];
63 // node ShowConnections[1]: x = 49, y = 232, inputs = 1, label = ShowConnections
65 main_ShowConnections_1_out_1 =
67 main_RubberSheet_1_out_1
68 ) [instance: 1, cache: 1];
70 // node Color[1]: x = 72, y = 328, inputs = 5, label = Color
71 // input[2]: defaulting = 0, visible = 0, type = 32, value = "green"
72 // input[3]: visible = 0
76 main_ShowConnections_1_out_1,
81 ) [instance: 1, cache: 1];
83 // node Statistics[1]: x = 489, y = 120, inputs = 1, label = Statistics
84 // output[1]: visible = 0
85 // output[2]: visible = 0
86 // output[3]: visible = 0
88 main_Statistics_1_out_1,
89 main_Statistics_1_out_2,
90 main_Statistics_1_out_3,
91 main_Statistics_1_out_4,
92 main_Statistics_1_out_5 =
95 ) [instance: 1, cache: 1];
97 // node ColorBar[1]: x = 455, y = 296, inputs = 16, label = ColorBar
98 // input[2]: visible = 0
99 // input[3]: visible = 0
100 // input[4]: visible = 0
101 // input[6]: visible = 1
102 // input[7]: visible = 1
103 // input[8]: visible = 0
104 // input[9]: defaulting = 0, visible = 0, type = 16777248, value = {"black"}
106 main_ColorBar_1_out_1 =
108 main_AutoColor_1_out_2,
109 main_ColorBar_1_in_2,
110 main_ColorBar_1_in_3,
111 main_ColorBar_1_in_4,
112 main_ColorBar_1_in_5,
113 main_Statistics_1_out_4,
114 main_Statistics_1_out_5,
115 main_ColorBar_1_in_8,
116 main_ColorBar_1_in_9,
117 main_ColorBar_1_in_10,
118 main_ColorBar_1_in_11,
119 main_ColorBar_1_in_12,
120 main_ColorBar_1_in_13,
121 main_ColorBar_1_in_14,
122 main_ColorBar_1_in_15,
123 main_ColorBar_1_in_16
124 ) [instance: 1, cache: 1];
126 // node Collect[1]: x = 280, y = 393, inputs = 3, label = Collect
128 main_Collect_1_out_1 =
131 main_RubberSheet_1_out_1,
132 main_ColorBar_1_out_1
133 ) [instance: 1, cache: 1];
135 // node Format[1]: x = 545, y = 307, inputs = 3, label = Format
136 // input[1]: defaulting = 0, visible = 1, type = 32, value = "min = %g, max = %g"
138 main_Format_1_out_1 =
141 main_Statistics_1_out_4,
142 main_Statistics_1_out_5
143 ) [instance: 1, cache: 1];
145 // node Image[1]: x = 188, y = 445, inputs = 49, label = Image
146 // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_1"
147 // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
148 // input[5]: defaulting = 0, visible = 0, type = 8, value = [0.406504 0.5 0.060737]
149 // input[6]: defaulting = 0, visible = 0, type = 8, value = [3.08097 2.11826 1.94289]
150 // input[7]: defaulting = 0, visible = 0, type = 5, value = 1.95541
151 // input[8]: defaulting = 0, visible = 0, type = 1, value = 1010
152 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.669
153 // input[10]: defaulting = 0, visible = 0, type = 8, value = [-0.451253 -0.250437 0.856535]
154 // input[11]: defaulting = 1, visible = 0, type = 5, value = 30.0
155 // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
156 // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
157 // input[15]: defaulting = 1, visible = 0, type = 32, value = "none"
158 // input[16]: defaulting = 1, visible = 0, type = 32, value = "none"
159 // input[17]: defaulting = 1, visible = 0, type = 1, value = 1
160 // input[18]: defaulting = 1, visible = 0, type = 1, value = 1
161 // input[19]: defaulting = 0, visible = 0, type = 3, value = 0
162 // input[22]: defaulting = 0, visible = 0, type = 32, value = "snow"
163 // input[25]: defaulting = 0, visible = 0, type = 32, value = "/Users/carlo/Desktop/COMSONDEMO/CoMSON DP/doping.tif"
164 // input[26]: defaulting = 0, visible = 0, type = 32, value = "tiff"
165 // input[29]: defaulting = 0, visible = 0, type = 3, value = 1
166 // input[31]: defaulting = 0, visible = 0, type = 1, value = -5
167 // input[33]: defaulting = 0, visible = 0, type = 3, value = 1
168 // input[34]: defaulting = 0, visible = 0, type = 3, value = 1
169 // input[36]: defaulting = 0, visible = 0, type = 3, value = 1
170 // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {"clear", "black", "blue", "blue"}
171 // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {"background", "grid", "ticks", "labels"}
172 // input[39]: defaulting = 0, visible = 0, type = 5, value = 0.65
173 // input[40]: defaulting = 0, visible = 0, type = 32, value = "roman_d"
174 // input[41]: defaulting = 0, visible = 0, type = 32, value = "rotate"
175 // output[1]: visible = 0
176 // output[2]: visible = 0
177 // output[3]: visible = 0
179 // window: position = (0.0000,0.0286), size = 1.0000x0.9375
180 // internal caching: 1
187 main_Collect_1_out_1,
235 ) [instance: 1, cache: 1];
237 // node Message[1]: x = 557, y = 401, inputs = 3, label = Message
243 ) [instance: 1, cache: 1];
244 // network: end of macro body
245 CacheScene(main_Image_1_in_1, main_Image_1_out_1, main_Image_1_out_2);
247 main_FileSelector_1_out_1 = "./.tmp.dx";
248 main_Import_1_in_2 = NULL;
249 main_Import_1_in_3 = NULL;
250 main_Import_1_in_4 = NULL;
251 main_Import_1_in_5 = NULL;
252 main_Import_1_in_6 = NULL;
253 main_Import_1_out_1 = NULL;
254 main_AutoColor_1_in_2 = NULL;
255 main_AutoColor_1_in_3 = NULL;
256 main_AutoColor_1_in_4 = NULL;
257 main_AutoColor_1_in_5 = NULL;
258 main_AutoColor_1_in_6 = NULL;
259 main_AutoColor_1_in_7 = NULL;
260 main_AutoColor_1_in_8 = NULL;
261 main_AutoColor_1_in_9 = NULL;
262 main_AutoColor_1_in_10 = NULL;
263 main_AutoColor_1_out_1 = NULL;
264 main_AutoColor_1_out_2 = NULL;
265 main_RubberSheet_1_in_2 = NULL;
266 main_RubberSheet_1_in_3 = NULL;
267 main_RubberSheet_1_in_4 = NULL;
268 main_RubberSheet_1_out_1 = NULL;
269 main_ShowConnections_1_out_1 = NULL;
270 main_Color_1_in_2 = "green";
271 main_Color_1_in_3 = NULL;
272 main_Color_1_in_4 = NULL;
273 main_Color_1_in_5 = NULL;
274 main_Color_1_out_1 = NULL;
275 main_Statistics_1_out_4 = NULL;
276 main_Statistics_1_out_5 = NULL;
277 main_ColorBar_1_in_2 = NULL;
278 main_ColorBar_1_in_3 = NULL;
279 main_ColorBar_1_in_4 = NULL;
280 main_ColorBar_1_in_5 = NULL;
281 main_ColorBar_1_in_8 = NULL;
282 main_ColorBar_1_in_9 = {"black"};
283 main_ColorBar_1_in_10 = NULL;
284 main_ColorBar_1_in_11 = NULL;
285 main_ColorBar_1_in_12 = NULL;
286 main_ColorBar_1_in_13 = NULL;
287 main_ColorBar_1_in_14 = NULL;
288 main_ColorBar_1_in_15 = NULL;
289 main_ColorBar_1_in_16 = NULL;
290 main_ColorBar_1_out_1 = NULL;
291 main_Collect_1_out_1 = NULL;
292 main_Format_1_in_1 = "min = %g, max = %g";
293 main_Format_1_out_1 = NULL;
309 buttonUpApprox = "none",
310 buttonDownApprox = "none",
312 buttonDownDensity = 1,
381 buttonDownDensity) [instance: 1, cache: 1];
392 backgroundColor) [instance: 1, cache: 1];
403 backgroundColor) [instance: 1, cache: 1];
404 coloredDefaultCamera =
405 UpdateCamera(defaultCamera,
406 background=backgroundColor) [instance: 1, cache: 1];
408 Inquire(defaultCamera,
409 "is null + 1") [instance: 1, cache: 1];
413 coloredDefaultCamera,
414 autoCamera) [instance: 1, cache: 1];
418 "is null + 1") [instance: 2, cache: 1];
423 0) [instance: 2, cache: 1];
426 "($0 != 0 || $1 == 0) ? 1 : 2",
428 useVector) [instance: 1, cache: 1];
432 realCamera) [instance: 3, cache: 1];
453 AAzTickLabels) [instance: 1, cache: 1];
454 switchAAenable = Compute("$0+1",
455 AAenable) [instance: 2, cache: 1];
459 AAobject) [instance:4, cache: 1];
460 SWapproximation_options =
464 buttonDownApprox) [instance: 5, cache: 1];
469 buttonDownDensity) [instance: 6, cache: 1];
470 HWapproximation_options =
474 buttonUpApprox) [instance: 1, cache: 1];
479 buttonUpDensity) [instance: 2, cache: 1];
480 switchRenderMode = Compute(
482 renderMode) [instance: 3, cache: 1];
483 approximation_options = Switch(
485 SWapproximation_options,
486 HWapproximation_options) [instance: 7, cache: 1];
487 density_options = Switch(
490 HWdensity_options) [instance: 8, cache: 1];
491 renderModeString = Switch(
494 "hardware")[instance: 9, cache: 1];
495 object_tag = Inquire(
497 "object tag")[instance: 3, cache: 1];
509 "rendering approximation",
510 approximation_options,
516 renderModeString) [instance: 1, cache: 1];
520 "is null + 1") [instance: 4, cache: 1];
524 "camera resolution") [instance: 5, cache: 1];
529 ImageResolution) [instance: 10, cache: 1];
533 "is null + 1") [instance: 6, cache: 1];
537 "camera aspect") [instance: 7, cache: 1];
542 ImageAspect) [instance: 11, cache: 1];
543 switchRECenable = Compute(
544 "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4",
550 ImageAspect) [instance: 4, cache: 1];
551 NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object);
556 throttle) [instance: 1, cache: 1];
560 camera) [instance: 1, cache: 1];
565 throttle) [instance: 2, cache: 1];
569 RECformat) [instance: 1, cache: 1];
574 throttle) [instance: 1, cache: 0];
575 rec_image = ReadImageWindow(
576 rec_where) [instance: 1, cache: 1];
580 RECformat) [instance: 1, cache: 1];
584 resolution=RECresolution,
585 aspect=RECaspect) [instance: 2, cache: 1];
590 throttle) [instance: 1, cache: 1];
596 camera) [instance: 1, cache: 1];
600 RECupdateCamera) [instance: 2, cache: 1];
604 RECformat) [instance: 2, cache: 1];
606 main_Image_1_in_1 = "Image_1";
607 main_Image_1_in_3 = "X24,,";
608 main_Image_1_in_4 = 1;
609 main_Image_1_in_5 = [0.406504 0.5 0.060737];
610 main_Image_1_in_6 = [3.08097 2.11826 1.94289];
611 main_Image_1_in_7 = 1.95541;
612 main_Image_1_in_8 = 1010;
613 main_Image_1_in_9 = 0.669;
614 main_Image_1_in_10 = [-0.451253 -0.250437 0.856535];
615 main_Image_1_in_11 = NULL;
616 main_Image_1_in_12 = 0;
617 main_Image_1_in_13 = NULL;
618 main_Image_1_in_14 = 1;
619 main_Image_1_in_15 = NULL;
620 main_Image_1_in_16 = NULL;
621 main_Image_1_in_17 = NULL;
622 main_Image_1_in_18 = NULL;
623 main_Image_1_in_19 = 0;
624 main_Image_1_in_20 = NULL;
625 main_Image_1_in_21 = NULL;
626 main_Image_1_in_22 = "snow";
627 main_Image_1_in_23 = NULL;
628 main_Image_1_in_25 = "/Users/carlo/Desktop/COMSONDEMO/CoMSON DP/doping.tif";
629 main_Image_1_in_26 = "tiff";
630 main_Image_1_in_27 = NULL;
631 main_Image_1_in_28 = NULL;
632 main_Image_1_in_29 = 1;
633 main_Image_1_in_30 = NULL;
634 main_Image_1_in_31 = -5;
635 main_Image_1_in_32 = NULL;
636 main_Image_1_in_33 = 1;
637 main_Image_1_in_34 = 1;
638 main_Image_1_in_35 = NULL;
639 main_Image_1_in_36 = 1;
640 main_Image_1_in_37 = {"clear", "black", "blue", "blue"};
641 main_Image_1_in_38 = {"background", "grid", "ticks", "labels"};
642 main_Image_1_in_39 = 0.65;
643 main_Image_1_in_40 = "roman_d";
644 main_Image_1_in_41 = "rotate";
645 main_Image_1_in_42 = NULL;
646 main_Image_1_in_43 = NULL;
647 main_Image_1_in_44 = NULL;
648 main_Image_1_in_45 = NULL;
649 main_Image_1_in_46 = NULL;
650 main_Image_1_in_47 = NULL;
651 main_Image_1_in_48 = NULL;
652 main_Image_1_in_49 = NULL;
653 main_Message_1_in_2 = NULL;
654 main_Message_1_in_3 = NULL;
655 Executive("product version 4 3 2");