2 // time: Mon Feb 27 22:33:21 2006
4 // version: 3.2.0 (format), 4.3.2 (DX)
8 // workspace: width = 500, height = 463
9 // layout: snap = 0, width = 50, height = 50, align = NN
15 // node FileSelector[1]: x = 52, y = 31, 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 = 104, y = 118, inputs = 6, label = Import
24 main_FileSelector_1_out_1,
30 ) [instance: 1, cache: 1];
32 // node ShowConnections[1]: x = 101, y = 191, inputs = 1, label = ShowConnections
34 main_ShowConnections_1_out_1 =
37 ) [instance: 1, cache: 1];
39 // node Color[1]: x = 106, y = 286, inputs = 5, label = Color
40 // input[2]: defaulting = 0, visible = 1, type = 32, value = "indianred"
44 main_ShowConnections_1_out_1,
49 ) [instance: 1, cache: 1];
51 // node Image[1]: x = 69, y = 401, inputs = 49, label = Image
52 // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_1"
53 // input[4]: defaulting = 0, visible = 0, type = 1, value = 1
54 // input[5]: defaulting = 0, visible = 0, type = 8, value = [3.75e-08 2.075e-08 0]
55 // input[6]: defaulting = 0, visible = 0, type = 8, value = [3.75e-08 2.075e-08 2.15172e-07]
56 // input[7]: defaulting = 0, visible = 0, type = 5, value = 1.15311e-07
57 // input[8]: defaulting = 0, visible = 0, type = 1, value = 640
58 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.750781
59 // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 1 0]
60 // input[11]: defaulting = 0, visible = 0, type = 5, value = 30.0001
61 // input[12]: defaulting = 0, visible = 0, type = 1, value = 0
62 // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
63 // input[15]: defaulting = 1, visible = 0, type = 32, value = "none"
64 // input[16]: defaulting = 1, visible = 0, type = 32, value = "none"
65 // input[17]: defaulting = 0, visible = 0, type = 1, value = 1
66 // input[18]: defaulting = 0, visible = 0, type = 1, value = 1
67 // input[19]: defaulting = 0, visible = 0, type = 1, value = 1
68 // input[22]: defaulting = 0, visible = 0, type = 32, value = "snow"
69 // input[25]: defaulting = 0, visible = 0, type = 32, value = "/Users/carlo/Desktop/COMSONDEMO/CoMSON DP/grid.tif"
70 // input[26]: defaulting = 0, visible = 0, type = 32, value = "tiff"
71 // input[29]: defaulting = 0, visible = 0, type = 3, value = 1
72 // input[31]: defaulting = 0, visible = 0, type = 1, value = -15
73 // input[33]: defaulting = 0, visible = 0, type = 3, value = 0
74 // input[34]: defaulting = 0, visible = 0, type = 3, value = 0
75 // input[37]: defaulting = 0, visible = 0, type = 16777248, value = {"clear", "grey5", "saddlebrown", "saddlebrown"}
76 // input[38]: defaulting = 0, visible = 0, type = 16777248, value = {"background", "grid", "ticks", "labels"}
77 // input[39]: defaulting = 0, visible = 0, type = 5, value = 0.7
78 // input[40]: defaulting = 0, visible = 0, type = 32, value = "roman_s"
79 // input[41]: defaulting = 0, visible = 0, type = 32, value = "panzoom"
81 // window: position = (0.2480,0.1276), size = 0.6387x0.6836
82 // internal caching: 1
137 ) [instance: 1, cache: 1];
138 // network: end of macro body
139 CacheScene(main_Image_1_in_1, main_Image_1_out_1, main_Image_1_out_2);
141 main_FileSelector_1_out_1 = "./.tmp.dx";
142 main_Import_1_in_2 = NULL;
143 main_Import_1_in_3 = NULL;
144 main_Import_1_in_4 = NULL;
145 main_Import_1_in_5 = NULL;
146 main_Import_1_in_6 = NULL;
147 main_Import_1_out_1 = NULL;
148 main_ShowConnections_1_out_1 = NULL;
149 main_Color_1_in_2 = "indianred";
150 main_Color_1_in_3 = NULL;
151 main_Color_1_in_4 = NULL;
152 main_Color_1_in_5 = NULL;
153 main_Color_1_out_1 = NULL;
169 buttonUpApprox = "none",
170 buttonDownApprox = "none",
172 buttonDownDensity = 1,
241 buttonDownDensity) [instance: 1, cache: 1];
252 backgroundColor) [instance: 1, cache: 1];
263 backgroundColor) [instance: 1, cache: 1];
264 coloredDefaultCamera =
265 UpdateCamera(defaultCamera,
266 background=backgroundColor) [instance: 1, cache: 1];
268 Inquire(defaultCamera,
269 "is null + 1") [instance: 1, cache: 1];
273 coloredDefaultCamera,
274 autoCamera) [instance: 1, cache: 1];
278 "is null + 1") [instance: 2, cache: 1];
283 0) [instance: 2, cache: 1];
286 "($0 != 0 || $1 == 0) ? 1 : 2",
288 useVector) [instance: 1, cache: 1];
292 realCamera) [instance: 3, cache: 1];
313 AAzTickLabels) [instance: 1, cache: 1];
314 switchAAenable = Compute("$0+1",
315 AAenable) [instance: 2, cache: 1];
319 AAobject) [instance:4, cache: 1];
320 SWapproximation_options =
324 buttonDownApprox) [instance: 5, cache: 1];
329 buttonDownDensity) [instance: 6, cache: 1];
330 HWapproximation_options =
334 buttonUpApprox) [instance: 1, cache: 1];
339 buttonUpDensity) [instance: 2, cache: 1];
340 switchRenderMode = Compute(
342 renderMode) [instance: 3, cache: 1];
343 approximation_options = Switch(
345 SWapproximation_options,
346 HWapproximation_options) [instance: 7, cache: 1];
347 density_options = Switch(
350 HWdensity_options) [instance: 8, cache: 1];
351 renderModeString = Switch(
354 "hardware")[instance: 9, cache: 1];
355 object_tag = Inquire(
357 "object tag")[instance: 3, cache: 1];
369 "rendering approximation",
370 approximation_options,
376 renderModeString) [instance: 1, cache: 1];
380 "is null + 1") [instance: 4, cache: 1];
384 "camera resolution") [instance: 5, cache: 1];
389 ImageResolution) [instance: 10, cache: 1];
393 "is null + 1") [instance: 6, cache: 1];
397 "camera aspect") [instance: 7, cache: 1];
402 ImageAspect) [instance: 11, cache: 1];
403 switchRECenable = Compute(
404 "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4",
410 ImageAspect) [instance: 4, cache: 1];
411 NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object);
416 throttle) [instance: 1, cache: 1];
420 camera) [instance: 1, cache: 1];
425 throttle) [instance: 2, cache: 1];
429 RECformat) [instance: 1, cache: 1];
434 throttle) [instance: 1, cache: 0];
435 rec_image = ReadImageWindow(
436 rec_where) [instance: 1, cache: 1];
440 RECformat) [instance: 1, cache: 1];
444 resolution=RECresolution,
445 aspect=RECaspect) [instance: 2, cache: 1];
450 throttle) [instance: 1, cache: 1];
456 camera) [instance: 1, cache: 1];
460 RECupdateCamera) [instance: 2, cache: 1];
464 RECformat) [instance: 2, cache: 1];
466 main_Image_1_in_1 = "Image_1";
467 main_Image_1_in_3 = "X24,,";
468 main_Image_1_in_4 = 1;
469 main_Image_1_in_5 = [3.75e-08 2.075e-08 0];
470 main_Image_1_in_6 = [3.75e-08 2.075e-08 2.15172e-07];
471 main_Image_1_in_7 = 1.15311e-07;
472 main_Image_1_in_8 = 640;
473 main_Image_1_in_9 = 0.750781;
474 main_Image_1_in_10 = [0 1 0];
475 main_Image_1_in_11 = 30.0001;
476 main_Image_1_in_12 = 0;
477 main_Image_1_in_13 = NULL;
478 main_Image_1_in_14 = 1;
479 main_Image_1_in_15 = NULL;
480 main_Image_1_in_16 = NULL;
481 main_Image_1_in_17 = 1;
482 main_Image_1_in_18 = 1;
483 main_Image_1_in_19 = 1;
484 main_Image_1_in_20 = NULL;
485 main_Image_1_in_21 = NULL;
486 main_Image_1_in_22 = "snow";
487 main_Image_1_in_23 = NULL;
488 main_Image_1_in_25 = "/Users/carlo/Desktop/COMSONDEMO/CoMSON DP/grid.tif";
489 main_Image_1_in_26 = "tiff";
490 main_Image_1_in_27 = NULL;
491 main_Image_1_in_28 = NULL;
492 main_Image_1_in_29 = 1;
493 main_Image_1_in_30 = NULL;
494 main_Image_1_in_31 = -15;
495 main_Image_1_in_32 = NULL;
496 main_Image_1_in_33 = 0;
497 main_Image_1_in_34 = 0;
498 main_Image_1_in_35 = NULL;
499 main_Image_1_in_36 = NULL;
500 main_Image_1_in_37 = {"clear", "grey5", "saddlebrown", "saddlebrown"};
501 main_Image_1_in_38 = {"background", "grid", "ticks", "labels"};
502 main_Image_1_in_39 = 0.7;
503 main_Image_1_in_40 = "roman_s";
504 main_Image_1_in_41 = "panzoom";
505 main_Image_1_in_42 = NULL;
506 main_Image_1_in_43 = NULL;
507 main_Image_1_in_44 = NULL;
508 main_Image_1_in_45 = NULL;
509 main_Image_1_in_46 = NULL;
510 main_Image_1_in_47 = NULL;
511 main_Image_1_in_48 = NULL;
512 main_Image_1_in_49 = NULL;
513 Executive("product version 4 3 2");