]> Creatis software - CreaPhase.git/blob - octave_packages/fpl-1.2.0/FPL2trsptcsurf.net
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / fpl-1.2.0 / FPL2trsptcsurf.net
1 //
2 // time: Sun Jan  6 17:08:01 2008
3 //
4 // version: 3.2.0 (format), 4.4.4 (DX)
5 //
6 //
7 // MODULE main
8 // workspace: width = 1098, height = 1006
9 // layout: snap = 1, width = 10, height = 10, align = CC
10 //
11 macro main(
12 ) -> (
13 ) {
14     // 
15     // node CollectMultiGrid[1]: x = 425, y = 404, inputs = 4, label = CollectMultiGrid
16     // input[1]: defaulting = 0, visible = 1, type = 67108863, value = NULL
17     // input[3]: defaulting = 0, visible = 1, type = 67108863, value = NULL
18     //
19 main_CollectMultiGrid_1_out_1 = 
20     CollectMultiGrid(
21     main_CollectMultiGrid_1_in_1,
22     main_CollectMultiGrid_1_in_2,
23     main_CollectMultiGrid_1_in_3,
24     main_CollectMultiGrid_1_in_4
25     ) [instance: 1, cache: 1];
26     // 
27     // node StringList[1]: x = 178, y = 24, inputs = 0, label = StringList
28     // output[1]: visible = 1, type = 16777248, value = { "FILELIST" }
29     //
30     // 
31     // node ForEachMember[1]: x = 155, y = 124, inputs = 1, label = ForEachMember
32     //
33 main_ForEachMember_1_out_1,
34 main_ForEachMember_1_out_2,
35 main_ForEachMember_1_out_3 = 
36     ForEachMember(
37     main_StringList_1_out_1
38     ) [instance: 1, cache: 1];
39     // 
40     // node Import[1]: x = 159, y = 224, inputs = 6, label = Import
41     //
42 main_Import_1_out_1 = 
43     Import(
44     main_ForEachMember_1_out_1,
45     main_Import_1_in_2,
46     main_Import_1_in_3,
47     main_Import_1_in_4,
48     main_Import_1_in_5,
49     main_Import_1_in_6
50     ) [instance: 1, cache: 1];
51     // 
52     // node Value[1]: x = 993, y = 294, inputs = 0, label = Value
53     // output[1]: visible = 1, type = 29, value = 0
54     //
55     // 
56     // node Inquire[1]: x = 879, y = 294, inputs = 3, label = Inquire
57     // input[2]: defaulting = 0, visible = 1, type = 32, value = "member count"
58     //
59 main_Inquire_1_out_1 = 
60     Inquire(
61     main_Import_1_out_1,
62     main_Inquire_1_in_2,
63     main_Inquire_1_in_3
64     ) [instance: 1, cache: 1];
65     // 
66     // node Value[2]: x = 1053, y = 74, inputs = 0, label = Value
67     // output[1]: visible = 1, type = 29, value = 1
68     //
69     // 
70     // node Compute[1]: x = 1021, y = 164, inputs = 3, label = Compute
71     // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0 - $1"
72     // expression: value = a - b
73     // name[2]: value = a
74     // name[3]: value = b
75     //
76 main_Compute_1_out_1 = 
77     Compute(
78     main_Compute_1_in_1,
79     main_Inquire_1_out_1,
80     main_Value_2_out_1
81     ) [instance: 1, cache: 1];
82     // 
83     // node Sequencer[1]: x = 995, y = 394, inputs = 7, label = Sequencer
84     // input[1]: defaulting = 0, visible = 0, type = 32, value = "Sequencer_1"
85     // input[4]: defaulting = 1, visible = 1, type = 1, value = 0
86     // input[5]: defaulting = 1, visible = 1, type = 1, value = 95
87     // input[6]: defaulting = 1, visible = 0, type = 1, value = 1
88     // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 0 95 1 0 95 1 }
89     // vcr[1]: min = 0, max = 95, beg = 0, end = 95, cur = 38, inc = 1, loop = off, step = off, pal = off
90     // window: position = (0.0132,0.0833), size = 0.1750x0.0667
91     //
92     main_Sequencer_1_in_3 = @frame;
93 main_Sequencer_1_out_1[cache: 2] = 
94     Sequencer(
95     main_Sequencer_1_in_1,
96     main_Sequencer_1_in_2,
97     main_Sequencer_1_in_3,
98     main_Value_1_out_1,
99     main_Compute_1_out_1,
100     main_Sequencer_1_in_6,
101     main_Sequencer_1_in_7
102     ) [instance: 1, cache: 1];
103     // 
104     // node Select[1]: x = 851, y = 394, inputs = 3, label = Select
105     //
106 main_Select_1_out_1 = 
107     Select(
108     main_Import_1_out_1,
109     main_Sequencer_1_out_1,
110     main_Select_1_in_3
111     ) [instance: 1, cache: 1];
112     // 
113     // node ShowConnections[1]: x = 449, y = 324, inputs = 1, label = ShowConnections
114     //
115 main_ShowConnections_1_out_1 = 
116     ShowConnections(
117     main_Select_1_out_1
118     ) [instance: 1, cache: 1];
119     // 
120     // node StringList[2]: x = 628, y = 224, inputs = 0, label = StringList
121     // output[1]: visible = 1, type = 16777248, value = { "COLORLIST" }
122     //
123     // 
124     // node ForEachMember[2]: x = 605, y = 324, inputs = 1, label = ForEachMember
125     //
126 main_ForEachMember_2_out_1,
127 main_ForEachMember_2_out_2,
128 main_ForEachMember_2_out_3 = 
129     ForEachMember(
130     main_StringList_2_out_1
131     ) [instance: 2, cache: 1];
132     // 
133     // node Color[1]: x = 589, y = 404, inputs = 5, label = Color
134     // input[3]: defaulting = 0, visible = 1, type = 5, value = .3
135     //
136 main_Color_1_out_1 = 
137     Color(
138     main_ShowConnections_1_out_1,
139     main_ForEachMember_2_out_1,
140     main_Color_1_in_3,
141     main_Color_1_in_4,
142     main_Color_1_in_5
143     ) [instance: 1, cache: 1];
144     // 
145     // node GetLocal[3]: x = 732, y = 394, inputs = 3, label = GetLocal
146     //
147 main_GetLocal_3_out_1,
148 main_GetLocal_3_out_2 = 
149     GetLocal(
150     main_GetLocal_3_in_1,
151     main_GetLocal_3_in_2,
152     main_GetLocal_3_in_3
153     ) [instance: 3, cache: 1];
154     // 
155     // node Append[1]: x = 555, y = 484, inputs = 5, label = Append
156     //
157 main_Append_1_out_1 = 
158     Append(
159     main_CollectMultiGrid_1_out_1,
160     main_Color_1_out_1,
161     main_Append_1_in_3,
162     main_GetLocal_3_out_1,
163     main_Append_1_in_5
164     ) [instance: 1, cache: 1];
165     // 
166     // node GetLocal[4]: x = 1012, y = 484, inputs = 3, label = GetLocal
167     //
168 main_GetLocal_4_out_1,
169 main_GetLocal_4_out_2 = 
170     GetLocal(
171     main_GetLocal_4_in_1,
172     main_GetLocal_4_in_2,
173     main_GetLocal_4_in_3
174     ) [instance: 4, cache: 1];
175     // 
176     // node Append[2]: x = 835, y = 484, inputs = 5, label = Append
177     //
178 main_Append_2_out_1 = 
179     Append(
180     main_CollectMultiGrid_1_out_1,
181     main_Select_1_out_1,
182     main_Append_2_in_3,
183     main_GetLocal_4_out_1,
184     main_Append_2_in_5
185     ) [instance: 2, cache: 1];
186     // 
187     // node RubberSheet[2]: x = 786, y = 644, inputs = 4, label = RubberSheet
188     // input[2]: defaulting = 1, visible = 1, type = 5, value = .1
189     //
190 main_RubberSheet_2_out_1 = 
191     RubberSheet(
192     main_Append_2_out_1,
193     main_RubberSheet_2_in_2,
194     main_RubberSheet_2_in_3,
195     main_RubberSheet_2_in_4
196     ) [instance: 2, cache: 1];
197     // 
198     // node Shade[1]: x = 899, y = 684, inputs = 8, label = Shade
199     // input[2]: defaulting = 0, visible = 1, type = 3, value = 1
200     // input[3]: defaulting = 0, visible = 1, type = 32, value = "smooth"
201     //
202 main_Shade_1_out_1 = 
203     Shade(
204     main_RubberSheet_2_out_1,
205     main_Shade_1_in_2,
206     main_Shade_1_in_3,
207     main_Shade_1_in_4,
208     main_Shade_1_in_5,
209     main_Shade_1_in_6,
210     main_Shade_1_in_7,
211     main_Shade_1_in_8
212     ) [instance: 1, cache: 1];
213     // 
214     // node Statistics[1]: x = 135, y = 324, inputs = 1, label = Statistics
215     //
216 main_Statistics_1_out_1,
217 main_Statistics_1_out_2,
218 main_Statistics_1_out_3,
219 main_Statistics_1_out_4,
220 main_Statistics_1_out_5 = 
221     Statistics(
222     main_Import_1_out_1
223     ) [instance: 1, cache: 1];
224     // 
225     // node GetLocal[2]: x = 12, y = 324, inputs = 3, label = GetLocal
226     //
227 main_GetLocal_2_out_1,
228 main_GetLocal_2_out_2 = 
229     GetLocal(
230     main_GetLocal_2_in_1,
231     main_GetLocal_2_in_2,
232     main_GetLocal_2_in_3
233     ) [instance: 2, cache: 1];
234     // 
235     // node List[2]: x = 111, y = 464, inputs = 2, label = List
236     //
237 main_List_2_out_1 = 
238     List(
239     main_Statistics_1_out_4,
240     main_GetLocal_2_out_1
241     ) [instance: 2, cache: 1];
242     // 
243     // node Statistics[3]: x = 75, y = 594, inputs = 1, label = Statistics
244     //
245 main_Statistics_3_out_1,
246 main_Statistics_3_out_2,
247 main_Statistics_3_out_3,
248 main_Statistics_3_out_4,
249 main_Statistics_3_out_5 = 
250     Statistics(
251     main_List_2_out_1
252     ) [instance: 3, cache: 1];
253     // 
254     // node GetLocal[1]: x = 302, y = 324, inputs = 3, label = GetLocal
255     //
256 main_GetLocal_1_out_1,
257 main_GetLocal_1_out_2 = 
258     GetLocal(
259     main_GetLocal_1_in_1,
260     main_GetLocal_1_in_2,
261     main_GetLocal_1_in_3
262     ) [instance: 1, cache: 1];
263     // 
264     // node List[1]: x = 231, y = 464, inputs = 2, label = List
265     //
266 main_List_1_out_1 = 
267     List(
268     main_Statistics_1_out_5,
269     main_GetLocal_1_out_1
270     ) [instance: 1, cache: 1];
271     // 
272     // node Statistics[2]: x = 235, y = 594, inputs = 1, label = Statistics
273     //
274 main_Statistics_2_out_1,
275 main_Statistics_2_out_2,
276 main_Statistics_2_out_3,
277 main_Statistics_2_out_4,
278 main_Statistics_2_out_5 = 
279     Statistics(
280     main_List_1_out_1
281     ) [instance: 2, cache: 1];
282     // 
283     // node AutoColor[1]: x = 896, y = 804, inputs = 10, label = AutoColor
284     // input[2]: defaulting = 0, visible = 0, type = 5, value = 1.0
285     // input[8]: visible = 1
286     //
287 main_AutoColor_1_out_1,
288 main_AutoColor_1_out_2 = 
289     AutoColor(
290     main_Shade_1_out_1,
291     main_AutoColor_1_in_2,
292     main_AutoColor_1_in_3,
293     main_AutoColor_1_in_4,
294     main_AutoColor_1_in_5,
295     main_AutoColor_1_in_6,
296     main_Statistics_3_out_4,
297     main_Statistics_2_out_5,
298     main_AutoColor_1_in_9,
299     main_AutoColor_1_in_10
300     ) [instance: 1, cache: 1];
301     // 
302     // node RubberSheet[4]: x = 606, y = 734, inputs = 4, label = RubberSheet
303     // input[2]: defaulting = 1, visible = 1, type = 5, value = .1
304     //
305 main_RubberSheet_4_out_1 = 
306     RubberSheet(
307     main_Append_1_out_1,
308     main_RubberSheet_4_in_2,
309     main_RubberSheet_4_in_3,
310     main_RubberSheet_4_in_4
311     ) [instance: 4, cache: 1];
312     // 
313     // node ColorBar[1]: x = 835, y = 934, inputs = 16, label = ColorBar
314     // input[4]: defaulting = 0, visible = 1, type = 3, value = 1
315     //
316 main_ColorBar_1_out_1 = 
317     ColorBar(
318     main_AutoColor_1_out_2,
319     main_ColorBar_1_in_2,
320     main_ColorBar_1_in_3,
321     main_ColorBar_1_in_4,
322     main_ColorBar_1_in_5,
323     main_ColorBar_1_in_6,
324     main_ColorBar_1_in_7,
325     main_ColorBar_1_in_8,
326     main_ColorBar_1_in_9,
327     main_ColorBar_1_in_10,
328     main_ColorBar_1_in_11,
329     main_ColorBar_1_in_12,
330     main_ColorBar_1_in_13,
331     main_ColorBar_1_in_14,
332     main_ColorBar_1_in_15,
333     main_ColorBar_1_in_16
334     ) [instance: 1, cache: 1];
335     // 
336     // node Collect[1]: x = 619, y = 844, inputs = 3, label = Collect
337     //
338 main_Collect_1_out_1 = 
339     Collect(
340     main_RubberSheet_4_out_1,
341     main_AutoColor_1_out_1,
342     main_ColorBar_1_out_1
343     ) [instance: 1, cache: 1];
344     // 
345     // node Image[1]: x = 609, y = 944, inputs = 49, label = Image
346     // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_1"
347     // input[4]: defaulting = 0, visible = 0, type = 1, value = 0
348     // input[14]: defaulting = 0, visible = 0, type = 1, value = 1
349     // input[19]: defaulting = 0, visible = 0, type = 3, value = 0
350     // depth: value = 24
351     // internal caching: 1
352     //
353 main_Image_1_out_1,
354 main_Image_1_out_2,
355 main_Image_1_out_3 = 
356     Image(
357     main_Image_1_in_1,
358     main_Collect_1_out_1,
359     main_Image_1_in_3,
360     main_Image_1_in_4,
361     main_Image_1_in_5,
362     main_Image_1_in_6,
363     main_Image_1_in_7,
364     main_Image_1_in_8,
365     main_Image_1_in_9,
366     main_Image_1_in_10,
367     main_Image_1_in_11,
368     main_Image_1_in_12,
369     main_Image_1_in_13,
370     main_Image_1_in_14,
371     main_Image_1_in_15,
372     main_Image_1_in_16,
373     main_Image_1_in_17,
374     main_Image_1_in_18,
375     main_Image_1_in_19,
376     main_Image_1_in_20,
377     main_Image_1_in_21,
378     main_Image_1_in_22,
379     main_Image_1_in_23,
380     main_Image_1_in_24,
381     main_Image_1_in_25,
382     main_Image_1_in_26,
383     main_Image_1_in_27,
384     main_Image_1_in_28,
385     main_Image_1_in_29,
386     main_Image_1_in_30,
387     main_Image_1_in_31,
388     main_Image_1_in_32,
389     main_Image_1_in_33,
390     main_Image_1_in_34,
391     main_Image_1_in_35,
392     main_Image_1_in_36,
393     main_Image_1_in_37,
394     main_Image_1_in_38,
395     main_Image_1_in_39,
396     main_Image_1_in_40,
397     main_Image_1_in_41,
398     main_Image_1_in_42,
399     main_Image_1_in_43,
400     main_Image_1_in_44,
401     main_Image_1_in_45,
402     main_Image_1_in_46,
403     main_Image_1_in_47,
404     main_Image_1_in_48,
405     main_Image_1_in_49
406     ) [instance: 1, cache: 1];
407     // 
408     // node SetLocal[1]: x = 332, y = 464, inputs = 3, label = SetLocal
409     //
410     SetLocal(
411     main_List_1_out_1,
412     main_GetLocal_1_out_2,
413     main_SetLocal_1_in_3
414     ) [instance: 1, cache: 1];
415     // 
416     // node SetLocal[2]: x = 12, y = 464, inputs = 3, label = SetLocal
417     //
418     SetLocal(
419     main_List_2_out_1,
420     main_GetLocal_2_out_2,
421     main_SetLocal_2_in_3
422     ) [instance: 2, cache: 1];
423     // 
424     // node SetLocal[3]: x = 732, y = 484, inputs = 3, label = SetLocal
425     //
426     SetLocal(
427     main_Append_1_out_1,
428     main_GetLocal_3_out_2,
429     main_SetLocal_3_in_3
430     ) [instance: 3, cache: 1];
431     // 
432     // node SetLocal[4]: x = 1012, y = 564, inputs = 3, label = SetLocal
433     //
434     SetLocal(
435     main_Append_2_out_1,
436     main_GetLocal_4_out_2,
437     main_SetLocal_4_in_3
438     ) [instance: 4, cache: 1];
439 // network: end of macro body
440 CacheScene(main_Image_1_in_1, main_Image_1_out_1, main_Image_1_out_2);
441 }
442 main_CollectMultiGrid_1_in_1 = NULL;
443 main_CollectMultiGrid_1_in_2 = NULL;
444 main_CollectMultiGrid_1_in_3 = NULL;
445 main_CollectMultiGrid_1_in_4 = NULL;
446 main_CollectMultiGrid_1_out_1 = NULL;
447 main_StringList_1_out_1 = { "FILELIST" };
448 main_ForEachMember_1_out_1 = NULL;
449 main_Import_1_in_2 = NULL;
450 main_Import_1_in_3 = NULL;
451 main_Import_1_in_4 = NULL;
452 main_Import_1_in_5 = NULL;
453 main_Import_1_in_6 = NULL;
454 main_Import_1_out_1 = NULL;
455 main_Value_1_out_1 = 0;
456 main_Inquire_1_in_2 = "member count";
457 main_Inquire_1_in_3 = NULL;
458 main_Inquire_1_out_1 = NULL;
459 main_Value_2_out_1 = 1;
460 main_Compute_1_in_1 = "$0 - $1";
461 main_Compute_1_out_1 = NULL;
462 main_Sequencer_1_in_1 = "Sequencer_1";
463 main_Sequencer_1_in_2 = NULL;
464 main_Sequencer_1_in_3 = NULL;
465 main_Sequencer_1_in_6 = NULL;
466 main_Sequencer_1_in_7 = { 0 95 1 0 95 1 };
467 main_Sequencer_1_out_1 = NULL;
468
469 @startframe = 0;
470 @nextframe  = @startframe;
471 @endframe   = 95;
472 @deltaframe = 1;
473 main_Select_1_in_3 = NULL;
474 main_Select_1_out_1 = NULL;
475 main_ShowConnections_1_out_1 = NULL;
476 main_StringList_2_out_1 = { "COLORLIST" };
477 main_ForEachMember_2_out_1 = NULL;
478 main_Color_1_in_3 = .3;
479 main_Color_1_in_4 = NULL;
480 main_Color_1_in_5 = NULL;
481 main_Color_1_out_1 = NULL;
482 main_GetLocal_3_in_1 = NULL;
483 main_GetLocal_3_in_2 = NULL;
484 main_GetLocal_3_in_3 = NULL;
485 main_GetLocal_3_out_1 = NULL;
486 main_GetLocal_3_out_2 = NULL;
487 main_Append_1_in_3 = NULL;
488 main_Append_1_in_5 = NULL;
489 main_Append_1_out_1 = NULL;
490 main_GetLocal_4_in_1 = NULL;
491 main_GetLocal_4_in_2 = NULL;
492 main_GetLocal_4_in_3 = NULL;
493 main_GetLocal_4_out_1 = NULL;
494 main_GetLocal_4_out_2 = NULL;
495 main_Append_2_in_3 = NULL;
496 main_Append_2_in_5 = NULL;
497 main_Append_2_out_1 = NULL;
498 main_RubberSheet_2_in_2 = NULL;
499 main_RubberSheet_2_in_3 = NULL;
500 main_RubberSheet_2_in_4 = NULL;
501 main_RubberSheet_2_out_1 = NULL;
502 main_Shade_1_in_2 = 1;
503 main_Shade_1_in_3 = "smooth";
504 main_Shade_1_in_4 = NULL;
505 main_Shade_1_in_5 = NULL;
506 main_Shade_1_in_6 = NULL;
507 main_Shade_1_in_7 = NULL;
508 main_Shade_1_in_8 = NULL;
509 main_Shade_1_out_1 = NULL;
510 main_Statistics_1_out_4 = NULL;
511 main_Statistics_1_out_5 = NULL;
512 main_GetLocal_2_in_1 = NULL;
513 main_GetLocal_2_in_2 = NULL;
514 main_GetLocal_2_in_3 = NULL;
515 main_GetLocal_2_out_1 = NULL;
516 main_GetLocal_2_out_2 = NULL;
517 main_List_2_out_1 = NULL;
518 main_Statistics_3_out_4 = NULL;
519 main_GetLocal_1_in_1 = NULL;
520 main_GetLocal_1_in_2 = NULL;
521 main_GetLocal_1_in_3 = NULL;
522 main_GetLocal_1_out_1 = NULL;
523 main_GetLocal_1_out_2 = NULL;
524 main_List_1_out_1 = NULL;
525 main_Statistics_2_out_5 = NULL;
526 main_AutoColor_1_in_2 = 1.0;
527 main_AutoColor_1_in_3 = NULL;
528 main_AutoColor_1_in_4 = NULL;
529 main_AutoColor_1_in_5 = NULL;
530 main_AutoColor_1_in_6 = NULL;
531 main_AutoColor_1_in_9 = NULL;
532 main_AutoColor_1_in_10 = NULL;
533 main_AutoColor_1_out_1 = NULL;
534 main_AutoColor_1_out_2 = NULL;
535 main_RubberSheet_4_in_2 = NULL;
536 main_RubberSheet_4_in_3 = NULL;
537 main_RubberSheet_4_in_4 = NULL;
538 main_RubberSheet_4_out_1 = NULL;
539 main_ColorBar_1_in_2 = NULL;
540 main_ColorBar_1_in_3 = NULL;
541 main_ColorBar_1_in_4 = 1;
542 main_ColorBar_1_in_5 = NULL;
543 main_ColorBar_1_in_6 = NULL;
544 main_ColorBar_1_in_7 = NULL;
545 main_ColorBar_1_in_8 = NULL;
546 main_ColorBar_1_in_9 = NULL;
547 main_ColorBar_1_in_10 = NULL;
548 main_ColorBar_1_in_11 = NULL;
549 main_ColorBar_1_in_12 = NULL;
550 main_ColorBar_1_in_13 = NULL;
551 main_ColorBar_1_in_14 = NULL;
552 main_ColorBar_1_in_15 = NULL;
553 main_ColorBar_1_in_16 = NULL;
554 main_ColorBar_1_out_1 = NULL;
555 main_Collect_1_out_1 = NULL;
556 macro Image(
557         id,
558         object,
559         where,
560         useVector,
561         to,
562         from,
563         width,
564         resolution,
565         aspect,
566         up,
567         viewAngle,
568         perspective,
569         options,
570         buttonState = 1,
571         buttonUpApprox = "none",
572         buttonDownApprox = "none",
573         buttonUpDensity = 1,
574         buttonDownDensity = 1,
575         renderMode = 0,
576         defaultCamera,
577         reset,
578         backgroundColor,
579         throttle,
580         RECenable = 0,
581         RECfile,
582         RECformat,
583         RECresolution,
584         RECaspect,
585         AAenable = 0,
586         AAlabels,
587         AAticks,
588         AAcorners,
589         AAframe,
590         AAadjust,
591         AAcursor,
592         AAgrid,
593         AAcolors,
594         AAannotation,
595         AAlabelscale,
596         AAfont,
597         interactionMode,
598         title,
599         AAxTickLocs,
600         AAyTickLocs,
601         AAzTickLocs,
602         AAxTickLabels,
603         AAyTickLabels,
604         AAzTickLabels,
605         webOptions) -> (
606         object,
607         camera,
608         where)
609 {
610     ImageMessage(
611         id,
612         backgroundColor,
613         throttle,
614         RECenable,
615         RECfile,
616         RECformat,
617         RECresolution,
618         RECaspect,
619         AAenable,
620         AAlabels,
621         AAticks,
622         AAcorners,
623         AAframe,
624         AAadjust,
625         AAcursor,
626         AAgrid,
627         AAcolors,
628         AAannotation,
629         AAlabelscale,
630         AAfont,
631         AAxTickLocs,
632         AAyTickLocs,
633         AAzTickLocs,
634         AAxTickLabels,
635         AAyTickLabels,
636         AAzTickLabels,
637         interactionMode,
638         title,
639         renderMode,
640         buttonUpApprox,
641         buttonDownApprox,
642         buttonUpDensity,
643         buttonDownDensity) [instance: 1, cache: 1];
644     autoCamera =
645         AutoCamera(
646             object,
647             "front",
648             object,
649             resolution,
650             aspect,
651             [0,1,0],
652             perspective,
653             viewAngle,
654             backgroundColor) [instance: 1, cache: 1];
655     realCamera =
656         Camera(
657             to,
658             from,
659             width,
660             resolution,
661             aspect,
662             up,
663             perspective,
664             viewAngle,
665             backgroundColor) [instance: 1, cache: 1];
666     coloredDefaultCamera = 
667          UpdateCamera(defaultCamera,
668             background=backgroundColor) [instance: 1, cache: 1];
669     nullDefaultCamera =
670         Inquire(defaultCamera,
671             "is null + 1") [instance: 1, cache: 1];
672     resetCamera =
673         Switch(
674             nullDefaultCamera,
675             coloredDefaultCamera,
676             autoCamera) [instance: 1, cache: 1];
677     resetNull = 
678         Inquire(
679             reset,
680             "is null + 1") [instance: 2, cache: 1];
681     reset =
682         Switch(
683             resetNull,
684             reset,
685             0) [instance: 2, cache: 1];
686     whichCamera =
687         Compute(
688             "($0 != 0 || $1 == 0) ? 1 : 2",
689             reset,
690             useVector) [instance: 1, cache: 1];
691     camera = Switch(
692             whichCamera,
693             resetCamera,
694             realCamera) [instance: 3, cache: 1];
695     AAobject =
696         AutoAxes(
697             object,
698             camera,
699             AAlabels,
700             AAticks,
701             AAcorners,
702             AAframe,
703             AAadjust,
704             AAcursor,
705             AAgrid,
706             AAcolors,
707             AAannotation,
708             AAlabelscale,
709             AAfont,
710             AAxTickLocs,
711             AAyTickLocs,
712             AAzTickLocs,
713             AAxTickLabels,
714             AAyTickLabels,
715             AAzTickLabels) [instance: 1, cache: 1];
716     switchAAenable = Compute("$0+1",
717              AAenable) [instance: 2, cache: 1];
718     object = Switch(
719              switchAAenable,
720              object,
721              AAobject) [instance:4, cache: 1];
722     SWapproximation_options =
723         Switch(
724             buttonState,
725             buttonUpApprox,
726             buttonDownApprox) [instance: 5, cache: 1];
727     SWdensity_options =
728         Switch(
729             buttonState,
730             buttonUpDensity,
731             buttonDownDensity) [instance: 6, cache: 1];
732     HWapproximation_options =
733         Format(
734             "%s,%s",
735             buttonDownApprox,
736             buttonUpApprox) [instance: 1, cache: 1];
737     HWdensity_options =
738         Format(
739             "%d,%d",
740             buttonDownDensity,
741             buttonUpDensity) [instance: 2, cache: 1];
742     switchRenderMode = Compute(
743              "$0+1",
744              renderMode) [instance: 3, cache: 1];
745     approximation_options = Switch(
746              switchRenderMode,
747             SWapproximation_options,
748              HWapproximation_options) [instance: 7, cache: 1];
749     density_options = Switch(
750              switchRenderMode,
751             SWdensity_options,
752             HWdensity_options) [instance: 8, cache: 1];
753     renderModeString = Switch(
754             switchRenderMode,
755             "software",
756             "hardware")[instance: 9, cache: 1];
757     object_tag = Inquire(
758             object,
759             "object tag")[instance: 3, cache: 1];
760     annoted_object =
761         Options(
762             object,
763             "send boxes",
764             0,
765             "cache",
766             1,
767             "object tag",
768             object_tag,
769             "ddcamera",
770             whichCamera,
771             "rendering approximation",
772             approximation_options,
773             "render every",
774             density_options,
775             "button state",
776             buttonState,
777             "rendering mode",
778             renderModeString) [instance: 1, cache: 1];
779     RECresNull =
780         Inquire(
781             RECresolution,
782             "is null + 1") [instance: 4, cache: 1];
783     ImageResolution =
784         Inquire(
785             camera,
786             "camera resolution") [instance: 5, cache: 1];
787     RECresolution =
788         Switch(
789             RECresNull,
790             RECresolution,
791             ImageResolution) [instance: 10, cache: 1];
792     RECaspectNull =
793         Inquire(
794             RECaspect,
795             "is null + 1") [instance: 6, cache: 1];
796     ImageAspect =
797         Inquire(
798             camera,
799             "camera aspect") [instance: 7, cache: 1];
800     RECaspect =
801         Switch(
802             RECaspectNull,
803             RECaspect,
804             ImageAspect) [instance: 11, cache: 1];
805     switchRECenable = Compute(
806           "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4",
807             RECenable,
808             switchRenderMode,
809             RECresolution,
810             ImageResolution,
811             RECaspect,
812              ImageAspect) [instance: 4, cache: 1];
813     NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object);
814     Display(
815         NoRECobject,
816         camera,
817         where,
818         throttle) [instance: 1, cache: 1];
819     image =
820         Render(
821             RECNoRerenderObject,
822             camera) [instance: 1, cache: 1];
823     Display(
824         image,
825         NULL,
826         where,
827         throttle) [instance: 2, cache: 1];
828     WriteImage(
829         image,
830         RECfile,
831         RECformat) [instance: 1, cache: 1];
832     rec_where = Display(
833         RECNoRerHW,
834         camera,
835         where,
836         throttle) [instance: 1, cache: 0];
837     rec_image = ReadImageWindow(
838         rec_where) [instance: 1, cache: 1];
839     WriteImage(
840         rec_image,
841         RECfile,
842         RECformat) [instance: 1, cache: 1];
843     RECupdateCamera =
844         UpdateCamera(
845             camera,
846             resolution=RECresolution,
847             aspect=RECaspect) [instance: 2, cache: 1];
848     Display(
849         RECRerenderObject,
850         camera,
851         where,
852         throttle) [instance: 1, cache: 1];
853     RECRerenderObject =
854         ScaleScreen(
855             RECRerenderObject,
856             NULL,
857             RECresolution,
858             camera) [instance: 1, cache: 1];
859     image =
860         Render(
861             RECRerenderObject,
862             RECupdateCamera) [instance: 2, cache: 1];
863     WriteImage(
864         image,
865         RECfile,
866         RECformat) [instance: 2, cache: 1];
867 }
868 main_Image_1_in_1 = "Image_1";
869 main_Image_1_in_3 = "X24,,";
870 main_Image_1_in_4 = 0;
871 main_Image_1_in_5 = NULL;
872 main_Image_1_in_6 = NULL;
873 main_Image_1_in_7 = NULL;
874 main_Image_1_in_8 = NULL;
875 main_Image_1_in_9 = NULL;
876 main_Image_1_in_10 = NULL;
877 main_Image_1_in_11 = NULL;
878 main_Image_1_in_12 = NULL;
879 main_Image_1_in_13 = NULL;
880 main_Image_1_in_14 = 1;
881 main_Image_1_in_15 = NULL;
882 main_Image_1_in_16 = NULL;
883 main_Image_1_in_17 = NULL;
884 main_Image_1_in_18 = NULL;
885 main_Image_1_in_19 = 0;
886 main_Image_1_in_20 = NULL;
887 main_Image_1_in_21 = NULL;
888 main_Image_1_in_22 = NULL;
889 main_Image_1_in_23 = NULL;
890 main_Image_1_in_25 = NULL;
891 main_Image_1_in_26 = NULL;
892 main_Image_1_in_27 = NULL;
893 main_Image_1_in_28 = NULL;
894 main_Image_1_in_29 = NULL;
895 main_Image_1_in_30 = NULL;
896 main_Image_1_in_31 = NULL;
897 main_Image_1_in_32 = NULL;
898 main_Image_1_in_33 = NULL;
899 main_Image_1_in_34 = NULL;
900 main_Image_1_in_35 = NULL;
901 main_Image_1_in_36 = NULL;
902 main_Image_1_in_37 = NULL;
903 main_Image_1_in_38 = NULL;
904 main_Image_1_in_39 = NULL;
905 main_Image_1_in_40 = NULL;
906 main_Image_1_in_41 = NULL;
907 main_Image_1_in_42 = NULL;
908 main_Image_1_in_43 = NULL;
909 main_Image_1_in_44 = NULL;
910 main_Image_1_in_45 = NULL;
911 main_Image_1_in_46 = NULL;
912 main_Image_1_in_47 = NULL;
913 main_Image_1_in_48 = NULL;
914 main_Image_1_in_49 = NULL;
915 main_SetLocal_1_in_3 = NULL;
916 main_SetLocal_2_in_3 = NULL;
917 main_SetLocal_3_in_3 = NULL;
918 main_SetLocal_4_in_3 = NULL;
919 Executive("product version 4 4 4");
920 $sync
921
922 sequence main();
923 play;