X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwxvtk%2Fbbs%2Fboxes%2FbbSimpleSlicer.bbs;h=89796ae7f5dd8c1ece81f783527e6c0ded894bbc;hb=22eae0242d8e2c1eb8a25a735289f609b17e103f;hp=634ac051fd349e6ad49ab738decb7e2ba0679281;hpb=259754363c58caef22dc53bee5c0369fa16459c4;p=bbtk.git
diff --git a/packages/wxvtk/bbs/boxes/bbSimpleSlicer.bbs b/packages/wxvtk/bbs/boxes/bbSimpleSlicer.bbs
index 634ac05..89796ae 100644
--- a/packages/wxvtk/bbs/boxes/bbSimpleSlicer.bbs
+++ b/packages/wxvtk/bbs/boxes/bbSimpleSlicer.bbs
@@ -4,11 +4,12 @@ load wxvtk
define SimpleSlicer wxvtk
- description "Simple 2D viewer of a slice of a 3D image. The slice is controlled by a slider. See exampleSimpleSlicer.bbs. Screenshot :
"
+ description "Simple 2D viewer of a slice of a 3D image. The slice is controlled by a slider. See exampleSimpleSlicer.bbs. Screenshot :
"
author "info-dev@creatis.insa-lyon.fr"
category "viewer"
- new LayoutLine main
+ new LayoutSplit main
+ set main.Proportion 80
new Viewer2D viewer2D
new Slider slider
@@ -26,7 +27,6 @@ define SimpleSlicer wxvtk
connect refresh.Out viewer2D.BoxExecute
#set main.Proportion 80
- set slider.Title "Slice"
input In viewer2D.In "Input image"
input WinTitle main.WinTitle "Title of the window"
@@ -36,6 +36,7 @@ define SimpleSlicer wxvtk
input Orientation viewer2D.Orientation "Slicing orientation : 0:yz / 1:xz / 2:xy"
input Slice slider.In "Initial slice"
input SliderSize slider.Max "Slider Size"
+ input SliderTitle slider.Title "Slider Title"
input SliderOrientation slider.Orientation "Slider Orientation (H/V)"
input SliderReactiveOnTrack slider.ReactiveOnTrack "Reactive On track (default : 0)"
output Widget main.Widget "Widget"