#
# HELP: SYNOPSIS:
# HELP:     simpleview/default/windowsetup
# HELP:
# HELP: DESCRIPTION:
# HELP:     Set up the standard simpleview windows
#

#
# Setup the already existing view as a 2D-Renderer.
#
VIEW_SET Main

#
# Set your preferred rendering mode here.
#
RENDERER_ENGINE Greyplane
RENDERER_MODE GREY
CAMERA_GEOMETRY XY
RENDERER_FRONTCUT 0
RENDERER_FLAGS 1
! generic/menu/colorize 0
VIEW_SIZEX ${$root.vol[current].size.x}
VIEW_SIZEY ${$root.vol[current].size.y}
RENDERER_LOADCLUT ${$root.global.dir.clut}/planestandard.ppm
ZOOM 1
! generic/dataline/patient
! simpleview/default/greyplanes_fkeys

#
# Set up initial orientation
#
VIEW_SET Main
VIEW_RENDER
VIEW_SETPOS 10 30
VIEW_RENDER
USLEEP 500000
VIEW_REORIENT
VIEW_RENDER

layer 0-255 0

#
# Spawn off the planecontrol thing.
#
SPAWNPROCESS eccet_menu 127.0.0.1 ${$root.global.tcp.listenport} config/personality/simpleview/menu &
