#!/usr/bin/avs -network
version 5.02 (50.62 sg2)
module "read ucd.user.0" -xy 588,22 -ex $Path/avs_library/ucd_multm
module "generate colormap.user.1" -xy 418,32
module "ucd hog.user.2" -xy 658,162 -ex $Path/avs_library/ucd_multm
module "ucd to geom.user.3" -xy 448,242 -ex $Path/avs_library/ucd_multm
module "geometry viewer.user.4" -xy 598,352
port_connect "read ucd.user.0":0 "ucd hog.user.2":0
port_connect "read ucd.user.0":0 "ucd to geom.user.3":0
port_connect "generate colormap.user.1":0 "ucd hog.user.2":1
port_connect "generate colormap.user.1":0 "geometry viewer.user.4":2
port_connect "ucd hog.user.2":0 "geometry viewer.user.4":0
port_connect "ucd to geom.user.3":0 "geometry viewer.user.4":0
#
parm_set "read ucd.user.0":"read file" %UCDFILE_
#
parm_set "ucd hog.user.2":Arrows true
parm_set "ucd hog.user.2":"N Segment" 8
parm_set "ucd hog.user.2":choice nodes
parm_set "ucd hog.user.2":"Normalize Vectors" false
parm_set "ucd to geom.user.3":mode "External Edges"
parm_set "ucd to geom.user.3":"Save Geometry" false
geom_set_scene -scene "geometry viewer.user.4"
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 directional -state 1
geom_set_light -type ambient -state 1
#
# State for object: top
#
geom_set_cur_cli_obj top
geom_set_matrix   -mat \
                  4.54545    0    0    0 \
                    0    4.54545    0    0 \
                    0    0    4.54545    0 \
                    -4.64576    -4.09091    0    1 
geom_set_position   -1.19209e-07 -1.19209e-07 0
geom_set_obj_window -0.2 2.2 -0.2 2.2 0 0
#
# State for object: "ucd geom"
#
geom_set_cur_cli_obj -push
geom_set_name_context "ucd to geom.user.3"
geom_create_obj "ucd geom" -mod "ucd to geom.user.3"
geom_set_trans_mode parent
geom_set_obj_window -0.2 2.2 -0.2 2.2 0 0
geom_set_name_context
geom_set_cur_cli_obj -pop
#
# State for object: "ucd hog"
#
geom_set_cur_cli_obj -push
geom_set_name_context "ucd hog.user.2"
geom_create_obj "ucd hog" -mod "ucd hog.user.2"
geom_set_trans_mode redirect
geom_set_matrix   -mat \
                  1    0    0    0 \
                    0    1    0    0 \
                    0    0    1    0 \
                    -1    -1    0    1 
geom_set_position   1 1 0
geom_set_matrix   -mat \
                  1    0    0    0 \
                    0    1    0    0 \
                    0    0    1    0 \
                    -1    -1    0    1 
geom_set_position   1 1 0
geom_set_obj_window 0 2 0 2 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,696\
   -P columns integer 1
   panel "read ucd.user.0" -w panel -p "Top Level Stack" -xy 0,64 -wh 256,214
    manipulator "read ucd.user.0:read file" -w browser -p "read ucd.user.0" \
        -xy 10,10 -wh 236,194
   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 hog.user.2" -w panel -p "Top Level Stack" -xy 0,130 -wh 228,456
    manipulator "ucd hog.user.2:Node Data" -w text -p "ucd hog.user.2" \
        -xy 10,10 -wh 118,22
    manipulator "ucd hog.user.2:node data" -w radio_buttons -p "ucd hog.user.2" \
        -xy 10,32 -wh 118,22
    manipulator "ucd hog.user.2:Scale" -w dial -p "ucd hog.user.2" \
        -xy 128,32 -wh 90,130
    manipulator "ucd hog.user.2:Arrows" -w toggle -p "ucd hog.user.2" \
        -xy 10,162 -wh 118,22
    manipulator "ucd hog.user.2:N Segment" -w idial -p "ucd hog.user.2" -hide \
        -xy 128,162 -wh 90,130
    manipulator "ucd hog.user.2:choice" -w radio_buttons -p "ucd hog.user.2" \
        -xy 10,292 -wh 118,132
    manipulator "ucd hog.user.2:Normalize Vectors" -w toggle -p "ucd hog.user.2" \
        -xy 10,424 -wh 118,22
   panel "ucd to geom.user.3" -w panel -p "Top Level Stack" -xy 0,130 -wh 228,412
    manipulator "ucd to geom.user.3:Shrink" -w toggle -p "ucd to geom.user.3" -hide \
        -xy 10,10 -wh 118,22
    manipulator "ucd to geom.user.3:Shrink Factor" -w idial -p "ucd to geom.user.3" \
        -xy 128,10 -wh 90,130\
   -P title string "Edge Angle"
    manipulator "ucd to geom.user.3:Geometry Display Mode" -w text -p "ucd to geom.user.3" \
        -xy 10,140 -wh 177,22
    manipulator "ucd to geom.user.3:mode" -w radio_buttons -p "ucd to geom.user.3" \
        -xy 10,162 -wh 177,66
    manipulator "ucd to geom.user.3:Explode Materials" -w toggle -p "ucd to geom.user.3" \
        -xy 10,228 -wh 118,22
    manipulator "ucd to geom.user.3:Explode Factor" -w idial -p "ucd to geom.user.3" \
        -xy 128,228 -wh 90,130
    manipulator "ucd to geom.user.3:Save Geometry" -w toggle -p "ucd to geom.user.3" \
        -xy 10,358 -wh 118,22
    manipulator "ucd to geom.user.3:Color Cells" -w toggle -p "ucd to geom.user.3" -hide \
        -xy 10,380 -wh 118,22
 panel "geometry viewer.user.4!display" -w container -p ui -xy 493,169 -wh 520,552\
   -P zoom_coords string "0 0 0 0 0 <$NULL> 0 0 0 0"
manipulator "geometry viewer.user.4":object -w none
manipulator "geometry viewer.user.4":"Update Always" -w none
manipulator "geometry viewer.user.4":"Update Image" -w none
# End of file
