// // time: Wed Apr 9 15:44:51 1997 // // version: 3.1.1 (format), 3.1.4 (DX Beta) // // // MODULE main // // comment: This program demonstrates the use of the built-in // comment: default interactors for SuperviseState. There are // comment: three built-in interactors, which are accessible using // comment: the selector interactor in the control panel. // workspace: width = 638, height = 614 // layout: snap = 0, width = 50, height = 50, align = NN // macro main( ) -> ( ) { // // node Construct[1]: x = 35, y = 37, inputs = 4, label = Construct // input[1]: defaulting = 0, visible = 1, type = 16777224, value = {[-1 -1 -1]} // input[2]: defaulting = 0, visible = 1, type = 16777224, value = {[2 2 2]} // input[3]: defaulting = 0, visible = 1, type = 8, value = [2 2 2] // input[4]: defaulting = 0, visible = 1, type = 16777245, value = {1 .. 8} // main_Construct_1_out_1 = Construct( main_Construct_1_in_1, main_Construct_1_in_2, main_Construct_1_in_3, main_Construct_1_in_4 ) [instance: 1, cache: 1]; // // node ShowBoundary[1]: x = 12, y = 155, inputs = 2, label = ShowBoundary // main_ShowBoundary_1_out_1 = ShowBoundary( main_Construct_1_out_1, main_ShowBoundary_1_in_2 ) [instance: 1, cache: 1]; // // node AutoColor[1]: x = 38, y = 268, inputs = 10, label = AutoColor // main_AutoColor_1_out_1, main_AutoColor_1_out_2 = AutoColor( main_ShowBoundary_1_out_1, main_AutoColor_1_in_2, main_AutoColor_1_in_3, main_AutoColor_1_in_4, main_AutoColor_1_in_5, main_AutoColor_1_in_6, main_AutoColor_1_in_7, main_AutoColor_1_in_8, main_AutoColor_1_in_9, main_AutoColor_1_in_10 ) [instance: 1, cache: 1]; // // node AutoCamera[1]: x = 27, y = 382, inputs = 9, label = AutoCamera // main_AutoCamera_1_out_1 = AutoCamera( main_AutoColor_1_out_1, main_AutoCamera_1_in_2, main_AutoCamera_1_in_3, main_AutoCamera_1_in_4, main_AutoCamera_1_in_5, main_AutoCamera_1_in_6, main_AutoCamera_1_in_7, main_AutoCamera_1_in_8, main_AutoCamera_1_in_9 ) [instance: 1, cache: 1]; // // node SuperviseWindow[1]: x = 184, y = 227, inputs = 10, label = SuperviseWindow // input[1]: defaulting = 1, visible = 1, type = 32, value = "title" // input[9]: defaulting = 0, visible = 1, type = 3, value = 1 // main_SuperviseWindow_1_out_1, main_SuperviseWindow_1_out_2, main_SuperviseWindow_1_out_3 = SuperviseWindow( main_SuperviseWindow_1_in_1, main_SuperviseWindow_1_in_2, main_SuperviseWindow_1_in_3, main_SuperviseWindow_1_in_4, main_SuperviseWindow_1_in_5, main_SuperviseWindow_1_in_6, main_SuperviseWindow_1_in_7, main_SuperviseWindow_1_in_8, main_SuperviseWindow_1_in_9, main_SuperviseWindow_1_in_10 ) [instance: 1, cache: 1]; // // node Selector[3]: x = 476, y = 368, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_3" // input[2]: defaulting = 0, visible = 0, type = 32, value = "Pan" // input[3]: defaulting = 0, visible = 0, type = 29, value = 1 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "Pan" "Zoom" "Rotate" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 2 0 } // output[1]: visible = 1, type = 29, value = 1 // output[2]: visible = 1, type = 32, value = "Pan" // // // node SuperviseState[1]: x = 189, y = 458, inputs = 9, label = SuperviseState // main_SuperviseState_1_out_1, main_SuperviseState_1_out_2, main_SuperviseState_1_out_3, main_SuperviseState_1_out_4 = SuperviseState( main_SuperviseWindow_1_out_1, main_AutoCamera_1_out_1, main_SuperviseState_1_in_3, main_AutoColor_1_out_1, main_SuperviseState_1_in_5, main_SuperviseWindow_1_out_2, main_SuperviseWindow_1_out_3, main_Selector_3_out_1, main_SuperviseState_1_in_9 ) [instance: 1, cache: 1]; // // node Selector[4]: x = 10, y = 463, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_4" // input[2]: defaulting = 0, visible = 0, type = 32, value = "software" // input[3]: defaulting = 0, visible = 0, type = 29, value = 0 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = { "hardware" "software" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = { 1 0 } // output[1]: visible = 1, type = 29, value = 0 // output[2]: visible = 1, type = 32, value = "software" // // // node Options[1]: x = 70, y = 539, inputs = 3, label = Options // input[2]: defaulting = 0, visible = 1, type = 32, value = "rendering mode" // main_Options_1_out_1 = Options( main_SuperviseState_1_out_1, main_Options_1_in_2, main_Selector_4_out_2 ) [instance: 1, cache: 1]; // // node Display[2]: x = 240, y = 552, inputs = 8, label = Display // input[3]: visible = 1 // depth: value = 24 // main_Display_2_out_1[cache: 2] = Display( main_Options_1_out_1, main_SuperviseState_1_out_2, main_SuperviseState_1_out_3, main_Display_2_in_4, main_Display_2_in_5, main_Display_2_in_6, main_Display_2_in_7, main_Display_2_in_8 ) [instance: 2, cache: 1]; // // decorator Annotate pos=(147,89) size=491x60 style(Label), value = // annotation user_begin: 183 // annotation user: Open the control panel, and go into Execute-on-change mode. // annotation user: As long as the environment variable DX_USER_INTERACTOR_FILE is // annotation user: not set, the Data Explorer default interactors will be used. // annotation user_end: // network: end of macro body } main_Construct_1_in_1 = {[-1 -1 -1]}; main_Construct_1_in_2 = {[2 2 2]}; main_Construct_1_in_3 = [2 2 2]; main_Construct_1_in_4 = {1 .. 8}; main_Construct_1_out_1 = NULL; main_ShowBoundary_1_in_2 = NULL; main_ShowBoundary_1_out_1 = NULL; main_AutoColor_1_in_2 = NULL; main_AutoColor_1_in_3 = NULL; main_AutoColor_1_in_4 = NULL; main_AutoColor_1_in_5 = NULL; main_AutoColor_1_in_6 = NULL; main_AutoColor_1_in_7 = NULL; main_AutoColor_1_in_8 = NULL; main_AutoColor_1_in_9 = NULL; main_AutoColor_1_in_10 = NULL; main_AutoColor_1_out_1 = NULL; main_AutoCamera_1_in_2 = NULL; main_AutoCamera_1_in_3 = NULL; main_AutoCamera_1_in_4 = NULL; main_AutoCamera_1_in_5 = NULL; main_AutoCamera_1_in_6 = NULL; main_AutoCamera_1_in_7 = NULL; main_AutoCamera_1_in_8 = NULL; main_AutoCamera_1_in_9 = NULL; main_AutoCamera_1_out_1 = NULL; main_SuperviseWindow_1_in_1 = NULL; main_SuperviseWindow_1_in_2 = NULL; main_SuperviseWindow_1_in_3 = NULL; main_SuperviseWindow_1_in_4 = NULL; main_SuperviseWindow_1_in_5 = NULL; main_SuperviseWindow_1_in_6 = NULL; main_SuperviseWindow_1_in_7 = NULL; main_SuperviseWindow_1_in_8 = NULL; main_SuperviseWindow_1_in_9 = 1; main_SuperviseWindow_1_in_10 = NULL; main_SuperviseWindow_1_out_1 = NULL; main_SuperviseWindow_1_out_2 = NULL; main_SuperviseWindow_1_out_3 = NULL; main_Selector_3_in_1 = "Selector_3"; main_Selector_3_in_2 = "Pan" ; main_Selector_3_in_3 = 1 ; main_Selector_3_in_4 = NULL; main_Selector_3_in_5 = NULL; main_Selector_3_in_6 = NULL; main_Selector_3_in_7 = NULL; main_Selector_3_out_1 = 1 ; main_SuperviseState_1_in_3 = NULL; main_SuperviseState_1_in_5 = NULL; main_SuperviseState_1_in_9 = NULL; main_SuperviseState_1_out_1 = NULL; main_SuperviseState_1_out_2 = NULL; main_SuperviseState_1_out_3 = NULL; main_Selector_4_in_1 = "Selector_4"; main_Selector_4_in_2 = "software" ; main_Selector_4_in_3 = 0 ; main_Selector_4_in_4 = NULL; main_Selector_4_in_5 = NULL; main_Selector_4_in_6 = NULL; main_Selector_4_in_7 = NULL; main_Selector_4_out_2 = "software" ; main_Options_1_in_2 = "rendering mode"; main_Options_1_out_1 = NULL; main_Display_2_in_4 = NULL; main_Display_2_in_5 = NULL; main_Display_2_in_6 = NULL; main_Display_2_in_7 = NULL; main_Display_2_in_8 = NULL; Executive("product version 3 1 4"); $sync main();