#!/usr/bin/avs -network
version 5.02 (50.62 sg2)
#
module "animate filename.user.7" -xy 178,92 -ex $Path/unsupp_mods/anim_fname
#
module "read ucd.user.0" -xy 248,172 -ex $Path/avs_library/ucd_multm
port_vis "read ucd.user.0":"read file" -on
module "generate colormap.user.1" -xy 48,162
module "ucd contour.user.2" -xy 418,252 -ex $Path/avs_library/ucd_multm
module "ucd iso.user.3" -xy 178,272 -ex $Path/avs_library/ucd_multm
module "ucd to geom.user.4" -xy 188,382 -ex $Path/avs_library/ucd_multm
module "geometry viewer.user.5" -xy 158,452
module "ucd legend.user.6" -xy 18,252 -ex $Path/avs_library/ucd_legend
module "animated integer.user.8" -xy 178,12 -ex $Path/avs_library/anim_int
port_connect "read ucd.user.0":0 "ucd contour.user.2":0
port_connect "read ucd.user.0":0 "ucd iso.user.3":0
port_connect "read ucd.user.0":0 "ucd to geom.user.4":0
port_connect "read ucd.user.0":0 "ucd legend.user.6":0
port_connect "generate colormap.user.1":0 "ucd contour.user.2":1
port_connect "generate colormap.user.1":0 "ucd iso.user.3":1
port_connect "generate colormap.user.1":0 "ucd legend.user.6":1
port_connect "ucd contour.user.2":0 "ucd to geom.user.4":1
port_connect "ucd iso.user.3":0 "geometry viewer.user.5":0
port_connect "ucd to geom.user.4":0 "geometry viewer.user.5":0
port_connect "ucd legend.user.6":0 "ucd to geom.user.4":2
port_connect "animate filename.user.7":0 "read ucd.user.0":0
port_connect "animated integer.user.8":0 "animate filename.user.7":0
#
parm_set "animate filename.user.7":"filename base" %UCDFILE_
parm_set "animated integer.user.8":"max value" %NSTEP_
parm_set "animated integer.user.8":"steps" %NSTEP_
#
parm_set "ucd iso.user.3":"Map Scalar" true
parm_set "ucd to geom.user.4":Shrink true
parm_set "ucd to geom.user.4":"Shrink Factor" 0 -range 0 100
parm_set "ucd to geom.user.4":mode "All Faces"
parm_set "ucd to geom.user.4":"Explode Factor" 0
parm_set "ucd legend.user.6":range true
parm_set "animate filename.user.7":"filename suffix" ""
parm_set "animated integer.user.8":"min value" 1
parm_set "animated integer.user.8":sleep false
geom_set_scene -scene "geometry viewer.user.5"
geom_set_camera_name "Camera 1"
geom_resize_camera -view "Camera 1" 480 480
#
# State for view: Camera 1
#
geom_set_position -view "Camera 1" 0 0 -12
geom_set_view_modes -depth_cue 0 -view "Camera 1"
geom_set_view_modes -polygonal_spheres 0 -view "Camera 1"
geom_set_view_modes -stereo 0 -view "Camera 1"
geom_set_view_modes -head_tracking 1 -view "Camera 1"
geom_set_view_modes -z_buffer 1 -view "Camera 1"
geom_set_camera_params -view "Camera 1" -front -88 -back 112
geom_set_depth_cue_params "Camera 1" -scale 0.1
#
# Light state
#
geom_set_light -light 1 -type bi-directional -state 1
geom_set_light -type ambient -state 1
#
# State for object: top
#
geom_set_cur_cli_obj top
geom_set_matrix   -mat \
                  8.33333    0    0    0 \
                    0    8.33333    0    0 \
                    0    0    8.33333    0 \
                    -4.16667    -4.16667    0    1 
geom_set_backface_cull normal
geom_set_obj_window -0.1 1.1 -0.1 1.1 0 0
#
# State for object: "ucd geom"
#
geom_set_cur_cli_obj -push
geom_set_name_context "ucd to geom.user.4"
geom_create_obj "ucd geom" -mod "ucd to geom.user.4"
geom_set_trans_mode parent
geom_set_obj_window -0.1 1.1 -0.1 1.1 0 0
geom_set_name_context
geom_set_cur_cli_obj -pop
#
# State for object: "iso surf"
#
geom_set_cur_cli_obj -push
geom_set_name_context "ucd iso.user.3"
geom_create_obj "iso surf" -mod "ucd iso.user.3"
geom_set_trans_mode parent
geom_set_obj_window 0 1 0 1 0 0
geom_set_name_context
geom_set_cur_cli_obj -pop
shell "ui" shell
 panel Application -w app_panel -p ui -xy 0,0 -wh 260,987
  panel "Top Level Stack" -w master_stack -p Application -xy 2,100 -wh 256,784
   panel "read ucd.user.0" -w panel -p "Top Level Stack" -xy 0,218 -wh 20,20
   panel "generate colormap.user.1" -w panel -p "Top Level Stack" \
       -xy 0,64 -wh 256,566
    manipulator "generate colormap.user.1:colormap" -w color_editor -p "generate colormap.user.1" \
        -xy 10,10 -wh 236,416
    manipulator "generate colormap.user.1:lo value" -w dial -p "generate colormap.user.1" \
        -xy 10,426 -wh 90,130
    manipulator "generate colormap.user.1:hi value" -w dial -p "generate colormap.user.1" \
        -xy 100,426 -wh 90,130
   panel "ucd contour.user.2" -w panel -p "Top Level Stack" -xy 0,64 -wh 138,64
    manipulator "ucd contour.user.2:Node Data" -w text -p "ucd contour.user.2" \
        -xy 10,10 -wh 118,22
    manipulator "ucd contour.user.2:node data" -w radio_buttons -p "ucd contour.user.2" \
        -xy 10,32 -wh 118,22
   panel "ucd iso.user.3" -w panel -p "Top Level Stack" -xy 0,64 -wh 228,216
    manipulator "ucd iso.user.3:Node Data" -w text -p "ucd iso.user.3" \
        -xy 10,10 -wh 118,22
    manipulator "ucd iso.user.3:node data" -w radio_buttons -p "ucd iso.user.3" \
        -xy 10,32 -wh 118,22
    manipulator "ucd iso.user.3:Level" -w dial -p "ucd iso.user.3" \
        -xy 128,32 -wh 90,130
    manipulator "ucd iso.user.3:Map Scalar" -w toggle -p "ucd iso.user.3" \
        -xy 10,162 -wh 118,22
    manipulator "ucd iso.user.3:map data" -w radio_buttons -p "ucd iso.user.3" \
        -xy 10,184 -wh 118,22
   panel "ucd to geom.user.4" -w panel -p "Top Level Stack" -xy 0,64 -wh 228,412
    manipulator "ucd to geom.user.4:Shrink" -w toggle -p "ucd to geom.user.4" \
        -xy 10,10 -wh 118,22
    manipulator "ucd to geom.user.4:Shrink Factor" -w idial -p "ucd to geom.user.4" \
        -xy 128,10 -wh 90,130\
   -P title string "Shrink Factor"
    manipulator "ucd to geom.user.4:Geometry Display Mode" -w text -p "ucd to geom.user.4" \
        -xy 10,140 -wh 177,22
    manipulator "ucd to geom.user.4:mode" -w radio_buttons -p "ucd to geom.user.4" \
        -xy 10,162 -wh 177,66
    manipulator "ucd to geom.user.4:Explode Materials" -w toggle -p "ucd to geom.user.4" \
        -xy 10,228 -wh 118,22
    manipulator "ucd to geom.user.4:Explode Factor" -w idial -p "ucd to geom.user.4" \
        -xy 128,228 -wh 90,130
    manipulator "ucd to geom.user.4:Save Geometry" -w toggle -p "ucd to geom.user.4" \
        -xy 10,358 -wh 118,22
    manipulator "ucd to geom.user.4:Color Cells" -w toggle -p "ucd to geom.user.4" -hide \
        -xy 10,380 -wh 118,22
   panel "ucd legend.user.6" -w panel -p "Top Level Stack" -xy 0,174 -wh 228,324
    manipulator "ucd legend.user.6:Node Data" -w text -p "ucd legend.user.6" \
        -xy 10,10 -wh 118,22
    manipulator "ucd legend.user.6:node data" -w radio_buttons -p "ucd legend.user.6" \
        -xy 10,32 -wh 118,22
    manipulator "ucd legend.user.6:value" -w dial -p "ucd legend.user.6" -hide \
        -xy 128,32 -wh 90,130
    manipulator "ucd legend.user.6:lo value" -w dial -p "ucd legend.user.6" \
        -xy 10,162 -wh 90,130
    manipulator "ucd legend.user.6:hi value" -w dial -p "ucd legend.user.6" \
        -xy 100,162 -wh 90,130
    manipulator "ucd legend.user.6:range" -w toggle -p "ucd legend.user.6" \
        -xy 10,292 -wh 118,22
   panel "animate filename.user.7" -w panel -p "Top Level Stack" \
       -xy 0,218 -wh 256,96
    manipulator "animate filename.user.7:filename base" -w typein -p "animate filename.user.7" \
        -xy 10,10 -wh 236,22
    manipulator "animate filename.user.7:filename suffix" -w typein -p "animate filename.user.7" \
        -xy 10,32 -wh 236,22
    manipulator "animate filename.user.7:integer decimal precision" -w islider -p "animate filename.user.7" \
        -xy 10,54 -wh 236,32
   panel "animated integer.user.8" -w panel -p "Top Level Stack" \
       -xy 0,218 -wh 256,174
    manipulator "animated integer.user.8:min value" -w typein_integer -p "animated integer.user.8" \
        -xy 10,10 -wh 236,22
    manipulator "animated integer.user.8:max value" -w typein_integer -p "animated integer.user.8" \
        -xy 10,32 -wh 236,22
    manipulator "animated integer.user.8:steps" -w typein_integer -p "animated integer.user.8" \
        -xy 10,54 -wh 118,22
    manipulator "animated integer.user.8:choice" -w radio_buttons -p "animated integer.user.8" \
        -xy 10,98 -wh 118,66
 panel "geometry viewer.user.5!display" -w container -p ui -xy 710,45 -wh 520,552\
   -P zoom_coords string "0 0 0 0 0 <$NULL> 0 0 0 0"
manipulator "read ucd.user.0":"read file" -w none
manipulator "geometry viewer.user.5":object -w none
manipulator "geometry viewer.user.5":"Update Always" -w none
manipulator "geometry viewer.user.5":"Update Image" -w none
# End of file
