#
# NEED_PARMS Stretch
#
# HELP: SYNOPSIS:
# HELP:     planeview/options/StretchZ factor
# HELP:
# HELP: DESCRIPTION:
# HELP:     Factor to stretch the Z-planes by.
#
VIEW_SET Planes_XZ
VIEW_SIZEY ${(int) (0.5*$root.vol[current].size.z*(double)$argv[1]+0.5) }
ZOOM ${(double)$argv[1]*0.5}
ASPECT ${(double)$argv[1]}

VIEW_SET Planes_YZ
VIEW_SIZEY ${(int) (0.5*$root.vol[current].size.z*(double)$argv[1]+0.5) }
ZOOM ${(double)$argv[1]*0.5}
ASPECT ${(double)$argv[1]}

VIEW_RENDER
SLEEP 500000
VIEW_REORIENT
VIEW_RENDER

VIEW_SET Main
