// // time: Tue Jan 8 15:09:36 2002 // // version: 3.1.2 (format), 4.1.3 (DX) // // // MODULE main // // comment: Visualize the results of a BEARCLAW computation // page assignment: CollectGrids order=5, windowed=0, showing=1 // page assignment: Frame Info order=2, windowed=0, showing=0 // page assignment: Grid Loop order=3, windowed=0, showing=0 // page assignment: ReadGridData order=4, windowed=0, showing=0 // page assignment: RenderGrids order=6, windowed=0, showing=0 // workspace: width = 606, height = 679 // layout: snap = 0, width = 50, height = 50, align = NN // macro main( ) -> ( ) { // // node Import[12]: x = 59, y = 19, inputs = 6, label = Import // input[1]: defaulting = 0, visible = 1, type = 32, value = "./out/global.hdf" // input[2]: defaulting = 0, visible = 1, type = 32, value = "0" // input[3]: defaulting = 0, visible = 1, type = 32, value = "hdf" // page group: Frame Info // main_Import_12_out_1 = Import( main_Import_12_in_1, main_Import_12_in_2, main_Import_12_in_3, main_Import_12_in_4, main_Import_12_in_5, main_Import_12_in_6 ) [instance: 12, cache: 1]; // // node Extract[8]: x = 165, y = 21, inputs = 2, label = Extract // page group: Frame Info // main_Extract_8_out_1 = Extract( main_Import_12_out_1, main_Extract_8_in_2 ) [instance: 8, cache: 1]; // // node Select[21]: x = 251, y = 25, inputs = 3, label = Select // input[2]: defaulting = 0, visible = 1, type = 1, value = 0 // page group: Frame Info // main_Select_21_out_1 = Select( main_Extract_8_out_1, main_Select_21_in_2, main_Select_21_in_3 ) [instance: 21, cache: 1]; // // node Compute[18]: x = 315, y = 26, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "int($0)" // page group: Frame Info // expression: value = int(a) // name[2]: value = a // main_Compute_18_out_1 = Compute( main_Compute_18_in_1, main_Select_21_out_1 ) [instance: 18, cache: 1]; // // node Sequencer[1]: x = 426, y = 72, inputs = 7, label = Sequencer // input[1]: defaulting = 0, visible = 0, type = 32, value = "Sequencer_1" // input[4]: defaulting = 1, visible = 1, type = 1, value = 0 // input[5]: defaulting = 1, visible = 1, type = 1, value = 40 // input[6]: defaulting = 1, visible = 0, type = 1, value = 1 // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 0 40 1 0 40 1 } // page group: Frame Info // vcr[1]: min = 0, max = 40, beg = 0, end = 40, cur = 0, inc = 1, loop = off, step = off, pal = off // window: position = (0.0288,0.3683), size = 0.1750x0.0667 // main_Sequencer_1_in_3 = @frame; main_Sequencer_1_out_1[cache: 2] = Sequencer( main_Sequencer_1_in_1, main_Sequencer_1_in_2, main_Sequencer_1_in_3, main_Sequencer_1_in_4, main_Compute_18_out_1, main_Sequencer_1_in_6, main_Sequencer_1_in_7 ) [instance: 1, cache: 1]; // // node Format[10]: x = 270, y = 230, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "./out/q%5.5d.hdf" // page group: Frame Info // main_Format_10_out_1 = Format( main_Format_10_in_1, main_Sequencer_1_out_1, main_Format_10_in_3 ) [instance: 10, cache: 1]; // // node Transmitter[5]: x = 262, y = 338, inputs = 1, label = GridDataFile // page group: Frame Info // GridDataFile = main_Format_10_out_1; // // node Receiver[5]: x = 5, y = 285, inputs = 1, label = GridDataFile // page group: ReadGridData // main_Receiver_5_out_1[cache: 0] = GridDataFile; // // node GetLocal[2]: x = 132, y = 743, inputs = 3, label = GetLocal // input[1]: defaulting = 0, visible = 1, type = 67108863, value = 0 // page group: Grid Loop // main_GetLocal_2_out_1, main_GetLocal_2_out_2 = GetLocal( main_GetLocal_2_in_1, main_GetLocal_2_in_2, main_GetLocal_2_in_3 ) [instance: 2, cache: 1]; // // node Transmitter[6]: x = 26, y = 1023, inputs = 1, label = FirstRecord // page group: Grid Loop // FirstRecord = main_GetLocal_2_out_1; // // node Receiver[6]: x = 234, y = 18, inputs = 1, label = FirstRecord // page group: ReadGridData // main_Receiver_6_out_1[cache: 0] = FirstRecord; // // node Compute[27]: x = 519, y = 165, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+4" // page group: ReadGridData // expression: value = a+4 // name[2]: value = a // name[3]: value = b // main_Compute_27_out_1 = Compute( main_Compute_27_in_1, main_Receiver_6_out_1, main_Compute_27_in_3 ) [instance: 27, cache: 1]; // // node Format[18]: x = 517, y = 289, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "%d" // page group: ReadGridData // main_Format_18_out_1 = Format( main_Format_18_in_1, main_Compute_27_out_1, main_Format_18_in_3 ) [instance: 18, cache: 1]; // // node Import[15]: x = 517, y = 425, inputs = 6, label = Import // input[2]: defaulting = 1, visible = 1, type = 32, value = "4" // page group: ReadGridData // main_Import_15_out_1 = Import( main_Receiver_5_out_1, main_Format_18_out_1, main_Import_15_in_3, main_Import_15_in_4, main_Import_15_in_5, main_Import_15_in_6 ) [instance: 15, cache: 1]; // // node Transmitter[18]: x = 541, y = 511, inputs = 1, label = x // page group: ReadGridData // x = main_Import_15_out_1; // // node Receiver[19]: x = 27, y = 10, inputs = 1, label = x // page group: CollectGrids // main_Receiver_19_out_1[cache: 0] = x; // // node Compute[29]: x = 611, y = 166, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+5" // page group: ReadGridData // expression: value = a+5 // name[2]: value = a // name[3]: value = b // main_Compute_29_out_1 = Compute( main_Compute_29_in_1, main_Receiver_6_out_1, main_Compute_29_in_3 ) [instance: 29, cache: 1]; // // node Format[20]: x = 609, y = 293, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "%d" // page group: ReadGridData // main_Format_20_out_1 = Format( main_Format_20_in_1, main_Compute_29_out_1, main_Format_20_in_3 ) [instance: 20, cache: 1]; // // node Import[16]: x = 609, y = 421, inputs = 6, label = Import // input[2]: defaulting = 1, visible = 1, type = 32, value = "5" // page group: ReadGridData // main_Import_16_out_1 = Import( main_Receiver_5_out_1, main_Format_20_out_1, main_Import_16_in_3, main_Import_16_in_4, main_Import_16_in_5, main_Import_16_in_6 ) [instance: 16, cache: 1]; // // node Transmitter[19]: x = 634, y = 508, inputs = 1, label = y // page group: ReadGridData // y = main_Import_16_out_1; // // node Receiver[20]: x = 61, y = 10, inputs = 1, label = y // page group: CollectGrids // main_Receiver_20_out_1[cache: 0] = y; // // node Compute[25]: x = 22, y = 88, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "[$0,$1,0]" // page group: CollectGrids // expression: value = [a,b,0] // name[2]: value = a // name[3]: value = b // main_Compute_25_out_1 = Compute( main_Compute_25_in_1, main_Receiver_19_out_1, main_Receiver_20_out_1 ) [instance: 25, cache: 1]; // // node Format[13]: x = 115, y = 288, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "%d" // page group: ReadGridData // main_Format_13_out_1 = Format( main_Format_13_in_1, main_Receiver_6_out_1, main_Format_13_in_3 ) [instance: 13, cache: 1]; // // node Import[8]: x = 115, y = 429, inputs = 6, label = Import // input[2]: defaulting = 1, visible = 1, type = 16777248, value = {"0""1" "2" "3"} // page group: ReadGridData // main_Import_8_out_1 = Import( main_Receiver_5_out_1, main_Format_13_out_1, main_Import_8_in_3, main_Import_8_in_4, main_Import_8_in_5, main_Import_8_in_6 ) [instance: 8, cache: 1]; // // node Transmitter[1]: x = 138, y = 515, inputs = 1, label = rho // page group: ReadGridData // rho = main_Import_8_out_1; // // node Receiver[21]: x = 135, y = 10, inputs = 1, label = rho // page group: CollectGrids // main_Receiver_21_out_1[cache: 0] = rho; // // node Mark[2]: x = 136, y = 90, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: CollectGrids // main_Mark_2_out_1 = Mark( main_Receiver_21_out_1, main_Mark_2_in_2 ) [instance: 2, cache: 1]; // // node Replace[1]: x = 112, y = 165, inputs = 4, label = Replace // input[3]: defaulting = 0, visible = 1, type = 32, value = "data" // input[4]: defaulting = 0, visible = 1, type = 32, value = "data" // page group: CollectGrids // main_Replace_1_out_1 = Replace( main_Compute_25_out_1, main_Mark_2_out_1, main_Replace_1_in_3, main_Replace_1_in_4 ) [instance: 1, cache: 1]; // // node Unmark[2]: x = 130, y = 239, inputs = 2, label = Unmark // input[2]: defaulting = 1, visible = 1, type = 32, value = "positions" // page group: CollectGrids // main_Unmark_2_out_1 = Unmark( main_Replace_1_out_1, main_Unmark_2_in_2 ) [instance: 2, cache: 1]; // // node Import[13]: x = 440, y = 10, inputs = 6, label = Import // input[1]: defaulting = 0, visible = 1, type = 32, value = "./out/global.hdf" // input[2]: defaulting = 0, visible = 1, type = 32, value = "1" // input[3]: defaulting = 0, visible = 1, type = 32, value = "hdf" // page group: CollectGrids // main_Import_13_out_1 = Import( main_Import_13_in_1, main_Import_13_in_2, main_Import_13_in_3, main_Import_13_in_4, main_Import_13_in_5, main_Import_13_in_6 ) [instance: 13, cache: 1]; // // node Extract[9]: x = 457, y = 76, inputs = 2, label = Extract // input[2]: defaulting = 1, visible = 1, type = 32, value = NULL // page group: CollectGrids // main_Extract_9_out_1 = Extract( main_Import_13_out_1, main_Extract_9_in_2 ) [instance: 9, cache: 1]; // // node Select[25]: x = 456, y = 157, inputs = 3, label = Select // input[2]: defaulting = 0, visible = 1, type = 1, value = 0 // page group: CollectGrids // main_Select_25_out_1 = Select( main_Extract_9_out_1, main_Select_25_in_2, main_Select_25_in_3 ) [instance: 25, cache: 1]; // // node Compute[22]: x = 449, y = 247, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "float($0)" // page group: CollectGrids // expression: value = float(a) // name[2]: value = a // main_Compute_22_out_1 = Compute( main_Compute_22_in_1, main_Select_25_out_1 ) [instance: 22, cache: 1]; // // node Import[14]: x = 523, y = 6, inputs = 6, label = Import // input[1]: defaulting = 0, visible = 1, type = 32, value = "./out/global.hdf" // input[2]: defaulting = 0, visible = 1, type = 32, value = "2" // input[3]: defaulting = 0, visible = 1, type = 32, value = "hdf" // page group: CollectGrids // main_Import_14_out_1 = Import( main_Import_14_in_1, main_Import_14_in_2, main_Import_14_in_3, main_Import_14_in_4, main_Import_14_in_5, main_Import_14_in_6 ) [instance: 14, cache: 1]; // // node Extract[10]: x = 536, y = 75, inputs = 2, label = Extract // input[2]: defaulting = 1, visible = 1, type = 32, value = NULL // page group: CollectGrids // main_Extract_10_out_1 = Extract( main_Import_14_out_1, main_Extract_10_in_2 ) [instance: 10, cache: 1]; // // node Select[26]: x = 546, y = 159, inputs = 3, label = Select // input[2]: defaulting = 0, visible = 1, type = 1, value = 0 // page group: CollectGrids // main_Select_26_out_1 = Select( main_Extract_10_out_1, main_Select_26_in_2, main_Select_26_in_3 ) [instance: 26, cache: 1]; // // node Compute[23]: x = 537, y = 248, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "float($0)" // page group: CollectGrids // expression: value = float(a) // name[2]: value = a // main_Compute_23_out_1 = Compute( main_Compute_23_in_1, main_Select_26_out_1 ) [instance: 23, cache: 1]; // // node AutoColor[2]: x = 310, y = 393, inputs = 10, label = AutoColor // input[7]: defaulting = 1, visible = 1, type = 5, value = NULL // input[8]: defaulting = 1, visible = 1, type = 5, value = NULL // page group: CollectGrids // main_AutoColor_2_out_1, main_AutoColor_2_out_2 = AutoColor( main_Unmark_2_out_1, main_AutoColor_2_in_2, main_AutoColor_2_in_3, main_AutoColor_2_in_4, main_AutoColor_2_in_5, main_AutoColor_2_in_6, main_Compute_22_out_1, main_Compute_23_out_1, main_AutoColor_2_in_9, main_AutoColor_2_in_10 ) [instance: 2, cache: 1]; // // node ShowConnections[1]: x = 272, y = 249, inputs = 1, label = ShowConnections // page group: CollectGrids // main_ShowConnections_1_out_1 = ShowConnections( main_Unmark_2_out_1 ) [instance: 1, cache: 1]; // // node AutoColor[3]: x = 416, y = 537, inputs = 10, label = AutoColor // input[7]: defaulting = 1, visible = 1, type = 5, value = NULL // input[8]: defaulting = 1, visible = 1, type = 5, value = NULL // page group: CollectGrids // main_AutoColor_3_out_1, main_AutoColor_3_out_2 = AutoColor( main_ShowConnections_1_out_1, main_AutoColor_3_in_2, main_AutoColor_3_in_3, main_AutoColor_3_in_4, main_AutoColor_3_in_5, main_AutoColor_3_in_6, main_Compute_22_out_1, main_Compute_23_out_1, main_AutoColor_3_in_9, main_AutoColor_3_in_10 ) [instance: 3, cache: 1]; // // node Isosurface[2]: x = 26, y = 385, inputs = 6, label = Isosurface // input[2]: defaulting = 0, visible = 1, type = 5, value = 1. // page group: CollectGrids // main_Isosurface_2_out_1 = Isosurface( main_Unmark_2_out_1, main_Isosurface_2_in_2, main_Isosurface_2_in_3, main_Isosurface_2_in_4, main_Isosurface_2_in_5, main_Isosurface_2_in_6 ) [instance: 2, cache: 1]; // // node Color[1]: x = 23, y = 489, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "black" // input[3]: defaulting = 0, visible = 1, type = 5, value = 1.0 // page group: CollectGrids // main_Color_1_out_1 = Color( main_Isosurface_2_out_1, main_Color_1_in_2, main_Color_1_in_3, main_Color_1_in_4, main_Color_1_in_5 ) [instance: 1, cache: 1]; // // node Isosurface[1]: x = 134, y = 389, inputs = 6, label = Isosurface // input[2]: defaulting = 0, visible = 1, type = 16777221, value = { 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.1 1.2 } // page group: CollectGrids // main_Isosurface_1_out_1 = Isosurface( main_Unmark_2_out_1, main_Isosurface_1_in_2, main_Isosurface_1_in_3, main_Isosurface_1_in_4, main_Isosurface_1_in_5, main_Isosurface_1_in_6 ) [instance: 1, cache: 1]; // // node Color[2]: x = 175, y = 473, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "white" // page group: CollectGrids // main_Color_2_out_1 = Color( main_Isosurface_1_out_1, main_Color_2_in_2, main_Color_2_in_3, main_Color_2_in_4, main_Color_2_in_5 ) [instance: 2, cache: 1]; // // node ColorBar[1]: x = 409, y = 387, inputs = 16, label = ColorBar // input[6]: defaulting = 1, visible = 1, type = 5, value = NULL // input[7]: defaulting = 1, visible = 1, type = 5, value = NULL // page group: CollectGrids // main_ColorBar_1_out_1 = ColorBar( main_AutoColor_2_out_2, main_ColorBar_1_in_2, main_ColorBar_1_in_3, main_ColorBar_1_in_4, main_ColorBar_1_in_5, main_Compute_22_out_1, main_Compute_23_out_1, main_ColorBar_1_in_8, main_ColorBar_1_in_9, main_ColorBar_1_in_10, main_ColorBar_1_in_11, main_ColorBar_1_in_12, main_ColorBar_1_in_13, main_ColorBar_1_in_14, main_ColorBar_1_in_15, main_ColorBar_1_in_16 ) [instance: 1, cache: 1]; // // node Collect[1]: x = 246, y = 565, inputs = 5, label = Collect // page group: CollectGrids // main_Collect_1_out_1 = Collect( main_Color_1_out_1, main_Color_2_out_1, main_AutoColor_2_out_1, main_ColorBar_1_out_1, main_AutoColor_3_out_1 ) [instance: 1, cache: 1]; // // node Transmitter[13]: x = 386, y = 617, inputs = 1, label = Image // page group: CollectGrids // Image = main_Collect_1_out_1; // // node Receiver[13]: x = 166, y = 53, inputs = 1, label = Image // page group: RenderGrids // main_Receiver_13_out_1[cache: 0] = Image; // // node GetLocal[3]: x = 325, y = 56, inputs = 3, label = GetLocal // input[1]: defaulting = 0, visible = 1, type = 67108863, value = NULL // page group: RenderGrids // main_GetLocal_3_out_1, main_GetLocal_3_out_2 = GetLocal( main_GetLocal_3_in_1, main_GetLocal_3_in_2, main_GetLocal_3_in_3 ) [instance: 3, cache: 1]; // // node Collect[2]: x = 176, y = 205, inputs = 2, label = Collect // page group: RenderGrids // main_Collect_2_out_1 = Collect( main_Receiver_13_out_1, main_GetLocal_3_out_1 ) [instance: 2, cache: 1]; // // node Format[11]: x = 28, y = 228, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "./out/t%5.5d.hdf" // page group: Frame Info // main_Format_11_out_1 = Format( main_Format_11_in_1, main_Sequencer_1_out_1, main_Format_11_in_3 ) [instance: 11, cache: 1]; // // node Import[7]: x = 52, y = 338, inputs = 6, label = Import // input[2]: defaulting = 1, visible = 1, type = 32, value = "0" // input[3]: defaulting = 0, visible = 1, type = 32, value = "hdf" // page group: Frame Info // main_Import_7_out_1[cache: 2] = Import( main_Format_11_out_1, main_Import_7_in_2, main_Import_7_in_3, main_Import_7_in_4, main_Import_7_in_5, main_Import_7_in_6 ) [instance: 7, cache: 1]; // // node Transmitter[2]: x = 52, y = 439, inputs = 1, label = FrameInfo // page group: Frame Info // FrameInfo = main_Import_7_out_1; // // node Receiver[2]: x = 241, y = 0, inputs = 1, label = FrameInfo // page group: Grid Loop // main_Receiver_2_out_1[cache: 0] = FrameInfo; // // node Select[7]: x = 320, y = 77, inputs = 3, label = Select // input[2]: defaulting = 0, visible = 1, type = 1, value = 0 // page group: Grid Loop // main_Select_7_out_1 = Select( main_Receiver_2_out_1, main_Select_7_in_2, main_Select_7_in_3 ) [instance: 7, cache: 1]; // // node Extract[6]: x = 403, y = 77, inputs = 2, label = Extract // page group: Grid Loop // main_Extract_6_out_1 = Extract( main_Select_7_out_1, main_Extract_6_in_2 ) [instance: 6, cache: 1]; // // node Select[8]: x = 479, y = 77, inputs = 3, label = Select // input[2]: defaulting = 0, visible = 0, type = 1, value = 0 // page group: Grid Loop // main_Select_8_out_1 = Select( main_Extract_6_out_1, main_Select_8_in_2, main_Select_8_in_3 ) [instance: 8, cache: 1]; // // node Compute[8]: x = 548, y = 80, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "int($0)" // page group: Grid Loop // expression: value = int(a) // name[2]: value = a // name[3]: value = b // main_Compute_8_out_1 = Compute( main_Compute_8_in_1, main_Select_8_out_1, main_Compute_8_in_3 ) [instance: 8, cache: 1]; // // node ForEachN[2]: x = 431, y = 193, inputs = 3, label = ForEachN // input[1]: defaulting = 0, visible = 1, type = 1, value = 1 // input[2]: defaulting = 1, visible = 1, type = 1, value = 3 // input[3]: defaulting = 1, visible = 1, type = 1, value = 2 // page group: Grid Loop // main_ForEachN_2_out_1, main_ForEachN_2_out_2 = ForEachN( main_ForEachN_2_in_1, main_Compute_8_out_1, main_ForEachN_2_in_3 ) [instance: 2, cache: 1]; // // node Select[5]: x = 231, y = 362, inputs = 3, label = Select // page group: Grid Loop // main_Select_5_out_1 = Select( main_Receiver_2_out_1, main_ForEachN_2_out_1, main_Select_5_in_3 ) [instance: 5, cache: 1]; // // node Extract[5]: x = 242, y = 458, inputs = 2, label = Extract // page group: Grid Loop // main_Extract_5_out_1 = Extract( main_Select_5_out_1, main_Extract_5_in_2 ) [instance: 5, cache: 1]; // // node Select[6]: x = 245, y = 549, inputs = 3, label = Select // input[2]: defaulting = 0, visible = 0, type = 1, value = 3 // page group: Grid Loop // main_Select_6_out_1 = Select( main_Extract_5_out_1, main_Select_6_in_2, main_Select_6_in_3 ) [instance: 6, cache: 1]; // // node Compute[9]: x = 252, y = 662, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "int($0)" // page group: Grid Loop // expression: value = int(a) // name[2]: value = a // name[3]: value = b // main_Compute_9_out_1 = Compute( main_Compute_9_in_1, main_Select_6_out_1, main_Compute_9_in_3 ) [instance: 9, cache: 1]; // // node Compute[6]: x = 218, y = 859, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+$1" // page group: Grid Loop // expression: value = a+b // name[2]: value = a // name[3]: value = b // main_Compute_6_out_1 = Compute( main_Compute_6_in_1, main_GetLocal_2_out_1, main_Compute_9_out_1 ) [instance: 6, cache: 1]; // // node Compute[7]: x = 365, y = 855, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+$1-1" // page group: Grid Loop // expression: value = a+b-1 // name[2]: value = a // name[3]: value = b // main_Compute_7_out_1 = Compute( main_Compute_7_in_1, main_GetLocal_2_out_1, main_Compute_9_out_1 ) [instance: 7, cache: 1]; // // node Compute[11]: x = 210, y = 161, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+1" // page group: ReadGridData // expression: value = a+1 // name[2]: value = a // name[3]: value = b // main_Compute_11_out_1 = Compute( main_Compute_11_in_1, main_Receiver_6_out_1, main_Compute_11_in_3 ) [instance: 11, cache: 1]; // // node Compute[12]: x = 318, y = 162, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+2" // page group: ReadGridData // expression: value = a+2 // name[2]: value = a // name[3]: value = b // main_Compute_12_out_1 = Compute( main_Compute_12_in_1, main_Receiver_6_out_1, main_Compute_12_in_3 ) [instance: 12, cache: 1]; // // node Compute[30]: x = 419, y = 168, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0+3" // page group: ReadGridData // expression: value = a+3 // name[2]: value = a // name[3]: value = b // main_Compute_30_out_1 = Compute( main_Compute_30_in_1, main_Receiver_6_out_1, main_Compute_30_in_3 ) [instance: 30, cache: 1]; // // node Format[7]: x = 532, y = 165, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "Processing frame nr. %d" // page group: Frame Info // main_Format_7_out_1 = Format( main_Format_7_in_1, main_Sequencer_1_out_1, main_Format_7_in_3 ) [instance: 7, cache: 1]; // // node Format[8]: x = 545, y = 357, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "Processing grid nr. %d" // page group: Grid Loop // main_Format_8_out_1 = Format( main_Format_8_in_1, main_Compute_8_out_1, main_Format_8_in_3 ) [instance: 8, cache: 1]; // // node Receiver[8]: x = 697, y = 23, inputs = 1, label = FirstRecord // page group: ReadGridData // main_Receiver_8_out_1[cache: 0] = FirstRecord; // // node Transmitter[7]: x = 360, y = 1027, inputs = 1, label = LastRecord // page group: Grid Loop // LastRecord = main_Compute_7_out_1; // // node Receiver[9]: x = 784, y = 23, inputs = 1, label = LastRecord // page group: ReadGridData // main_Receiver_9_out_1[cache: 0] = LastRecord; // // node Format[12]: x = 763, y = 157, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "Reading records %d to %d from HDF file" // page group: ReadGridData // main_Format_12_out_1 = Format( main_Format_12_in_1, main_Receiver_8_out_1, main_Receiver_9_out_1 ) [instance: 12, cache: 1]; // // node Format[14]: x = 208, y = 285, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "%d" // page group: ReadGridData // main_Format_14_out_1 = Format( main_Format_14_in_1, main_Compute_11_out_1, main_Format_14_in_3 ) [instance: 14, cache: 1]; // // node Format[15]: x = 316, y = 287, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "%d" // page group: ReadGridData // main_Format_15_out_1 = Format( main_Format_15_in_1, main_Compute_12_out_1, main_Format_15_in_3 ) [instance: 15, cache: 1]; // // node Format[16]: x = 425, y = 285, inputs = 3, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "%d" // page group: ReadGridData // main_Format_16_out_1 = Format( main_Format_16_in_1, main_Compute_30_out_1, main_Format_16_in_3 ) [instance: 16, cache: 1]; // // node Transmitter[12]: x = 468, y = 263, inputs = 1, label = LastGrid // page group: Grid Loop // LastGrid = main_ForEachN_2_out_2; // // node Receiver[18]: x = 77, y = 314, inputs = 1, label = LastGrid // page group: RenderGrids // main_Receiver_18_out_1[cache: 0] = LastGrid; // // node Route[2]: x = 168, y = 383, inputs = 2, outputs = 2, label = Route // page group: RenderGrids // main_Route_2_out_1, main_Route_2_out_2 = Route( main_Receiver_18_out_1, main_Collect_2_out_1 ) [instance: 2, cache: 1]; // // node Image[3]: x = 144, y = 485, inputs = 49, label = Image // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_3" // input[4]: defaulting = 0, visible = 0, type = 1, value = 1 // input[5]: defaulting = 0, visible = 0, type = 8, value = [2.37246 -0.106418 0] // input[6]: defaulting = 0, visible = 0, type = 8, value = [2.37246 -0.106418 35.9425] // input[7]: defaulting = 0, visible = 0, type = 5, value = 7.12998 // input[8]: defaulting = 0, visible = 0, type = 1, value = 773 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.408 // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 1 0] // input[11]: defaulting = 1, visible = 0, type = 5, value = 11.3288 // input[12]: defaulting = 0, visible = 0, type = 1, value = 0 // input[14]: defaulting = 0, visible = 0, type = 1, value = 1 // input[15]: defaulting = 1, visible = 0, type = 32, value = "none" // input[16]: defaulting = 1, visible = 0, type = 32, value = "none" // input[17]: defaulting = 1, visible = 0, type = 1, value = 1 // input[18]: defaulting = 1, visible = 0, type = 1, value = 1 // input[19]: defaulting = 0, visible = 0, type = 1, value = 0 // input[25]: defaulting = 0, visible = 0, type = 32, value = "anim2" // input[26]: defaulting = 0, visible = 0, type = 32, value = "miff" // input[27]: defaulting = 1, visible = 0, type = 1, value = 1200 // input[28]: defaulting = 1, visible = 0, type = 5, value = 0.75 // input[29]: defaulting = 0, visible = 0, type = 3, value = 0 // input[30]: defaulting = 0, visible = 0, type = 16777248, value = {"x", "y", ""} // input[41]: defaulting = 0, visible = 0, type = 32, value = "none" // page group: RenderGrids // depth: value = 24 // window: position = (0.0000,0.0308), size = 0.4919x0.2992 // internal caching: 1 // main_Image_3_out_1, main_Image_3_out_2, main_Image_3_out_3 = Image( main_Image_3_in_1, main_Route_2_out_1, main_Image_3_in_3, main_Image_3_in_4, main_Image_3_in_5, main_Image_3_in_6, main_Image_3_in_7, main_Image_3_in_8, main_Image_3_in_9, main_Image_3_in_10, main_Image_3_in_11, main_Image_3_in_12, main_Image_3_in_13, main_Image_3_in_14, main_Image_3_in_15, main_Image_3_in_16, main_Image_3_in_17, main_Image_3_in_18, main_Image_3_in_19, main_Image_3_in_20, main_Image_3_in_21, main_Image_3_in_22, main_Image_3_in_23, main_Image_3_in_24, main_Image_3_in_25, main_Image_3_in_26, main_Image_3_in_27, main_Image_3_in_28, main_Image_3_in_29, main_Image_3_in_30, main_Image_3_in_31, main_Image_3_in_32, main_Image_3_in_33, main_Image_3_in_34, main_Image_3_in_35, main_Image_3_in_36, main_Image_3_in_37, main_Image_3_in_38, main_Image_3_in_39, main_Image_3_in_40, main_Image_3_in_41, main_Image_3_in_42, main_Image_3_in_43, main_Image_3_in_44, main_Image_3_in_45, main_Image_3_in_46, main_Image_3_in_47, main_Image_3_in_48, main_Image_3_in_49 ) [instance: 3, cache: 1]; // // node Import[9]: x = 208, y = 429, inputs = 6, label = Import // input[2]: defaulting = 1, visible = 1, type = 16777248, value = {"0""1" "2" "3"} // page group: ReadGridData // main_Import_9_out_1 = Import( main_Receiver_5_out_1, main_Format_14_out_1, main_Import_9_in_3, main_Import_9_in_4, main_Import_9_in_5, main_Import_9_in_6 ) [instance: 9, cache: 1]; // // node Import[10]: x = 316, y = 429, inputs = 6, label = Import // input[2]: defaulting = 1, visible = 1, type = 16777248, value = {"0""1" "2" "3"} // page group: ReadGridData // main_Import_10_out_1 = Import( main_Receiver_5_out_1, main_Format_15_out_1, main_Import_10_in_3, main_Import_10_in_4, main_Import_10_in_5, main_Import_10_in_6 ) [instance: 10, cache: 1]; // // node Import[11]: x = 425, y = 428, inputs = 6, label = Import // input[2]: defaulting = 1, visible = 1, type = 16777248, value = {"0""1" "2" "3"} // page group: ReadGridData // main_Import_11_out_1 = Import( main_Receiver_5_out_1, main_Format_16_out_1, main_Import_11_in_3, main_Import_11_in_4, main_Import_11_in_5, main_Import_11_in_6 ) [instance: 11, cache: 1]; // // node Message[2]: x = 556, y = 255, inputs = 3, label = Message // page group: Frame Info // Message( main_Format_7_out_1, main_Message_2_in_2, main_Message_2_in_3 ) [instance: 2, cache: 1]; // // node Message[3]: x = 569, y = 451, inputs = 3, label = Message // page group: Grid Loop // Message( main_Format_8_out_1, main_Message_3_in_2, main_Message_3_in_3 ) [instance: 3, cache: 1]; // // node Message[4]: x = 787, y = 246, inputs = 3, label = Message // page group: ReadGridData // Message( main_Format_12_out_1, main_Message_4_in_2, main_Message_4_in_3 ) [instance: 4, cache: 1]; // // node Select[9]: x = 405, y = 360, inputs = 3, label = Select // page group: Grid Loop // main_Select_9_out_1 = Select( main_Receiver_2_out_1, main_ForEachN_2_out_1, main_Select_9_in_3 ) [instance: 9, cache: 1]; // // node SetLocal[3]: x = 133, y = 951, inputs = 3, label = SetLocal // page group: Grid Loop // SetLocal( main_Compute_6_out_1, main_GetLocal_2_out_2, main_SetLocal_3_in_3 ) [instance: 3, cache: 1]; // // node SetLocal[4]: x = 326, y = 299, inputs = 3, label = SetLocal // page group: RenderGrids // SetLocal( main_Collect_2_out_1, main_GetLocal_3_out_2, main_SetLocal_4_in_3 ) [instance: 4, cache: 1]; // // node Transmitter[8]: x = 400, y = 460, inputs = 1, label = GridInfo // page group: Grid Loop // GridInfo = main_Select_9_out_1; // // node Transmitter[9]: x = 227, y = 516, inputs = 1, label = rhou // page group: ReadGridData // rhou = main_Import_9_out_1; // // node Transmitter[10]: x = 335, y = 514, inputs = 1, label = rhov // page group: ReadGridData // rhov = main_Import_10_out_1; // // node Transmitter[11]: x = 442, y = 511, inputs = 1, label = rhoE // page group: ReadGridData // rhoE = main_Import_11_out_1; // // decorator Annotate pos=(629,88) size=137x44 style(Label), value = // annotation user_begin: 21 // annotation user: // annotation user: grids in this frame // annotation user_end: // page group: Grid Loop // // decorator Annotate pos=(526,71) size=181x60 style(Label), value = // annotation user_begin: 41 // annotation user: // annotation user: Each frame corresponds // annotation user: to a time slice. // annotation user_end: // page group: Frame Info // // decorator Annotate pos=(105,237) size=148x44 style(Label), value = // annotation user_begin: 22 // annotation user: // annotation user: name for this frame. // annotation user_end: // page group: Frame Info // network: end of macro body CacheScene(main_Image_3_in_1, main_Image_3_out_1, main_Image_3_out_2); } main_Import_12_in_1 = "./out/global.hdf"; main_Import_12_in_2 = "0"; main_Import_12_in_3 = "hdf"; main_Import_12_in_4 = NULL; main_Import_12_in_5 = NULL; main_Import_12_in_6 = NULL; main_Import_12_out_1 = NULL; main_Extract_8_in_2 = NULL; main_Extract_8_out_1 = NULL; main_Select_21_in_2 = 0; main_Select_21_in_3 = NULL; main_Select_21_out_1 = NULL; main_Compute_18_in_1 = "int($0)"; main_Compute_18_out_1 = NULL; main_Sequencer_1_in_1 = "Sequencer_1"; main_Sequencer_1_in_2 = NULL; main_Sequencer_1_in_3 = NULL; main_Sequencer_1_in_4 = NULL; main_Sequencer_1_in_6 = NULL; main_Sequencer_1_in_7 = { 0 40 1 0 40 1 }; main_Sequencer_1_out_1 = NULL; @startframe = 0; @nextframe = @startframe; @endframe = 40; @deltaframe = 1; main_Format_10_in_1 = "./out/q%5.5d.hdf"; main_Format_10_in_3 = NULL; main_Format_10_out_1 = NULL; main_Transmitter_5_out_1 = NULL; main_Receiver_5_out_1 = NULL; main_GetLocal_2_in_1 = 0; main_GetLocal_2_in_2 = NULL; main_GetLocal_2_in_3 = NULL; main_GetLocal_2_out_1 = NULL; main_GetLocal_2_out_2 = NULL; main_Transmitter_6_out_1 = NULL; main_Receiver_6_out_1 = NULL; main_Compute_27_in_1 = "$0+4"; main_Compute_27_in_3 = NULL; main_Compute_27_out_1 = NULL; main_Format_18_in_1 = "%d"; main_Format_18_in_3 = NULL; main_Format_18_out_1 = NULL; main_Import_15_in_3 = NULL; main_Import_15_in_4 = NULL; main_Import_15_in_5 = NULL; main_Import_15_in_6 = NULL; main_Import_15_out_1 = NULL; main_Transmitter_18_out_1 = NULL; main_Receiver_19_out_1 = NULL; main_Compute_29_in_1 = "$0+5"; main_Compute_29_in_3 = NULL; main_Compute_29_out_1 = NULL; main_Format_20_in_1 = "%d"; main_Format_20_in_3 = NULL; main_Format_20_out_1 = NULL; main_Import_16_in_3 = NULL; main_Import_16_in_4 = NULL; main_Import_16_in_5 = NULL; main_Import_16_in_6 = NULL; main_Import_16_out_1 = NULL; main_Transmitter_19_out_1 = NULL; main_Receiver_20_out_1 = NULL; main_Compute_25_in_1 = "[$0,$1,0]"; main_Compute_25_out_1 = NULL; main_Format_13_in_1 = "%d"; main_Format_13_in_3 = NULL; main_Format_13_out_1 = NULL; main_Import_8_in_3 = NULL; main_Import_8_in_4 = NULL; main_Import_8_in_5 = NULL; main_Import_8_in_6 = NULL; main_Import_8_out_1 = NULL; main_Transmitter_1_out_1 = NULL; main_Receiver_21_out_1 = NULL; main_Mark_2_in_2 = "positions"; main_Mark_2_out_1 = NULL; main_Replace_1_in_3 = "data"; main_Replace_1_in_4 = "data"; main_Replace_1_out_1 = NULL; main_Unmark_2_in_2 = NULL; main_Unmark_2_out_1 = NULL; main_Import_13_in_1 = "./out/global.hdf"; main_Import_13_in_2 = "1"; main_Import_13_in_3 = "hdf"; main_Import_13_in_4 = NULL; main_Import_13_in_5 = NULL; main_Import_13_in_6 = NULL; main_Import_13_out_1 = NULL; main_Extract_9_in_2 = NULL; main_Extract_9_out_1 = NULL; main_Select_25_in_2 = 0; main_Select_25_in_3 = NULL; main_Select_25_out_1 = NULL; main_Compute_22_in_1 = "float($0)"; main_Compute_22_out_1 = NULL; main_Import_14_in_1 = "./out/global.hdf"; main_Import_14_in_2 = "2"; main_Import_14_in_3 = "hdf"; main_Import_14_in_4 = NULL; main_Import_14_in_5 = NULL; main_Import_14_in_6 = NULL; main_Import_14_out_1 = NULL; main_Extract_10_in_2 = NULL; main_Extract_10_out_1 = NULL; main_Select_26_in_2 = 0; main_Select_26_in_3 = NULL; main_Select_26_out_1 = NULL; main_Compute_23_in_1 = "float($0)"; main_Compute_23_out_1 = NULL; main_AutoColor_2_in_2 = NULL; main_AutoColor_2_in_3 = NULL; main_AutoColor_2_in_4 = NULL; main_AutoColor_2_in_5 = NULL; main_AutoColor_2_in_6 = NULL; main_AutoColor_2_in_9 = NULL; main_AutoColor_2_in_10 = NULL; main_AutoColor_2_out_1 = NULL; main_AutoColor_2_out_2 = NULL; main_ShowConnections_1_out_1 = NULL; main_AutoColor_3_in_2 = NULL; main_AutoColor_3_in_3 = NULL; main_AutoColor_3_in_4 = NULL; main_AutoColor_3_in_5 = NULL; main_AutoColor_3_in_6 = NULL; main_AutoColor_3_in_9 = NULL; main_AutoColor_3_in_10 = NULL; main_AutoColor_3_out_1 = NULL; main_Isosurface_2_in_2 = 1.; main_Isosurface_2_in_3 = NULL; main_Isosurface_2_in_4 = NULL; main_Isosurface_2_in_5 = NULL; main_Isosurface_2_in_6 = NULL; main_Isosurface_2_out_1 = NULL; main_Color_1_in_2 = "black"; main_Color_1_in_3 = 1.0; main_Color_1_in_4 = NULL; main_Color_1_in_5 = NULL; main_Color_1_out_1 = NULL; main_Isosurface_1_in_2 = { 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.1 1.2 }; main_Isosurface_1_in_3 = NULL; main_Isosurface_1_in_4 = NULL; main_Isosurface_1_in_5 = NULL; main_Isosurface_1_in_6 = NULL; main_Isosurface_1_out_1 = NULL; main_Color_2_in_2 = "white"; main_Color_2_in_3 = NULL; main_Color_2_in_4 = NULL; main_Color_2_in_5 = NULL; main_Color_2_out_1 = NULL; main_ColorBar_1_in_2 = NULL; main_ColorBar_1_in_3 = NULL; main_ColorBar_1_in_4 = NULL; main_ColorBar_1_in_5 = NULL; main_ColorBar_1_in_8 = NULL; main_ColorBar_1_in_9 = NULL; main_ColorBar_1_in_10 = NULL; main_ColorBar_1_in_11 = NULL; main_ColorBar_1_in_12 = NULL; main_ColorBar_1_in_13 = NULL; main_ColorBar_1_in_14 = NULL; main_ColorBar_1_in_15 = NULL; main_ColorBar_1_in_16 = NULL; main_ColorBar_1_out_1 = NULL; main_Collect_1_out_1 = NULL; main_Transmitter_13_out_1 = NULL; main_Receiver_13_out_1 = NULL; main_GetLocal_3_in_1 = NULL; main_GetLocal_3_in_2 = NULL; main_GetLocal_3_in_3 = NULL; main_GetLocal_3_out_1 = NULL; main_GetLocal_3_out_2 = NULL; main_Collect_2_out_1 = NULL; main_Format_11_in_1 = "./out/t%5.5d.hdf"; main_Format_11_in_3 = NULL; main_Format_11_out_1 = NULL; main_Import_7_in_2 = NULL; main_Import_7_in_3 = "hdf"; main_Import_7_in_4 = NULL; main_Import_7_in_5 = NULL; main_Import_7_in_6 = NULL; main_Import_7_out_1 = NULL; main_Transmitter_2_out_1 = NULL; main_Receiver_2_out_1 = NULL; main_Select_7_in_2 = 0; main_Select_7_in_3 = NULL; main_Select_7_out_1 = NULL; main_Extract_6_in_2 = NULL; main_Extract_6_out_1 = NULL; main_Select_8_in_2 = 0; main_Select_8_in_3 = NULL; main_Select_8_out_1 = NULL; main_Compute_8_in_1 = "int($0)"; main_Compute_8_in_3 = NULL; main_Compute_8_out_1 = NULL; main_ForEachN_2_in_1 = 1; main_ForEachN_2_in_3 = NULL; main_ForEachN_2_out_1 = NULL; main_ForEachN_2_out_2 = NULL; main_Select_5_in_3 = NULL; main_Select_5_out_1 = NULL; main_Extract_5_in_2 = NULL; main_Extract_5_out_1 = NULL; main_Select_6_in_2 = 3; main_Select_6_in_3 = NULL; main_Select_6_out_1 = NULL; main_Compute_9_in_1 = "int($0)"; main_Compute_9_in_3 = NULL; main_Compute_9_out_1 = NULL; main_Compute_6_in_1 = "$0+$1"; main_Compute_6_out_1 = NULL; main_Compute_7_in_1 = "$0+$1-1"; main_Compute_7_out_1 = NULL; main_Compute_11_in_1 = "$0+1"; main_Compute_11_in_3 = NULL; main_Compute_11_out_1 = NULL; main_Compute_12_in_1 = "$0+2"; main_Compute_12_in_3 = NULL; main_Compute_12_out_1 = NULL; main_Compute_30_in_1 = "$0+3"; main_Compute_30_in_3 = NULL; main_Compute_30_out_1 = NULL; main_Format_7_in_1 = "Processing frame nr. %d"; main_Format_7_in_3 = NULL; main_Format_7_out_1 = NULL; main_Format_8_in_1 = "Processing grid nr. %d"; main_Format_8_in_3 = NULL; main_Format_8_out_1 = NULL; main_Receiver_8_out_1 = NULL; main_Transmitter_7_out_1 = NULL; main_Receiver_9_out_1 = NULL; main_Format_12_in_1 = "Reading records %d to %d from HDF file"; main_Format_12_out_1 = NULL; main_Format_14_in_1 = "%d"; main_Format_14_in_3 = NULL; main_Format_14_out_1 = NULL; main_Format_15_in_1 = "%d"; main_Format_15_in_3 = NULL; main_Format_15_out_1 = NULL; main_Format_16_in_1 = "%d"; main_Format_16_in_3 = NULL; main_Format_16_out_1 = NULL; main_Transmitter_12_out_1 = NULL; main_Receiver_18_out_1 = NULL; main_Route_2_out_1 = NULL; macro Image( id, object, where, useVector, to, from, width, resolution, aspect, up, viewAngle, perspective, options, buttonState = 1, buttonUpApprox = "none", buttonDownApprox = "none", buttonUpDensity = 1, buttonDownDensity = 1, renderMode = 0, defaultCamera, reset, backgroundColor, throttle, RECenable = 0, RECfile, RECformat, RECresolution, RECaspect, AAenable = 0, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, interactionMode, title, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels, webOptions) -> ( object, camera, where) { ImageMessage( id, backgroundColor, throttle, RECenable, RECfile, RECformat, RECresolution, RECaspect, AAenable, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels, interactionMode, title, renderMode, buttonUpApprox, buttonDownApprox, buttonUpDensity, buttonDownDensity) [instance: 1, cache: 1]; autoCamera = AutoCamera( object, "front", object, resolution, aspect, [0,1,0], perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; realCamera = Camera( to, from, width, resolution, aspect, up, perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; coloredDefaultCamera = UpdateCamera(defaultCamera, background=backgroundColor) [instance: 1, cache: 1]; nullDefaultCamera = Inquire(defaultCamera, "is null + 1") [instance: 1, cache: 1]; resetCamera = Switch( nullDefaultCamera, coloredDefaultCamera, autoCamera) [instance: 1, cache: 1]; resetNull = Inquire( reset, "is null + 1") [instance: 2, cache: 1]; reset = Switch( resetNull, reset, 0) [instance: 2, cache: 1]; whichCamera = Compute( "($0 != 0 || $1 == 0) ? 1 : 2", reset, useVector) [instance: 1, cache: 1]; camera = Switch( whichCamera, resetCamera, realCamera) [instance: 3, cache: 1]; AAobject = AutoAxes( object, camera, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels) [instance: 1, cache: 1]; switchAAenable = Compute("$0+1", AAenable) [instance: 2, cache: 1]; object = Switch( switchAAenable, object, AAobject) [instance:4, cache: 1]; SWapproximation_options = Switch( buttonState, buttonUpApprox, buttonDownApprox) [instance: 5, cache: 1]; SWdensity_options = Switch( buttonState, buttonUpDensity, buttonDownDensity) [instance: 6, cache: 1]; HWapproximation_options = Format( "%s,%s", buttonDownApprox, buttonUpApprox) [instance: 1, cache: 1]; HWdensity_options = Format( "%d,%d", buttonDownDensity, buttonUpDensity) [instance: 2, cache: 1]; switchRenderMode = Compute( "$0+1", renderMode) [instance: 3, cache: 1]; approximation_options = Switch( switchRenderMode, SWapproximation_options, HWapproximation_options) [instance: 7, cache: 1]; density_options = Switch( switchRenderMode, SWdensity_options, HWdensity_options) [instance: 8, cache: 1]; renderModeString = Switch( switchRenderMode, "software", "hardware")[instance: 9, cache: 1]; object_tag = Inquire( object, "object tag")[instance: 3, cache: 1]; annoted_object = Options( object, "send boxes", 0, "cache", 1, "object tag", object_tag, "ddcamera", whichCamera, "rendering approximation", approximation_options, "render every", density_options, "button state", buttonState, "rendering mode", renderModeString) [instance: 1, cache: 1]; RECresNull = Inquire( RECresolution, "is null + 1") [instance: 4, cache: 1]; ImageResolution = Inquire( camera, "camera resolution") [instance: 5, cache: 1]; RECresolution = Switch( RECresNull, RECresolution, ImageResolution) [instance: 10, cache: 1]; RECaspectNull = Inquire( RECaspect, "is null + 1") [instance: 6, cache: 1]; ImageAspect = Inquire( camera, "camera aspect") [instance: 7, cache: 1]; RECaspect = Switch( RECaspectNull, RECaspect, ImageAspect) [instance: 11, cache: 1]; switchRECenable = Compute( "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4", RECenable, switchRenderMode, RECresolution, ImageResolution, RECaspect, ImageAspect) [instance: 4, cache: 1]; NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object); Display( NoRECobject, camera, where, throttle) [instance: 1, cache: 1]; image = Render( RECNoRerenderObject, camera) [instance: 1, cache: 1]; Display( image, NULL, where, throttle) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 1, cache: 1]; rec_where = Display( RECNoRerHW, camera, where, throttle) [instance: 1, cache: 0]; rec_image = ReadImageWindow( rec_where) [instance: 1, cache: 1]; WriteImage( rec_image, RECfile, RECformat) [instance: 1, cache: 1]; RECupdateCamera = UpdateCamera( camera, resolution=RECresolution, aspect=RECaspect) [instance: 2, cache: 1]; Display( RECRerenderObject, camera, where, throttle) [instance: 1, cache: 1]; RECRerenderObject = ScaleScreen( RECRerenderObject, NULL, RECresolution, camera) [instance: 1, cache: 1]; image = Render( RECRerenderObject, RECupdateCamera) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 2, cache: 1]; } main_Image_3_in_1 = "Image_3"; main_Image_3_in_3 = "X24,,"; main_Image_3_in_4 = 1; main_Image_3_in_5 = [2.37246 -0.106418 0]; main_Image_3_in_6 = [2.37246 -0.106418 35.9425]; main_Image_3_in_7 = 7.12998; main_Image_3_in_8 = 773; main_Image_3_in_9 = 0.408; main_Image_3_in_10 = [0 1 0]; main_Image_3_in_11 = NULL; main_Image_3_in_12 = 0; main_Image_3_in_13 = NULL; main_Image_3_in_14 = 1; main_Image_3_in_15 = NULL; main_Image_3_in_16 = NULL; main_Image_3_in_17 = NULL; main_Image_3_in_18 = NULL; main_Image_3_in_19 = 0; main_Image_3_in_20 = NULL; main_Image_3_in_21 = NULL; main_Image_3_in_22 = NULL; main_Image_3_in_23 = NULL; main_Image_3_in_25 = "anim2"; main_Image_3_in_26 = "miff"; main_Image_3_in_27 = NULL; main_Image_3_in_28 = NULL; main_Image_3_in_29 = 0; main_Image_3_in_30 = {"x", "y", ""}; main_Image_3_in_31 = NULL; main_Image_3_in_32 = NULL; main_Image_3_in_33 = NULL; main_Image_3_in_34 = NULL; main_Image_3_in_35 = NULL; main_Image_3_in_36 = NULL; main_Image_3_in_37 = NULL; main_Image_3_in_38 = NULL; main_Image_3_in_39 = NULL; main_Image_3_in_40 = NULL; main_Image_3_in_41 = "none"; main_Image_3_in_42 = NULL; main_Image_3_in_43 = NULL; main_Image_3_in_44 = NULL; main_Image_3_in_45 = NULL; main_Image_3_in_46 = NULL; main_Image_3_in_47 = NULL; main_Image_3_in_48 = NULL; main_Image_3_in_49 = NULL; main_Import_9_in_3 = NULL; main_Import_9_in_4 = NULL; main_Import_9_in_5 = NULL; main_Import_9_in_6 = NULL; main_Import_9_out_1 = NULL; main_Import_10_in_3 = NULL; main_Import_10_in_4 = NULL; main_Import_10_in_5 = NULL; main_Import_10_in_6 = NULL; main_Import_10_out_1 = NULL; main_Import_11_in_3 = NULL; main_Import_11_in_4 = NULL; main_Import_11_in_5 = NULL; main_Import_11_in_6 = NULL; main_Import_11_out_1 = NULL; main_Message_2_in_2 = NULL; main_Message_2_in_3 = NULL; main_Message_3_in_2 = NULL; main_Message_3_in_3 = NULL; main_Message_4_in_2 = NULL; main_Message_4_in_3 = NULL; main_Select_9_in_3 = NULL; main_Select_9_out_1 = NULL; main_SetLocal_3_in_3 = NULL; main_SetLocal_4_in_3 = NULL; Executive("product version 4 1 3"); $sync sequence main(); play;