description "Example :Viewer in a LayoutTab" author "jpr@creatis.univ-lyon1.fr" category "example" // WARNING : Doesn't work, right now (25 Nov 2008) include std include vtk include wx include wxvtk new Slider slider1 set slider1.Orientation V new Slider slider2 new Slider slider3 new LoadHola reader new Viewer2D viewer2DImageOriginal connect reader.Out viewer2DImageOriginal.In set viewer2DImageOriginal.Slice 20 new LayoutLine sizer new LayoutTab main connect slider2.Widget sizer.Widget1 connect slider3.Widget sizer.Widget2 connect slider1.Widget main.Widget1 connect sizer.Widget main.Widget2 connect slider1.BoxChange viewer2DImageOriginal.BoxExecute connect viewer2DImageOriginal.Widget main.Widget3 exec viewer2DImageOriginal exec main