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

#
# First add the big XY Plane
#

VIEW_ADD Planes_XY
VIEW_SET Planes_XY
RENDERER_ENGINE Greyplane
VIEW_ORIENT LEFT Main
RENDERER_MODE GREY
CAMERA_GEOMETRY XY
! generic/dataline/patient
FKEY_SET 10 MARKCC_CONNECTED2D 2 $ {$root.global.pointer.voxel.x} $ {$root.global.pointer.voxel.y} $ {$root.global.pointer.voxel.z} $ {$root.view[current].colorize}

VIEW_ADD Planes_XZ
VIEW_CAMERA_JOIN Planes_XY Planes_XZ
VIEW_SET Planes_XZ
RENDERER_ENGINE Greyplane
VIEW_ORIENT BELOW Planes_XY
RENDERER_MODE GREY
CAMERA_GEOMETRY XZ
FKEY_SET 10 MARKCC_CONNECTED2D 1 $ {$root.global.pointer.voxel.x} $ {$root.global.pointer.voxel.y} $ {$root.global.pointer.voxel.z} $ {$root.view[current].colorize}

VIEW_ADD Planes_YZ
VIEW_CAMERA_JOIN Planes_XY Planes_YZ
VIEW_SET Planes_YZ
RENDERER_ENGINE Greyplane
VIEW_ORIENT RIGHT Planes_XZ
RENDERER_MODE GREY
CAMERA_GEOMETRY YZ
FKEY_SET 10 MARKCC_CONNECTED2D 0 $ {$root.global.pointer.voxel.x} $ {$root.global.pointer.voxel.y} $ {$root.global.pointer.voxel.z} $ {$root.view[current].colorize}

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