// // time: Wed Aug 30 15:31:29 2000 // // version: 3.1.2 (format), 4.1.0 (DX) // // // MODULE main // page assignment: Color Table order=6, windowed=0, showing=0 // page assignment: Effectors order=4, windowed=0, showing=0 // page assignment: Image order=8, windowed=0, showing=0 // page assignment: Meshes order=3, windowed=0, showing=0 // page assignment: Molecules order=5, windowed=0, showing=0 // page assignment: README order=2, windowed=0, showing=1 // page assignment: Sequencer order=7, windowed=0, showing=0 // workspace: width = 488, height = 423 // layout: snap = 0, width = 50, height = 50, align = NN // macro main( ) -> ( ) { // // node FileSelector[2]: x = 39, y = 27, inputs = 0, label = FileSelector // output[1]: visible = 1, type = 32, value = "neuron.mesh_element_states.0.dx" // output[2]: visible = 1, type = 32, value = "neuron.mesh_element_states.0.dx" // page group: Meshes // // // node Import[5]: x = 54, y = 117, inputs = 6, label = Import // input[1]: defaulting = 1, visible = 1, type = 32, value = "viz.nmj.mesh_element_states.0.dx" // page group: Meshes // main_Import_5_out_1 = Import( main_FileSelector_2_out_1, main_Import_5_in_2, main_Import_5_in_3, main_Import_5_in_4, main_Import_5_in_5, main_Import_5_in_6 ) [instance: 5, cache: 1]; // // node FileSelector[1]: x = 153, y = 26, inputs = 0, label = FileSelector // output[1]: visible = 1, type = 32, value = "neuron.mesh_elements.0.dx" // output[2]: visible = 1, type = 32, value = "neuron.mesh_elements.0.dx" // page group: Meshes // // // node Import[3]: x = 152, y = 115, inputs = 6, label = Import // input[1]: defaulting = 1, visible = 1, type = 32, value = "viz.nmj.mesh_elements.0.dx" // page group: Meshes // main_Import_3_out_1 = Import( main_FileSelector_1_out_1, main_Import_3_in_2, main_Import_3_in_3, main_Import_3_in_4, main_Import_3_in_5, main_Import_3_in_6 ) [instance: 3, cache: 1]; // // node Replace[2]: x = 99, y = 203, inputs = 4, label = Replace // input[3]: defaulting = 0, visible = 1, type = 32, value = "default" // input[4]: defaulting = 0, visible = 1, type = 32, value = "state_values" // page group: Meshes // main_Replace_2_out_1 = Replace( main_Import_5_out_1, main_Import_3_out_1, main_Replace_2_in_3, main_Replace_2_in_4 ) [instance: 2, cache: 1]; // // node SelectorList[1]: x = 111, y = 291, inputs = 7, label = SelectorList // input[1]: defaulting = 0, visible = 0, type = 32, value = "SelectorList_1" // input[2]: defaulting = 0, visible = 0, type = 16777248, value = { "null_object (default)" "1" } // input[3]: defaulting = 0, visible = 0, type = 16777245, value = { 0 2 } // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "null_object (default)" "0" "1" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 } // output[1]: visible = 1, type = 16777245, value = { 0 2 } // output[2]: visible = 1, type = 16777248, value = { "null_object (default)" "1" } // page group: Meshes // main_SelectorList_1_out_1[cache: 2], main_SelectorList_1_out_2[cache: 2] = SelectorList( main_SelectorList_1_in_1, main_SelectorList_1_in_2, main_SelectorList_1_in_3, main_Replace_2_out_1, main_SelectorList_1_in_5, main_SelectorList_1_in_6, main_SelectorList_1_in_7 ) [instance: 1, cache: 1]; // // node Select[3]: x = 52, y = 362, inputs = 3, label = Select // page group: Meshes // main_Select_3_out_1 = Select( main_Replace_2_out_1, main_SelectorList_1_out_2, main_Select_3_in_3 ) [instance: 3, cache: 1]; // // node Normals[1]: x = 50, y = 443, inputs = 2, label = Normals // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Meshes // main_Normals_1_out_1 = Normals( main_Select_3_out_1, main_Normals_1_in_2 ) [instance: 1, cache: 1]; // // node Color[1]: x = 48, y = 533, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "steel blue" // input[4]: defaulting = 0, visible = 0, type = 32, value = "front colors" // page group: Meshes // main_Color_1_out_1 = Color( main_Normals_1_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 Color[2]: x = 47, y = 617, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "midnight blue" // input[4]: defaulting = 0, visible = 0, type = 32, value = "back colors" // page group: Meshes // main_Color_2_out_1 = Color( main_Color_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 SelectorList[2]: x = 303, y = 285, inputs = 7, label = SelectorList // input[1]: defaulting = 0, visible = 0, type = 32, value = "SelectorList_2" // input[2]: defaulting = 0, visible = 0, type = 16777248, value = { "null_object (default)" } // input[3]: defaulting = 0, visible = 0, type = 16777245, value = { 0 } // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "null_object (default)" "0" "1" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 } // output[1]: visible = 1, type = 16777245, value = { 0 } // output[2]: visible = 1, type = 16777248, value = { "null_object (default)" } // page group: Meshes // main_SelectorList_2_out_1[cache: 2], main_SelectorList_2_out_2[cache: 2] = SelectorList( main_SelectorList_2_in_1, main_SelectorList_2_in_2, main_SelectorList_2_in_3, main_Replace_2_out_1, main_SelectorList_2_in_5, main_SelectorList_2_in_6, main_SelectorList_2_in_7 ) [instance: 2, cache: 1]; // // node Select[4]: x = 253, y = 360, inputs = 3, label = Select // page group: Meshes // main_Select_4_out_1 = Select( main_Replace_2_out_1, main_SelectorList_2_out_2, main_Select_4_in_3 ) [instance: 4, cache: 1]; // // node Normals[3]: x = 252, y = 441, inputs = 2, label = Normals // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Meshes // main_Normals_3_out_1 = Normals( main_Select_4_out_1, main_Normals_3_in_2 ) [instance: 3, cache: 1]; // // node Color[5]: x = 249, y = 531, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "gray" // input[3]: defaulting = 0, visible = 1, type = 5, value = 0.7 // input[4]: defaulting = 0, visible = 0, type = 32, value = "back colors" // page group: Meshes // main_Color_5_out_1 = Color( main_Normals_3_out_1, main_Color_5_in_2, main_Color_5_in_3, main_Color_5_in_4, main_Color_5_in_5 ) [instance: 5, cache: 1]; // // node Color[6]: x = 249, y = 615, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "dim gray" // input[3]: defaulting = 0, visible = 1, type = 5, value = 0.7 // input[4]: defaulting = 0, visible = 0, type = 32, value = "front colors" // page group: Meshes // main_Color_6_out_1 = Color( main_Color_5_out_1, main_Color_6_in_2, main_Color_6_in_3, main_Color_6_in_4, main_Color_6_in_5 ) [instance: 6, cache: 1]; // // node SelectorList[3]: x = 478, y = 288, inputs = 7, label = SelectorList // input[1]: defaulting = 0, visible = 0, type = 32, value = "SelectorList_3" // input[2]: defaulting = 0, visible = 0, type = 16777248, value = { "null_object (default)" } // input[3]: defaulting = 0, visible = 0, type = 16777245, value = { 0 } // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "null_object (default)" "0" "1" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 } // output[1]: visible = 1, type = 16777245, value = { 0 } // output[2]: visible = 1, type = 16777248, value = { "null_object (default)" } // page group: Meshes // main_SelectorList_3_out_1[cache: 2], main_SelectorList_3_out_2[cache: 2] = SelectorList( main_SelectorList_3_in_1, main_SelectorList_3_in_2, main_SelectorList_3_in_3, main_Replace_2_out_1, main_SelectorList_3_in_5, main_SelectorList_3_in_6, main_SelectorList_3_in_7 ) [instance: 3, cache: 1]; // // node Select[7]: x = 467, y = 367, inputs = 3, label = Select // page group: Meshes // main_Select_7_out_1 = Select( main_Replace_2_out_1, main_SelectorList_3_out_2, main_Select_7_in_3 ) [instance: 7, cache: 1]; // // node Normals[6]: x = 463, y = 447, inputs = 2, label = Normals // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Meshes // main_Normals_6_out_1 = Normals( main_Select_7_out_1, main_Normals_6_in_2 ) [instance: 6, cache: 1]; // // node Color[11]: x = 459, y = 532, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "gold" // input[3]: defaulting = 0, visible = 1, type = 5, value = 0.3 // page group: Meshes // main_Color_11_out_1 = Color( main_Normals_6_out_1, main_Color_11_in_2, main_Color_11_in_3, main_Color_11_in_4, main_Color_11_in_5 ) [instance: 11, cache: 1]; // // node ShowConnections[1]: x = 555, y = 532, inputs = 1, label = ShowConnections // page group: Meshes // main_ShowConnections_1_out_1 = ShowConnections( main_Select_7_out_1 ) [instance: 1, cache: 1]; // // node Collect[3]: x = 302, y = 750, inputs = 4, label = Collect // page group: Meshes // main_Collect_3_out_1 = Collect( main_Color_2_out_1, main_Color_6_out_1, main_Color_11_out_1, main_ShowConnections_1_out_1 ) [instance: 3, cache: 1]; // // node Inquire[3]: x = 95, y = 894, inputs = 3, label = Inquire // input[2]: defaulting = 0, visible = 1, type = 32, value = "is 3D positions" // page group: Meshes // main_Inquire_3_out_1 = Inquire( main_Collect_3_out_1, main_Inquire_3_in_2, main_Inquire_3_in_3 ) [instance: 3, cache: 1]; // // node Toggle[1]: x = 202, y = 895, inputs = 6, label = Toggle // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_1" // input[2]: defaulting = 0, visible = 0, type = 29, value = 2 // input[3]: defaulting = 0, visible = 0, type = 3, value = 1 // input[4]: defaulting = 1, visible = 1, type = 29, value = 2 // input[5]: defaulting = 1, visible = 1, type = 29, value = 1 // output[1]: visible = 1, type = 29, value = 2 // page group: Meshes // toggle : 1 // // // node Compute[3]: x = 180, y = 982, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0?$1:1" // page group: Meshes // expression: value = a?b:1 // name[2]: value = a // name[3]: value = b // main_Compute_3_out_1 = Compute( main_Compute_3_in_1, main_Inquire_3_out_1, main_Toggle_1_out_1 ) [instance: 3, cache: 1]; // // node Mark[3]: x = 328, y = 844, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Meshes // main_Mark_3_out_1 = Mark( main_Collect_3_out_1, main_Mark_3_in_2 ) [instance: 3, cache: 1]; // // node Vector[3]: x = 409, y = 830, inputs = 11, label = Vector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_3" // input[3]: defaulting = 0, visible = 0, type = 8, value = [ -0.05 -1 -1 ] // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ] // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ] // input[7]: defaulting = 1, visible = 0, type = 8, value = [ 1 1 1] // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ] // output[1]: visible = 1, type = 8, value = [ -0.05 -1 -1 ] // page group: Meshes // // // node Vector[4]: x = 481, y = 828, inputs = 11, label = Vector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_4" // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 1 1 1 ] // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ] // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ] // input[7]: defaulting = 1, visible = 0, type = 8, value = [ 1 1 1] // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ] // output[1]: visible = 1, type = 8, value = [ 1 1 1 ] // page group: Meshes // // // node Include[4]: x = 281, y = 925, inputs = 6, label = Include // page group: Meshes // main_Include_4_out_1 = Include( main_Mark_3_out_1, main_Vector_3_out_1, main_Vector_4_out_1, main_Include_4_in_4, main_Include_4_in_5, main_Include_4_in_6 ) [instance: 4, cache: 1]; // // node Unmark[4]: x = 322, y = 998, inputs = 2, label = Unmark // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Meshes // main_Unmark_4_out_1 = Unmark( main_Include_4_out_1, main_Unmark_4_in_2 ) [instance: 4, cache: 1]; // // node Switch[1]: x = 235, y = 1073, inputs = 3, label = Switch // page group: Meshes // main_Switch_1_out_1 = Switch( main_Compute_3_out_1, main_Collect_3_out_1, main_Unmark_4_out_1 ) [instance: 1, cache: 1]; // // node Transmitter[2]: x = 252, y = 1151, inputs = 1, label = meshes // page group: Meshes // meshes = main_Switch_1_out_1; // // node Receiver[2]: x = 49, y = 59, inputs = 1, label = meshes // page group: Image // main_Receiver_2_out_1[cache: 0] = meshes; // // node String[1]: x = 12, y = 5, inputs = 0, label = String // output[1]: visible = 1, type = 32, value = "neuron.effector_site_states.%d.dx" // page group: Effectors // // // node Sequencer[1]: x = 92, y = 41, 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 = 500 // input[6]: defaulting = 1, visible = 0, type = 1, value = 25 // input[7]: defaulting = 0, visible = 0, type = 16777217, value = { 0 500 25 0 500 1 } // page group: Sequencer // vcr[1]: min = 0, max = 500, beg = 0, end = 500, cur = 0, inc = 25, loop = on, step = off, pal = off // window: position = (0.7412,0.0517), size = 0.1750x0.0667 // main_Sequencer_1_out_1 = @frame; // // node Transmitter[7]: x = 52, y = 132, inputs = 1, label = MCell_iteration_number // page group: Sequencer // MCell_iteration_number = main_Sequencer_1_out_1; // // node Receiver[10]: x = 122, y = 8, inputs = 1, label = MCell_iteration_number // page group: Effectors // main_Receiver_10_out_1[cache: 0] = MCell_iteration_number; // // node Format[1]: x = 31, y = 86, inputs = 2, label = Format // input[1]: defaulting = 1, visible = 1, type = 32, value = "viz.nmj.effector_site_states.%d.dx" // page group: Effectors // main_Format_1_out_1 = Format( main_String_1_out_1, main_Receiver_10_out_1 ) [instance: 1, cache: 1]; // // node Import[2]: x = 32, y = 171, inputs = 6, label = Import // input[1]: defaulting = 1, visible = 1, type = 32, value = "viz.nmj.effector_site_states.0.dx" // input[2]: defaulting = 1, visible = 1, type = 32, value = "1" // page group: Effectors // main_Import_2_out_1 = Import( main_Format_1_out_1, main_Import_2_in_2, main_Import_2_in_3, main_Import_2_in_4, main_Import_2_in_5, main_Import_2_in_6 ) [instance: 2, cache: 1]; // // node FileSelector[3]: x = 129, y = 83, inputs = 0, label = FileSelector // output[1]: visible = 1, type = 32, value = "neuron.effector_site_positions.0.dx" // output[2]: visible = 1, type = 32, value = "neuron.effector_site_positions.0.dx" // page group: Effectors // // // node Import[1]: x = 126, y = 167, inputs = 6, label = Import // input[1]: defaulting = 1, visible = 1, type = 32, value = "viz.nmj.effector_site_positions.0.dx" // input[2]: defaulting = 1, visible = 1, type = 32, value = "1" // page group: Effectors // main_Import_1_out_1 = Import( main_FileSelector_3_out_1, main_Import_1_in_2, main_Import_1_in_3, main_Import_1_in_4, main_Import_1_in_5, main_Import_1_in_6 ) [instance: 1, cache: 1]; // // node Replace[1]: x = 73, y = 259, inputs = 4, label = Replace // input[3]: defaulting = 0, visible = 1, type = 32, value = "default" // input[4]: defaulting = 0, visible = 1, type = 32, value = "state_values" // page group: Effectors // main_Replace_1_out_1 = Replace( main_Import_2_out_1, main_Import_1_out_1, main_Replace_1_in_3, main_Replace_1_in_4 ) [instance: 1, cache: 1]; // // node Inquire[4]: x = 8, y = 338, inputs = 3, label = Inquire // input[2]: defaulting = 0, visible = 1, type = 32, value = "is 3D positions" // page group: Effectors // main_Inquire_4_out_1 = Inquire( main_Replace_1_out_1, main_Inquire_4_in_2, main_Inquire_4_in_3 ) [instance: 4, cache: 1]; // // node Toggle[2]: x = 56, y = 415, inputs = 6, label = Toggle // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_2" // input[2]: defaulting = 0, visible = 0, type = 29, value = 2 // input[3]: defaulting = 0, visible = 0, type = 3, value = 1 // input[4]: defaulting = 1, visible = 1, type = 29, value = 2 // input[5]: defaulting = 1, visible = 1, type = 29, value = 1 // output[1]: visible = 1, type = 29, value = 2 // page group: Effectors // toggle : 1 // // // node Compute[4]: x = 15, y = 506, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0?$1:1" // page group: Effectors // expression: value = a?b:1 // name[2]: value = a // name[3]: value = b // main_Compute_4_out_1 = Compute( main_Compute_4_in_1, main_Inquire_4_out_1, main_Toggle_2_out_1 ) [instance: 4, cache: 1]; // // node Mark[1]: x = 132, y = 343, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Effectors // main_Mark_1_out_1 = Mark( main_Replace_1_out_1, main_Mark_1_in_2 ) [instance: 1, cache: 1]; // // node Vector[1]: x = 211, y = 304, inputs = 11, label = Vector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_1" // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0.1 -0.1 -0.1 ] // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ] // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ] // input[7]: defaulting = 1, visible = 0, type = 8, value = [ 1 1 1] // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ] // output[1]: visible = 1, type = 8, value = [ 0.1 -0.1 -0.1 ] // page group: Effectors // // // node Vector[2]: x = 281, y = 304, inputs = 11, label = Vector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_2" // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 1 0.1 0.16 ] // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ] // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ] // input[7]: defaulting = 1, visible = 0, type = 8, value = [ 1 1 1] // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ] // output[1]: visible = 1, type = 8, value = [ 1 0.1 0.16 ] // page group: Effectors // // // node Include[1]: x = 120, y = 441, inputs = 6, label = Include // input[2]: defaulting = 1, visible = 1, type = 8, value = [-0.1,-0.1,-0.1] // input[3]: defaulting = 1, visible = 1, type = 8, value = [0.1,0.1,0.1] // input[4]: defaulting = 1, visible = 1, type = 3, value = 0 // input[6]: defaulting = 0, visible = 1, type = 3, value = 1 // page group: Effectors // main_Include_1_out_1 = Include( main_Mark_1_out_1, main_Vector_1_out_1, main_Vector_2_out_1, main_Include_1_in_4, main_Include_1_in_5, main_Include_1_in_6 ) [instance: 1, cache: 1]; // // node Unmark[1]: x = 174, y = 510, inputs = 2, label = Unmark // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Effectors // main_Unmark_1_out_1 = Unmark( main_Include_1_out_1, main_Unmark_1_in_2 ) [instance: 1, cache: 1]; // // node Switch[2]: x = 130, y = 593, inputs = 3, label = Switch // page group: Effectors // main_Switch_2_out_1 = Switch( main_Compute_4_out_1, main_Replace_1_out_1, main_Unmark_1_out_1 ) [instance: 2, cache: 1]; // // node SelectorList[6]: x = 249, y = 628, inputs = 7, label = SelectorList // input[1]: defaulting = 0, visible = 0, type = 32, value = "SelectorList_6" // input[2]: defaulting = 0, visible = 0, type = 16777248, value = { "null_object (default)" "0" "1" } // input[3]: defaulting = 0, visible = 0, type = 16777245, value = { 0 1 2 } // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "null_object (default)" "0" "1" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 2 } // output[1]: visible = 1, type = 16777245, value = { 0 1 2 } // output[2]: visible = 1, type = 16777248, value = { "null_object (default)" "0" "1" } // page group: Effectors // main_SelectorList_6_out_1[cache: 2], main_SelectorList_6_out_2[cache: 2] = SelectorList( main_SelectorList_6_in_1, main_SelectorList_6_in_2, main_SelectorList_6_in_3, main_Switch_2_out_1, main_SelectorList_6_in_5, main_SelectorList_6_in_6, main_SelectorList_6_in_7 ) [instance: 6, cache: 1]; // // node Select[9]: x = 185, y = 711, inputs = 3, label = Select // page group: Effectors // main_Select_9_out_1 = Select( main_Switch_2_out_1, main_SelectorList_6_out_2, main_Select_9_in_3 ) [instance: 9, cache: 1]; // // node ScalarList[1]: x = 62, y = 70, inputs = 11, label = ScalarList // input[1]: defaulting = 0, visible = 0, type = 32, value = "ScalarList_1" // input[3]: defaulting = 0, visible = 0, type = 16777221, value = { 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 } // input[5]: defaulting = 1, visible = 0, type = 5, value = -1000000.0 // input[6]: defaulting = 1, visible = 0, type = 5, value = 1000000.0 // input[7]: defaulting = 1, visible = 0, type = 5, value = 1.0 // input[9]: defaulting = 1, visible = 0, type = 1, value = 0 // output[1]: visible = 1, type = 16777221, value = { 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 } // page group: Color Table // // // node List[1]: x = 34, y = 153, inputs = 2, label = List // page group: Color Table // main_List_1_out_1 = List( main_ScalarList_1_out_1, main_List_1_in_2 ) [instance: 1, cache: 1]; // // node VectorList[1]: x = 218, y = 68, inputs = 11, label = VectorList // input[1]: defaulting = 0, visible = 0, type = 32, value = "VectorList_1" // input[3]: defaulting = 0, visible = 0, type = 16777224, value = { [0.0 0.0 1.0 ], [1.0 0.0 0.0 ], [0.0 1.0 0.0 ], [1.0 0.0 1.0 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ], [1.0 1.0 0.0 ], [1.0 1.0 1.0 ], [0.3 0.3 0.3 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ] } // input[5]: defaulting = 1, visible = 0, type = 8, value = [ 0.0 0.0 0.0 ] // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ] // input[7]: defaulting = 1, visible = 0, type = 8, value = [ 1 1 1] // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 2.0 2.0 2.0 ] // output[1]: visible = 1, type = 16777224, value = { [0.0 0.0 1.0 ], [1.0 0.0 0.0 ], [0.0 1.0 0.0 ], [1.0 0.0 1.0 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ], [1.0 1.0 0.0 ], [1.0 1.0 1.0 ], [0.3 0.3 0.3 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ] } // page group: Color Table // // // node Construct[2]: x = 47, y = 229, inputs = 4, label = Construct // input[1]: defaulting = 1, visible = 1, type = 16777224, value = {[0]} // page group: Color Table // main_Construct_2_out_1 = Construct( main_List_1_out_1, main_Construct_2_in_2, main_Construct_2_in_3, main_VectorList_1_out_1 ) [instance: 2, cache: 1]; // // node Rename[1]: x = 57, y = 313, inputs = 3, label = Rename // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // input[3]: defaulting = 0, visible = 1, type = 32, value = "state_values" // page group: Color Table // main_Rename_1_out_1 = Rename( main_Construct_2_out_1, main_Rename_1_in_2, main_Rename_1_in_3 ) [instance: 1, cache: 1]; // // node Rename[2]: x = 56, y = 400, inputs = 3, label = Rename // input[2]: defaulting = 0, visible = 1, type = 32, value = "data" // input[3]: defaulting = 0, visible = 1, type = 32, value = "molecule_colors" // page group: Color Table // main_Rename_2_out_1 = Rename( main_Rename_1_out_1, main_Rename_2_in_2, main_Rename_2_in_3 ) [instance: 2, cache: 1]; // // node Transmitter[1]: x = 53, y = 493, inputs = 1, label = color_table // page group: Color Table // color_table = main_Rename_2_out_1; // // node Receiver[1]: x = 258, y = 730, inputs = 1, label = color_table // page group: Effectors // main_Receiver_1_out_1[cache: 0] = color_table; // // node Lookup[1]: x = 214, y = 819, inputs = 7, label = Lookup // input[3]: defaulting = 0, visible = 0, type = 32, value = "state_values" // input[4]: defaulting = 0, visible = 0, type = 32, value = "state_values" // input[5]: defaulting = 0, visible = 0, type = 32, value = "molecule_colors" // input[6]: defaulting = 0, visible = 0, type = 32, value = "colors" // page group: Effectors // main_Lookup_1_out_1 = Lookup( main_Select_9_out_1, main_Receiver_1_out_1, main_Lookup_1_in_3, main_Lookup_1_in_4, main_Lookup_1_in_5, main_Lookup_1_in_6, main_Lookup_1_in_7 ) [instance: 1, cache: 1]; // // node Mark[2]: x = 225, y = 887, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 1, type = 32, value = "state_values" // page group: Effectors // main_Mark_2_out_1 = Mark( main_Lookup_1_out_1, main_Mark_2_in_2 ) [instance: 2, cache: 1]; // // node Inquire[5]: x = 15, y = 973, inputs = 3, label = Inquire // input[2]: defaulting = 0, visible = 1, type = 32, value = "is 3D positions" // page group: Effectors // main_Inquire_5_out_1 = Inquire( main_Mark_2_out_1, main_Inquire_5_in_2, main_Inquire_5_in_3 ) [instance: 5, cache: 1]; // // node Compute[5]: x = 18, y = 1083, inputs = 2, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0?2:1" // page group: Effectors // expression: value = a?2:1 // name[2]: value = a // main_Compute_5_out_1 = Compute( main_Compute_5_in_1, main_Inquire_5_out_1 ) [instance: 5, cache: 1]; // // node Include[2]: x = 129, y = 972, inputs = 6, label = Include // input[2]: defaulting = 0, visible = 1, type = 5, value = 1.0 // input[3]: defaulting = 0, visible = 1, type = 5, value = 7.0 // input[4]: defaulting = 0, visible = 1, type = 3, value = 0 // input[5]: defaulting = 0, visible = 1, type = 3, value = 1 // input[6]: defaulting = 0, visible = 1, type = 3, value = 1 // page group: Effectors // main_Include_2_out_1 = Include( main_Mark_2_out_1, main_Include_2_in_2, main_Include_2_in_3, main_Include_2_in_4, main_Include_2_in_5, main_Include_2_in_6 ) [instance: 2, cache: 1]; // // node Unmark[2]: x = 173, y = 1054, inputs = 2, label = Unmark // input[2]: defaulting = 0, visible = 1, type = 32, value = "state_values" // page group: Effectors // main_Unmark_2_out_1 = Unmark( main_Include_2_out_1, main_Unmark_2_in_2 ) [instance: 2, cache: 1]; // // node FileSelector[4]: x = 597, y = 192, inputs = 0, label = FileSelector // output[1]: visible = 1, type = 32, value = "GluR_glyph.dx" // output[2]: visible = 1, type = 32, value = "GluR_glyph.dx" // page group: Effectors // // // node Import[4]: x = 608, y = 300, inputs = 6, label = Import // input[1]: defaulting = 1, visible = 1, type = 32, value = "GluR_glyph.dx" // page group: Effectors // main_Import_4_out_1 = Import( main_FileSelector_4_out_1, main_Import_4_in_2, main_Import_4_in_3, main_Import_4_in_4, main_Import_4_in_5, main_Import_4_in_6 ) [instance: 4, cache: 1]; // // node Scale[1]: x = 621, y = 386, inputs = 2, label = Scale // input[2]: defaulting = 0, visible = 1, type = 8, value = [.065 .065 .00283065] // page group: Effectors // main_Scale_1_out_1 = Scale( main_Import_4_out_1, main_Scale_1_in_2 ) [instance: 1, cache: 1]; // // node Rotate[1]: x = 624, y = 482, inputs = 3, label = Rotate // input[2]: defaulting = 0, visible = 1, type = 32, value = "x" // input[3]: defaulting = 0, visible = 1, type = 5, value = 270.0 // page group: Effectors // main_Rotate_1_out_1 = Rotate( main_Scale_1_out_1, main_Rotate_1_in_2, main_Rotate_1_in_3 ) [instance: 1, cache: 1]; // // node Refine[1]: x = 634, y = 575, inputs = 2, label = Refine // input[2]: defaulting = 0, visible = 1, type = 32, value = "triangles" // page group: Effectors // main_Refine_1_out_1 = Refine( main_Rotate_1_out_1, main_Refine_1_in_2 ) [instance: 1, cache: 1]; // // node Glyph[1]: x = 148, y = 1135, inputs = 7, label = Glyph // input[4]: defaulting = 0, visible = 1, type = 5, value = 1.0 // input[5]: defaulting = 1, visible = 1, type = 5, value = 0.0 // input[6]: defaulting = 0, visible = 0, type = 5, value = 0.0 // input[7]: defaulting = 0, visible = 0, type = 5, value = 1.0 // page group: Effectors // main_Glyph_1_out_1 = Glyph( main_Unmark_2_out_1, main_Refine_1_out_1, main_Glyph_1_in_3, main_Glyph_1_in_4, main_Glyph_1_in_5, main_Glyph_1_in_6, main_Glyph_1_in_7 ) [instance: 1, cache: 1]; // // node Include[3]: x = 287, y = 970, inputs = 6, label = Include // input[2]: defaulting = 0, visible = 1, type = 5, value = 1.0 // input[3]: defaulting = 0, visible = 1, type = 5, value = 7.0 // input[4]: defaulting = 0, visible = 1, type = 3, value = 1 // input[5]: defaulting = 0, visible = 1, type = 3, value = 1 // input[6]: defaulting = 0, visible = 1, type = 3, value = 1 // page group: Effectors // main_Include_3_out_1 = Include( main_Mark_2_out_1, main_Include_3_in_2, main_Include_3_in_3, main_Include_3_in_4, main_Include_3_in_5, main_Include_3_in_6 ) [instance: 3, cache: 1]; // // node Unmark[3]: x = 331, y = 1053, inputs = 2, label = Unmark // input[2]: defaulting = 0, visible = 1, type = 32, value = "state_values" // page group: Effectors // main_Unmark_3_out_1 = Unmark( main_Include_3_out_1, main_Unmark_3_in_2 ) [instance: 3, cache: 1]; // // node Remove[1]: x = 341, y = 1129, inputs = 2, label = Remove // input[2]: defaulting = 0, visible = 1, type = 32, value = "data" // page group: Effectors // main_Remove_1_out_1 = Remove( main_Unmark_3_out_1, main_Remove_1_in_2 ) [instance: 1, cache: 1]; // // node Glyph[2]: x = 319, y = 1202, inputs = 7, label = Glyph // input[2]: defaulting = 0, visible = 1, type = 5, value = 0.5 // input[4]: defaulting = 0, visible = 1, type = 5, value = .003 // input[5]: defaulting = 0, visible = 1, type = 5, value = 1.0 // input[6]: defaulting = 0, visible = 0, type = 5, value = 0.0 // input[7]: defaulting = 0, visible = 0, type = 5, value = 1.0 // page group: Effectors // main_Glyph_2_out_1 = Glyph( main_Remove_1_out_1, main_Glyph_2_in_2, main_Glyph_2_in_3, main_Glyph_2_in_4, main_Glyph_2_in_5, main_Glyph_2_in_6, main_Glyph_2_in_7 ) [instance: 2, cache: 1]; // // node Collect[4]: x = 221, y = 1264, inputs = 2, label = Collect // page group: Effectors // main_Collect_4_out_1 = Collect( main_Glyph_1_out_1, main_Glyph_2_out_1 ) [instance: 4, cache: 1]; // // node Switch[4]: x = 139, y = 1354, inputs = 3, label = Switch // page group: Effectors // main_Switch_4_out_1 = Switch( main_Compute_5_out_1, main_Lookup_1_out_1, main_Collect_4_out_1 ) [instance: 4, cache: 1]; // // node Transmitter[5]: x = 137, y = 1466, inputs = 1, label = effectors // page group: Effectors // effectors = main_Switch_4_out_1; // // node Receiver[7]: x = 128, y = 60, inputs = 1, label = effectors // page group: Image // main_Receiver_7_out_1[cache: 0] = effectors; // // node String[3]: x = 65, y = 102, inputs = 0, label = String // output[1]: visible = 1, type = 32, value = "molecule_states.%d.dx" // page group: Molecules // // // node Receiver[11]: x = 139, y = 4, inputs = 1, label = MCell_iteration_number // page group: Molecules // main_Receiver_11_out_1[cache: 0] = MCell_iteration_number; // // node Format[2]: x = 101, y = 202, inputs = 2, label = Format // input[1]: defaulting = 1, visible = 1, type = 32, value = "molecule_states.%d.dx" // page group: Molecules // main_Format_2_out_1 = Format( main_String_3_out_1, main_Receiver_11_out_1 ) [instance: 2, cache: 1]; // // node Import[6]: x = 93, y = 282, inputs = 6, label = Import // input[1]: defaulting = 1, visible = 1, type = 32, value = "molecule_positions.0.dx" // page group: Molecules // main_Import_6_out_1 = Import( main_Format_2_out_1, main_Import_6_in_2, main_Import_6_in_3, main_Import_6_in_4, main_Import_6_in_5, main_Import_6_in_6 ) [instance: 6, cache: 1]; // // node String[2]: x = 177, y = 103, inputs = 0, label = String // output[1]: visible = 1, type = 32, value = "molecule_positions.%d.dx" // page group: Molecules // // // node Format[3]: x = 200, y = 202, inputs = 2, label = Format // input[1]: defaulting = 1, visible = 1, type = 32, value = "molecule_positions.%d.dx" // page group: Molecules // main_Format_3_out_1 = Format( main_String_2_out_1, main_Receiver_11_out_1 ) [instance: 3, cache: 1]; // // node Import[7]: x = 194, y = 281, inputs = 6, label = Import // input[1]: defaulting = 1, visible = 1, type = 32, value = "molecule_positions.0.dx" // page group: Molecules // main_Import_7_out_1 = Import( main_Format_3_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 Replace[3]: x = 144, y = 377, inputs = 4, label = Replace // input[3]: defaulting = 0, visible = 1, type = 32, value = "default" // input[4]: defaulting = 0, visible = 1, type = 32, value = "state_values" // page group: Molecules // main_Replace_3_out_1 = Replace( main_Import_6_out_1, main_Import_7_out_1, main_Replace_3_in_3, main_Replace_3_in_4 ) [instance: 3, cache: 1]; // // node Inquire[2]: x = 42, y = 503, inputs = 3, label = Inquire // input[2]: defaulting = 0, visible = 1, type = 32, value = "is 3D positions" // page group: Molecules // main_Inquire_2_out_1 = Inquire( main_Replace_3_out_1, main_Inquire_2_in_2, main_Inquire_2_in_3 ) [instance: 2, cache: 1]; // // node Toggle[3]: x = 135, y = 505, inputs = 6, label = Toggle // input[1]: defaulting = 0, visible = 0, type = 32, value = "Toggle_3" // input[2]: defaulting = 0, visible = 0, type = 29, value = 2 // input[3]: defaulting = 0, visible = 0, type = 3, value = 1 // input[4]: defaulting = 1, visible = 1, type = 29, value = 2 // input[5]: defaulting = 1, visible = 1, type = 29, value = 1 // output[1]: visible = 1, type = 29, value = 2 // page group: Molecules // toggle : 1 // // // node Compute[2]: x = 120, y = 596, inputs = 3, label = Compute // input[1]: defaulting = 0, visible = 0, type = 32, value = "$0?$1:1" // page group: Molecules // expression: value = a?b:1 // name[2]: value = a // name[3]: value = b // main_Compute_2_out_1 = Compute( main_Compute_2_in_1, main_Inquire_2_out_1, main_Toggle_3_out_1 ) [instance: 2, cache: 1]; // // node Mark[4]: x = 225, y = 450, inputs = 2, label = Mark // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Molecules // main_Mark_4_out_1 = Mark( main_Replace_3_out_1, main_Mark_4_in_2 ) [instance: 4, cache: 1]; // // node Vector[5]: x = 325, y = 418, inputs = 11, label = Vector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_5" // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 0.16 -0.1 -0.1 ] // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ] // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ] // input[7]: defaulting = 1, visible = 0, type = 8, value = [ 1 1 1] // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ] // output[1]: visible = 1, type = 8, value = [ 0.16 -0.1 -0.1 ] // page group: Molecules // // // node Vector[6]: x = 398, y = 418, inputs = 11, label = Vector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Vector_6" // input[3]: defaulting = 0, visible = 0, type = 8, value = [ 1 0.1 0.1 ] // input[5]: defaulting = 1, visible = 0, type = 8, value = [ -1000000.0 -1000000.0 -1000000.0 ] // input[6]: defaulting = 1, visible = 0, type = 8, value = [ 1000000.0 1000000.0 1000000.0 ] // input[7]: defaulting = 1, visible = 0, type = 8, value = [ 1 1 1] // input[9]: defaulting = 1, visible = 0, type = 8, value = [ 5.0 5.0 5.0 ] // output[1]: visible = 1, type = 8, value = [ 1 0.1 0.1 ] // page group: Molecules // // // node Include[5]: x = 226, y = 530, inputs = 6, label = Include // input[6]: defaulting = 0, visible = 1, type = 3, value = 1 // page group: Molecules // main_Include_5_out_1 = Include( main_Mark_4_out_1, main_Vector_5_out_1, main_Vector_6_out_1, main_Include_5_in_4, main_Include_5_in_5, main_Include_5_in_6 ) [instance: 5, cache: 1]; // // node Unmark[5]: x = 228, y = 603, inputs = 2, label = Unmark // input[2]: defaulting = 0, visible = 1, type = 32, value = "positions" // page group: Molecules // main_Unmark_5_out_1 = Unmark( main_Include_5_out_1, main_Unmark_5_in_2 ) [instance: 5, cache: 1]; // // node Switch[3]: x = 175, y = 683, inputs = 3, label = Switch // page group: Molecules // main_Switch_3_out_1 = Switch( main_Compute_2_out_1, main_Replace_3_out_1, main_Unmark_5_out_1 ) [instance: 3, cache: 1]; // // node SelectorList[5]: x = 177, y = 774, inputs = 7, label = SelectorList // input[1]: defaulting = 0, visible = 0, type = 32, value = "SelectorList_5" // input[2]: defaulting = 0, visible = 0, type = 16777248, value = { "null_object (default)" "Glu" } // input[3]: defaulting = 0, visible = 0, type = 16777245, value = { 0 1 } // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "null_object (default)" "Glu" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 0 1 } // output[1]: visible = 1, type = 16777245, value = { 0 1 } // output[2]: visible = 1, type = 16777248, value = { "null_object (default)" "Glu" } // page group: Molecules // main_SelectorList_5_out_1[cache: 2], main_SelectorList_5_out_2[cache: 2] = SelectorList( main_SelectorList_5_in_1, main_SelectorList_5_in_2, main_SelectorList_5_in_3, main_Switch_3_out_1, main_SelectorList_5_in_5, main_SelectorList_5_in_6, main_SelectorList_5_in_7 ) [instance: 5, cache: 1]; // // node Select[8]: x = 129, y = 880, inputs = 3, label = Select // page group: Molecules // main_Select_8_out_1 = Select( main_Switch_3_out_1, main_SelectorList_5_out_2, main_Select_8_in_3 ) [instance: 8, cache: 1]; // // node Receiver[9]: x = 205, y = 876, inputs = 1, label = color_table // page group: Molecules // main_Receiver_9_out_1[cache: 0] = color_table; // // node Lookup[2]: x = 132, y = 977, inputs = 7, label = Lookup // input[3]: defaulting = 0, visible = 0, type = 32, value = "state_values" // input[4]: defaulting = 0, visible = 0, type = 32, value = "state_values" // input[5]: defaulting = 0, visible = 0, type = 32, value = "molecule_colors" // input[6]: defaulting = 0, visible = 0, type = 32, value = "colors" // page group: Molecules // main_Lookup_2_out_1 = Lookup( main_Select_8_out_1, main_Receiver_9_out_1, main_Lookup_2_in_3, main_Lookup_2_in_4, main_Lookup_2_in_5, main_Lookup_2_in_6, main_Lookup_2_in_7 ) [instance: 2, cache: 1]; // // node ShowPositions[3]: x = 108, y = 1069, inputs = 2, label = ShowPositions // page group: Molecules // main_ShowPositions_3_out_1 = ShowPositions( main_Lookup_2_out_1, main_ShowPositions_3_in_2 ) [instance: 3, cache: 1]; // // node Transmitter[6]: x = 128, y = 1159, inputs = 1, label = molecules // page group: Molecules // molecules = main_ShowPositions_3_out_1; // // node Receiver[8]: x = 218, y = 58, inputs = 1, label = molecules // page group: Image // main_Receiver_8_out_1[cache: 0] = molecules; // // node Collect[1]: x = 104, y = 184, inputs = 3, label = Collect // page group: Image // main_Collect_1_out_1 = Collect( main_Receiver_2_out_1, main_Receiver_7_out_1, main_Receiver_8_out_1 ) [instance: 1, cache: 1]; // // node Image[1]: x = 109, y = 275, inputs = 49, label = Image // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_1" // input[4]: defaulting = 0, visible = 0, type = 1, value = 1 // input[5]: defaulting = 0, visible = 0, type = 8, value = [0 0 0] // input[6]: defaulting = 0, visible = 0, type = 8, value = [1.4 0 0.216836] // input[7]: defaulting = 1, visible = 0, type = 5, value = 0.759203 // input[8]: defaulting = 0, visible = 0, type = 1, value = 720 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.667 // input[10]: defaulting = 0, visible = 0, type = 8, value = [0 1 0] // input[11]: defaulting = 0, visible = 0, type = 5, value = 30.0 // input[12]: defaulting = 0, visible = 0, type = 1, value = 1 // 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 = 3, value = 0 // input[29]: defaulting = 1, visible = 0, type = 3, value = 0 // input[41]: defaulting = 0, visible = 0, type = 32, value = "none" // page group: Image // depth: value = 24 // window: position = (0.0163,0.0833), size = 0.4587x0.4367 // internal caching: 1 // main_Image_1_out_1, main_Image_1_out_2, main_Image_1_out_3 = Image( main_Image_1_in_1, main_Collect_1_out_1, main_Image_1_in_3, main_Image_1_in_4, main_Image_1_in_5, main_Image_1_in_6, main_Image_1_in_7, main_Image_1_in_8, main_Image_1_in_9, main_Image_1_in_10, main_Image_1_in_11, main_Image_1_in_12, main_Image_1_in_13, main_Image_1_in_14, main_Image_1_in_15, main_Image_1_in_16, main_Image_1_in_17, main_Image_1_in_18, main_Image_1_in_19, main_Image_1_in_20, main_Image_1_in_21, main_Image_1_in_22, main_Image_1_in_23, main_Image_1_in_24, main_Image_1_in_25, main_Image_1_in_26, main_Image_1_in_27, main_Image_1_in_28, main_Image_1_in_29, main_Image_1_in_30, main_Image_1_in_31, main_Image_1_in_32, main_Image_1_in_33, main_Image_1_in_34, main_Image_1_in_35, main_Image_1_in_36, main_Image_1_in_37, main_Image_1_in_38, main_Image_1_in_39, main_Image_1_in_40, main_Image_1_in_41, main_Image_1_in_42, main_Image_1_in_43, main_Image_1_in_44, main_Image_1_in_45, main_Image_1_in_46, main_Image_1_in_47, main_Image_1_in_48, main_Image_1_in_49 ) [instance: 1, cache: 1]; // // decorator Annotate pos=(57,75) size=431x348 style(Label), value = // annotation user_begin: 947 // annotation user: // annotation user: This DX visual program will render the visualization // annotation user: output obtained by running the "neuronal_epscs.main.mdl" // annotation user: example simulation with MCell version 2.50. // annotation user: // annotation user: To run the visual program, open the sequencer (under // annotation user: Execute on the menu bar), and then press the play button. // annotation user: !!To execute properly, MCell must have been run with the // annotation user: input mdl files as supplied on the CD-ROM, and the default // annotation user: data directory for DX must be the same directory in which // annotation user: the MCell visualization output files and GluR_glyph.dx file // annotation user: are located!! // annotation user: // annotation user: Under default conditions, only a small subset of Glu // annotation user: molecules and effector sites are rendered (to minimize // annotation user: memory use). To see more (or all) of the molecules, open // annotation user: the "Clipping Limits" control panel (under "Windows" on the // annotation user: menu bar), and reset or turn off the clipping limits. The // annotation user: Glu molecules are always rendered as single pixels (again // annotation user: to save memory), so if you zoom in or out their size in the // annotation user: image will remain unchanged. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: README // // decorator Annotate pos=(57,22) size=192x44 style(Label), value = // annotation user_begin: 24 // annotation user: // annotation user: render_neuron_model.net // annotation user_end: // resource *decorator.foreground:#b30000 // page group: README // // decorator Annotate pos=(261,37) size=220x124 style(Label), value = // annotation user_begin: 161 // annotation user: // annotation user: MCell viz output files for mesh // annotation user: data are imported here (time 0 // annotation user: values only). The file names // annotation user: are accessible in the "MCell // annotation user: Visualization Filenames" // annotation user: control panel. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Meshes // // decorator Annotate pos=(590,233) size=327x172 style(Label), value = // annotation user_begin: 357 // annotation user: // annotation user: These selector lists are accessible in the // annotation user: "Choose Meshes and Effector Sites" control // annotation user: panel, and allow the mesh surfaces to be // annotation user: rendered with different color schemes. With // annotation user: the settings as supplied on the CD-ROM, the // annotation user: cell membrane mesh will be rendered in blue, // annotation user: and the outer diffusion boundary mesh is not // annotation user: rendered (but its Glu reuptake effector sites // annotation user: are). // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Meshes // // decorator Annotate pos=(304,14) size=371x140 style(Label), value = // annotation user_begin: 327 // annotation user: // annotation user: MCell viz output files for effector site data are // annotation user: imported here. The templates for the file names are // annotation user: accessible in the "MCell Visualization Filenames" // annotation user: control panel, and the MCell simulation iteration // annotation user: number is inserted in the file name using the DX // annotation user: sequencer. This allows the visual program to render // annotation user: the frames in sequence. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Effectors // // decorator Annotate pos=(698,220) size=202x76 style(Label), value = // annotation user_begin: 61 // annotation user: // annotation user: A custom glyph is imported // annotation user: here for the GluR effector // annotation user: sites. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Effectors // // decorator Annotate pos=(346,599) size=264x108 style(Label), value = // annotation user_begin: 161 // annotation user: // annotation user: Rendering of GluR and GluT effector // annotation user: sites can be turned on and off using // annotation user: this selector list, accessible in the // annotation user: "Choose Meshes and Effector Sites" // annotation user: control panel. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Effectors // // decorator Annotate pos=(322,44) size=371x140 style(Label), value = // annotation user_begin: 322 // annotation user: // annotation user: MCell viz output files for molecule data are // annotation user: imported here. The templates for the file names are // annotation user: accessible in the "MCell Visualization Filenames" // annotation user: control panel, and the MCell simulation iteration // annotation user: number is inserted in the file name using the DX // annotation user: sequencer. This allows the visual program to render // annotation user: the frames in sequence. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Molecules // // decorator Annotate pos=(297,757) size=235x108 style(Label), value = // annotation user_begin: 130 // annotation user: // annotation user: Rendering of Glu molecules can // annotation user: be turned on and off using this // annotation user: selector list, accessible in // annotation user: the "Choose Molecules" control // annotation user: panel. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Molecules // // decorator Annotate pos=(297,813) size=280x92 style(Label), value = // annotation user_begin: 118 // annotation user: // annotation user: Effector site colors are assigned by // annotation user: state value using a lookup table, // annotation user: accessible in the "Color Table" control // annotation user: panel. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Effectors // // decorator Annotate pos=(456,1139) size=290x92 style(Label), value = // annotation user_begin: 123 // annotation user: // annotation user: GluR effector sites are rendered with // annotation user: the custom glyph, GluT effector sites // annotation user: are rendered using a standard spherical // annotation user: glyph. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Effectors // // decorator Annotate pos=(212,964) size=280x92 style(Label), value = // annotation user_begin: 113 // annotation user: // annotation user: Molecule colors are assigned by // annotation user: state value using a lookup table, // annotation user: accessible in the "Color Table" control // annotation user: panel. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Molecules // // decorator Annotate pos=(179,207) size=327x156 style(Label), value = // annotation user_begin: 333 // annotation user: // annotation user: This page creates the lookup table used for // annotation user: effector site and molecule colors. The table // annotation user: is accessible in the "Color Table" control // annotation user: panel. State values are mapped in a 1-to-1 // annotation user: correspondence with RGB (Red-Green-Blue) // annotation user: color values. Each entry in the RGB list // annotation user: can range from 0 to 1, so "1 0 0" would be // annotation user: red, "0 0 1" would be blue, etc. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Color Table // // decorator Annotate pos=(233,39) size=295x140 style(Label), value = // annotation user_begin: 249 // annotation user: // annotation user: With the settings as supplied on the // annotation user: CD-ROM, the sequencer steps from 0 to // annotation user: 500 using increments of 25. These values // annotation user: are inserted into filename templates so // annotation user: that the MCell frame data files can be // annotation user: read in sequence according to MCell // annotation user: iteration number. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Sequencer // // decorator Annotate pos=(204,176) size=253x60 style(Label), value = // annotation user_begin: 55 // annotation user: // annotation user: Collect all the objects and make an // annotation user: interactive image. // annotation user_end: // resource *decorator.alignment:XmALIGNMENT_BEGINNING // page group: Image // network: end of macro body CacheScene(main_Image_1_in_1, main_Image_1_out_1, main_Image_1_out_2); } main_FileSelector_2_out_1 = "neuron.mesh_element_states.0.dx"; main_Import_5_in_2 = NULL; main_Import_5_in_3 = NULL; main_Import_5_in_4 = NULL; main_Import_5_in_5 = NULL; main_Import_5_in_6 = NULL; main_Import_5_out_1 = NULL; main_FileSelector_1_out_1 = "neuron.mesh_elements.0.dx"; main_Import_3_in_2 = NULL; main_Import_3_in_3 = NULL; main_Import_3_in_4 = NULL; main_Import_3_in_5 = NULL; main_Import_3_in_6 = NULL; main_Import_3_out_1 = NULL; main_Replace_2_in_3 = "default"; main_Replace_2_in_4 = "state_values"; main_Replace_2_out_1 = NULL; main_SelectorList_1_in_1 = "SelectorList_1"; main_SelectorList_1_in_2 = { "null_object (default)" "1" }; main_SelectorList_1_in_3 = { 0 2 }; main_SelectorList_1_in_5 = NULL; main_SelectorList_1_in_6 = NULL; main_SelectorList_1_in_7 = NULL; main_SelectorList_1_out_2 = { "null_object (default)" "1" }; main_Select_3_in_3 = NULL; main_Select_3_out_1 = NULL; main_Normals_1_in_2 = "positions"; main_Normals_1_out_1 = NULL; main_Color_1_in_2 = "steel blue"; main_Color_1_in_3 = NULL; main_Color_1_in_4 = "front colors"; main_Color_1_in_5 = NULL; main_Color_1_out_1 = NULL; main_Color_2_in_2 = "midnight blue"; main_Color_2_in_3 = NULL; main_Color_2_in_4 = "back colors"; main_Color_2_in_5 = NULL; main_Color_2_out_1 = NULL; main_SelectorList_2_in_1 = "SelectorList_2"; main_SelectorList_2_in_2 = { "null_object (default)" }; main_SelectorList_2_in_3 = { 0 }; main_SelectorList_2_in_5 = NULL; main_SelectorList_2_in_6 = NULL; main_SelectorList_2_in_7 = NULL; main_SelectorList_2_out_2 = { "null_object (default)" }; main_Select_4_in_3 = NULL; main_Select_4_out_1 = NULL; main_Normals_3_in_2 = "positions"; main_Normals_3_out_1 = NULL; main_Color_5_in_2 = "gray"; main_Color_5_in_3 = 0.7; main_Color_5_in_4 = "back colors"; main_Color_5_in_5 = NULL; main_Color_5_out_1 = NULL; main_Color_6_in_2 = "dim gray"; main_Color_6_in_3 = 0.7; main_Color_6_in_4 = "front colors"; main_Color_6_in_5 = NULL; main_Color_6_out_1 = NULL; main_SelectorList_3_in_1 = "SelectorList_3"; main_SelectorList_3_in_2 = { "null_object (default)" }; main_SelectorList_3_in_3 = { 0 }; main_SelectorList_3_in_5 = NULL; main_SelectorList_3_in_6 = NULL; main_SelectorList_3_in_7 = NULL; main_SelectorList_3_out_2 = { "null_object (default)" }; main_Select_7_in_3 = NULL; main_Select_7_out_1 = NULL; main_Normals_6_in_2 = "positions"; main_Normals_6_out_1 = NULL; main_Color_11_in_2 = "gold"; main_Color_11_in_3 = 0.3; main_Color_11_in_4 = NULL; main_Color_11_in_5 = NULL; main_Color_11_out_1 = NULL; main_ShowConnections_1_out_1 = NULL; main_Collect_3_out_1 = NULL; main_Inquire_3_in_2 = "is 3D positions"; main_Inquire_3_in_3 = NULL; main_Inquire_3_out_1 = NULL; main_Toggle_1_in_1 = "Toggle_1"; main_Toggle_1_in_2 = 2; main_Toggle_1_in_3 = 1; main_Toggle_1_in_4 = NULL; main_Toggle_1_in_5 = NULL; main_Toggle_1_in_6 = NULL; main_Toggle_1_out_1 = 2; main_Compute_3_in_1 = "$0?$1:1"; main_Compute_3_out_1 = NULL; main_Mark_3_in_2 = "positions"; main_Mark_3_out_1 = NULL; main_Vector_3_in_1 = "Vector_3"; main_Vector_3_in_2 = NULL; main_Vector_3_in_3 = [ -0.05 -1 -1 ]; main_Vector_3_in_4 = NULL; main_Vector_3_in_5 = NULL; main_Vector_3_in_6 = NULL; main_Vector_3_in_7 = NULL; main_Vector_3_in_8 = NULL; main_Vector_3_in_9 = NULL; main_Vector_3_in_10 = NULL; main_Vector_3_in_11 = NULL; main_Vector_3_out_1 = [ -0.05 -1 -1 ]; main_Vector_4_in_1 = "Vector_4"; main_Vector_4_in_2 = NULL; main_Vector_4_in_3 = [ 1 1 1 ]; main_Vector_4_in_4 = NULL; main_Vector_4_in_5 = NULL; main_Vector_4_in_6 = NULL; main_Vector_4_in_7 = NULL; main_Vector_4_in_8 = NULL; main_Vector_4_in_9 = NULL; main_Vector_4_in_10 = NULL; main_Vector_4_in_11 = NULL; main_Vector_4_out_1 = [ 1 1 1 ]; main_Include_4_in_4 = NULL; main_Include_4_in_5 = NULL; main_Include_4_in_6 = NULL; main_Include_4_out_1 = NULL; main_Unmark_4_in_2 = "positions"; main_Unmark_4_out_1 = NULL; main_Switch_1_out_1 = NULL; main_Transmitter_2_out_1 = NULL; main_Receiver_2_out_1 = NULL; main_String_1_out_1 = "neuron.effector_site_states.%d.dx"; 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_5 = NULL; main_Sequencer_1_in_6 = NULL; main_Sequencer_1_in_7 = { 0 500 25 0 500 1 }; main_Sequencer_1_out_1 = NULL; @startframe = 0; @nextframe = @startframe; @endframe = 500; @deltaframe = 25; main_Transmitter_7_out_1 = NULL; main_Receiver_10_out_1 = NULL; main_Format_1_out_1 = NULL; main_Import_2_in_2 = NULL; main_Import_2_in_3 = NULL; main_Import_2_in_4 = NULL; main_Import_2_in_5 = NULL; main_Import_2_in_6 = NULL; main_Import_2_out_1 = NULL; main_FileSelector_3_out_1 = "neuron.effector_site_positions.0.dx"; main_Import_1_in_2 = NULL; main_Import_1_in_3 = NULL; main_Import_1_in_4 = NULL; main_Import_1_in_5 = NULL; main_Import_1_in_6 = NULL; main_Import_1_out_1 = NULL; main_Replace_1_in_3 = "default"; main_Replace_1_in_4 = "state_values"; main_Replace_1_out_1 = NULL; main_Inquire_4_in_2 = "is 3D positions"; main_Inquire_4_in_3 = NULL; main_Inquire_4_out_1 = NULL; main_Toggle_2_in_1 = "Toggle_2"; main_Toggle_2_in_2 = 2; main_Toggle_2_in_3 = 1; main_Toggle_2_in_4 = NULL; main_Toggle_2_in_5 = NULL; main_Toggle_2_in_6 = NULL; main_Toggle_2_out_1 = 2; main_Compute_4_in_1 = "$0?$1:1"; main_Compute_4_out_1 = NULL; main_Mark_1_in_2 = "positions"; main_Mark_1_out_1 = NULL; main_Vector_1_in_1 = "Vector_1"; main_Vector_1_in_2 = NULL; main_Vector_1_in_3 = [ 0.1 -0.1 -0.1 ]; main_Vector_1_in_4 = NULL; main_Vector_1_in_5 = NULL; main_Vector_1_in_6 = NULL; main_Vector_1_in_7 = NULL; main_Vector_1_in_8 = NULL; main_Vector_1_in_9 = NULL; main_Vector_1_in_10 = NULL; main_Vector_1_in_11 = NULL; main_Vector_1_out_1 = [ 0.1 -0.1 -0.1 ]; main_Vector_2_in_1 = "Vector_2"; main_Vector_2_in_2 = NULL; main_Vector_2_in_3 = [ 1 0.1 0.16 ]; main_Vector_2_in_4 = NULL; main_Vector_2_in_5 = NULL; main_Vector_2_in_6 = NULL; main_Vector_2_in_7 = NULL; main_Vector_2_in_8 = NULL; main_Vector_2_in_9 = NULL; main_Vector_2_in_10 = NULL; main_Vector_2_in_11 = NULL; main_Vector_2_out_1 = [ 1 0.1 0.16 ]; main_Include_1_in_4 = NULL; main_Include_1_in_5 = NULL; main_Include_1_in_6 = 1; main_Include_1_out_1 = NULL; main_Unmark_1_in_2 = "positions"; main_Unmark_1_out_1 = NULL; main_Switch_2_out_1 = NULL; main_SelectorList_6_in_1 = "SelectorList_6"; main_SelectorList_6_in_2 = { "null_object (default)" "0" "1" }; main_SelectorList_6_in_3 = { 0 1 2 }; main_SelectorList_6_in_5 = NULL; main_SelectorList_6_in_6 = NULL; main_SelectorList_6_in_7 = NULL; main_SelectorList_6_out_2 = { "null_object (default)" "0" "1" }; main_Select_9_in_3 = NULL; main_Select_9_out_1 = NULL; main_ScalarList_1_in_1 = "ScalarList_1"; main_ScalarList_1_in_2 = NULL; main_ScalarList_1_in_3 = { 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 }; main_ScalarList_1_in_4 = NULL; main_ScalarList_1_in_5 = NULL; main_ScalarList_1_in_6 = NULL; main_ScalarList_1_in_7 = NULL; main_ScalarList_1_in_8 = NULL; main_ScalarList_1_in_9 = NULL; main_ScalarList_1_in_10 = NULL; main_ScalarList_1_in_11 = NULL; main_ScalarList_1_out_1 = { 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 }; main_List_1_in_2 = NULL; main_List_1_out_1 = NULL; main_VectorList_1_in_1 = "VectorList_1"; main_VectorList_1_in_2 = NULL; main_VectorList_1_in_3 = { [0.0 0.0 1.0 ], [1.0 0.0 0.0 ], [0.0 1.0 0.0 ], [1.0 0.0 1.0 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ], [1.0 1.0 0.0 ], [1.0 1.0 1.0 ], [0.3 0.3 0.3 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ] }; main_VectorList_1_in_4 = NULL; main_VectorList_1_in_5 = NULL; main_VectorList_1_in_6 = NULL; main_VectorList_1_in_7 = NULL; main_VectorList_1_in_8 = NULL; main_VectorList_1_in_9 = NULL; main_VectorList_1_in_10 = NULL; main_VectorList_1_in_11 = NULL; main_VectorList_1_out_1 = { [0.0 0.0 1.0 ], [1.0 0.0 0.0 ], [0.0 1.0 0.0 ], [1.0 0.0 1.0 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ], [1.0 1.0 0.0 ], [1.0 1.0 1.0 ], [0.3 0.3 0.3 ], [0.0 0.0 0.0 ], [1.0 1.0 1.0 ] }; main_Construct_2_in_2 = NULL; main_Construct_2_in_3 = NULL; main_Construct_2_out_1 = NULL; main_Rename_1_in_2 = "positions"; main_Rename_1_in_3 = "state_values"; main_Rename_1_out_1 = NULL; main_Rename_2_in_2 = "data"; main_Rename_2_in_3 = "molecule_colors"; main_Rename_2_out_1 = NULL; main_Transmitter_1_out_1 = NULL; main_Receiver_1_out_1 = NULL; main_Lookup_1_in_3 = "state_values"; main_Lookup_1_in_4 = "state_values"; main_Lookup_1_in_5 = "molecule_colors"; main_Lookup_1_in_6 = "colors"; main_Lookup_1_in_7 = NULL; main_Lookup_1_out_1 = NULL; main_Mark_2_in_2 = "state_values"; main_Mark_2_out_1 = NULL; main_Inquire_5_in_2 = "is 3D positions"; main_Inquire_5_in_3 = NULL; main_Inquire_5_out_1 = NULL; main_Compute_5_in_1 = "$0?2:1"; main_Compute_5_out_1 = NULL; main_Include_2_in_2 = 1.0; main_Include_2_in_3 = 7.0; main_Include_2_in_4 = 0; main_Include_2_in_5 = 1; main_Include_2_in_6 = 1; main_Include_2_out_1 = NULL; main_Unmark_2_in_2 = "state_values"; main_Unmark_2_out_1 = NULL; main_FileSelector_4_out_1 = "GluR_glyph.dx"; main_Import_4_in_2 = NULL; main_Import_4_in_3 = NULL; main_Import_4_in_4 = NULL; main_Import_4_in_5 = NULL; main_Import_4_in_6 = NULL; main_Import_4_out_1 = NULL; main_Scale_1_in_2 = [.065 .065 .00283065]; main_Scale_1_out_1 = NULL; main_Rotate_1_in_2 = "x"; main_Rotate_1_in_3 = 270.0; main_Rotate_1_out_1 = NULL; main_Refine_1_in_2 = "triangles"; main_Refine_1_out_1 = NULL; main_Glyph_1_in_3 = NULL; main_Glyph_1_in_4 = 1.0; main_Glyph_1_in_5 = NULL; main_Glyph_1_in_6 = 0.0; main_Glyph_1_in_7 = 1.0; main_Glyph_1_out_1 = NULL; main_Include_3_in_2 = 1.0; main_Include_3_in_3 = 7.0; main_Include_3_in_4 = 1; main_Include_3_in_5 = 1; main_Include_3_in_6 = 1; main_Include_3_out_1 = NULL; main_Unmark_3_in_2 = "state_values"; main_Unmark_3_out_1 = NULL; main_Remove_1_in_2 = "data"; main_Remove_1_out_1 = NULL; main_Glyph_2_in_2 = 0.5; main_Glyph_2_in_3 = NULL; main_Glyph_2_in_4 = .003; main_Glyph_2_in_5 = 1.0; main_Glyph_2_in_6 = 0.0; main_Glyph_2_in_7 = 1.0; main_Glyph_2_out_1 = NULL; main_Collect_4_out_1 = NULL; main_Switch_4_out_1 = NULL; main_Transmitter_5_out_1 = NULL; main_Receiver_7_out_1 = NULL; main_String_3_out_1 = "molecule_states.%d.dx"; main_Receiver_11_out_1 = NULL; main_Format_2_out_1 = NULL; main_Import_6_in_2 = NULL; main_Import_6_in_3 = NULL; main_Import_6_in_4 = NULL; main_Import_6_in_5 = NULL; main_Import_6_in_6 = NULL; main_Import_6_out_1 = NULL; main_String_2_out_1 = "molecule_positions.%d.dx"; main_Format_3_out_1 = NULL; main_Import_7_in_2 = NULL; main_Import_7_in_3 = NULL; 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_Replace_3_in_3 = "default"; main_Replace_3_in_4 = "state_values"; main_Replace_3_out_1 = NULL; main_Inquire_2_in_2 = "is 3D positions"; main_Inquire_2_in_3 = NULL; main_Inquire_2_out_1 = NULL; main_Toggle_3_in_1 = "Toggle_3"; main_Toggle_3_in_2 = 2; main_Toggle_3_in_3 = 1; main_Toggle_3_in_4 = NULL; main_Toggle_3_in_5 = NULL; main_Toggle_3_in_6 = NULL; main_Toggle_3_out_1 = 2; main_Compute_2_in_1 = "$0?$1:1"; main_Compute_2_out_1 = NULL; main_Mark_4_in_2 = "positions"; main_Mark_4_out_1 = NULL; main_Vector_5_in_1 = "Vector_5"; main_Vector_5_in_2 = NULL; main_Vector_5_in_3 = [ 0.16 -0.1 -0.1 ]; main_Vector_5_in_4 = NULL; main_Vector_5_in_5 = NULL; main_Vector_5_in_6 = NULL; main_Vector_5_in_7 = NULL; main_Vector_5_in_8 = NULL; main_Vector_5_in_9 = NULL; main_Vector_5_in_10 = NULL; main_Vector_5_in_11 = NULL; main_Vector_5_out_1 = [ 0.16 -0.1 -0.1 ]; main_Vector_6_in_1 = "Vector_6"; main_Vector_6_in_2 = NULL; main_Vector_6_in_3 = [ 1 0.1 0.1 ]; main_Vector_6_in_4 = NULL; main_Vector_6_in_5 = NULL; main_Vector_6_in_6 = NULL; main_Vector_6_in_7 = NULL; main_Vector_6_in_8 = NULL; main_Vector_6_in_9 = NULL; main_Vector_6_in_10 = NULL; main_Vector_6_in_11 = NULL; main_Vector_6_out_1 = [ 1 0.1 0.1 ]; main_Include_5_in_4 = NULL; main_Include_5_in_5 = NULL; main_Include_5_in_6 = 1; main_Include_5_out_1 = NULL; main_Unmark_5_in_2 = "positions"; main_Unmark_5_out_1 = NULL; main_Switch_3_out_1 = NULL; main_SelectorList_5_in_1 = "SelectorList_5"; main_SelectorList_5_in_2 = { "null_object (default)" "Glu" }; main_SelectorList_5_in_3 = { 0 1 }; main_SelectorList_5_in_5 = NULL; main_SelectorList_5_in_6 = NULL; main_SelectorList_5_in_7 = NULL; main_SelectorList_5_out_2 = { "null_object (default)" "Glu" }; main_Select_8_in_3 = NULL; main_Select_8_out_1 = NULL; main_Receiver_9_out_1 = NULL; main_Lookup_2_in_3 = "state_values"; main_Lookup_2_in_4 = "state_values"; main_Lookup_2_in_5 = "molecule_colors"; main_Lookup_2_in_6 = "colors"; main_Lookup_2_in_7 = NULL; main_Lookup_2_out_1 = NULL; main_ShowPositions_3_in_2 = NULL; main_ShowPositions_3_out_1 = NULL; main_Transmitter_6_out_1 = NULL; main_Receiver_8_out_1 = NULL; main_Collect_1_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_1_in_1 = "Image_1"; main_Image_1_in_3 = "X24,,"; main_Image_1_in_4 = 1; main_Image_1_in_5 = [0 0 0]; main_Image_1_in_6 = [1.4 0 0.216836]; main_Image_1_in_7 = NULL; main_Image_1_in_8 = 720; main_Image_1_in_9 = 0.667; main_Image_1_in_10 = [0 1 0]; main_Image_1_in_11 = 30.0; main_Image_1_in_12 = 1; main_Image_1_in_13 = NULL; main_Image_1_in_14 = 1; main_Image_1_in_15 = NULL; main_Image_1_in_16 = NULL; main_Image_1_in_17 = NULL; main_Image_1_in_18 = NULL; main_Image_1_in_19 = 0; main_Image_1_in_20 = NULL; main_Image_1_in_21 = NULL; main_Image_1_in_22 = NULL; main_Image_1_in_23 = NULL; main_Image_1_in_25 = NULL; main_Image_1_in_26 = NULL; main_Image_1_in_27 = NULL; main_Image_1_in_28 = NULL; main_Image_1_in_29 = NULL; main_Image_1_in_30 = NULL; main_Image_1_in_31 = NULL; main_Image_1_in_32 = NULL; main_Image_1_in_33 = NULL; main_Image_1_in_34 = NULL; main_Image_1_in_35 = NULL; main_Image_1_in_36 = NULL; main_Image_1_in_37 = NULL; main_Image_1_in_38 = NULL; main_Image_1_in_39 = NULL; main_Image_1_in_40 = NULL; main_Image_1_in_41 = "none"; main_Image_1_in_42 = NULL; main_Image_1_in_43 = NULL; main_Image_1_in_44 = NULL; main_Image_1_in_45 = NULL; main_Image_1_in_46 = NULL; main_Image_1_in_47 = NULL; main_Image_1_in_48 = NULL; main_Image_1_in_49 = NULL; Executive("product version 4 1 0"); $sync sequence main(); play;