define DoubleSlicer wxvtk
- description "Simple viewer displaying the same slice of two images. The slice is controlled by a slider. See <a href='#ExampleDoubleSlicer'>ExampleDoubleSlicer.bbs</a>."
+ description "Simple viewer displaying the same slice of two images. The slice is controlled by a slider. See <a href='#exampleDoubleSlicer'>exampleDoubleSlicer.bbs</a>."
author "laurent.guigues at creatis.insa-lyon.fr"
- new LayoutLine main
+ new LayoutSplit main
new LayoutLine slicers
new Viewer2D slicer1
new Viewer2D slicer2
new Slider slider
+ set main.Proportion 80
+ set slicers.Orientation HORIZONTAL
+
connect slicers.Widget main.Widget1
connect slicer1.Widget slicers.Widget1
connect slicer2.Widget slicers.Widget2
input In1 slicer1.In "Left (or top) image"
input In2 slicer2.In "Right (or bottom) image"
+ input WinDialog main.WinDialog "Execute in dialog mode"
input WinTitle main.WinTitle "Title of the window"
input WinWidth main.WinWidth "Width of the window"
input WinHeight main.WinHeight "Width of the window"