#
# HELP: SYNOPSIS:
# HELP:     sonoctux/default/windowsetup2d
# HELP:
# HELP: DESCRIPTION:
# HELP:     Set up the standard sonoctux 2d windows
#

#
# First add the big XY Plane
#

VIEW_ADD SonoSim
VIEW_SET SonoSim
RENDERER_ENGINE Greyplane
RENDERER_MODE GREY
CAMERA_GEOMETRY CENTRAL
VIEW_SIZEX 512
VIEW_SIZEY 512
! sonoctux/default/planesetup
RENDERER_FLAGS 0
ZOOM 1
VIEW_TURN 0 90 0
! generic/dataline/patient
RENDERER_ADD Overlay
RENDERER_SET Overlay
RENDERER_ENGINE Renderfield
RF_FIELD Overlay
# Private Flags "No Zoom, No Aspect"
RENDERER_FLAGS 0x30000
FIELD_LOAD_RFD /renderer/current/Overlay ${$root.global.dir.base}/share/eccet/startupvol/sonoctux_mask.rfd.bz2
RENDERER_SET SonoSim

#
# Now the three small ones
#

VIEW_ADD Planes_XY
VIEW_CAMERA_JOIN SonoSim Planes_XY
VIEW_SET Planes_XY
RENDERER_ENGINE Greyplane
VIEW_ORIENT Right SonoSim
RENDERER_MODE GREY
CAMERA_GEOMETRY XY

VIEW_ADD Planes_XZ
VIEW_CAMERA_JOIN SonoSim Planes_XZ
VIEW_SET Planes_XZ
RENDERER_ENGINE Greyplane
VIEW_ORIENT BELOW Planes_XY
RENDERER_MODE GREY
CAMERA_GEOMETRY XZ

VIEW_ADD Planes_YZ
VIEW_CAMERA_JOIN SonoSim Planes_YZ
VIEW_SET Planes_YZ
RENDERER_ENGINE Greyplane
VIEW_ORIENT RIGHT Planes_XZ
RENDERER_MODE GREY
CAMERA_GEOMETRY YZ

#
# Kill off the extra markers tracking the 2D Screens
#
MARKER_DEL Planes_XY
MARKER_DEL Planes_XZ
MARKER_DEL Planes_YZ
