From: jean-pierre roux Date: Wed, 3 Feb 2010 16:08:35 +0000 (+0000) Subject: Comments X-Git-Tag: CREATOOLS.2-0-3~76 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=096a2a291176e5d431dd8509737a9e23e6dcb81b;p=bbtk.git Comments --- diff --git a/packages/wxvtk/bbs/old/bbBasicImageApplication.bbs b/packages/wxvtk/bbs/old/bbBasicImageApplication.bbs index 3780b20..bb6deb8 100644 --- a/packages/wxvtk/bbs/old/bbBasicImageApplication.bbs +++ b/packages/wxvtk/bbs/old/bbBasicImageApplication.bbs @@ -1,3 +1,8 @@ +// +// -------------------------- +// TODO : Check if is works! (was in packages/wxvtk/bbs/old) +// + include wxvtk/boxes/bbDoubleSlicer load wx load std @@ -42,9 +47,9 @@ define BasicImageApplication set buttonsBar.Orientation 0 #OPEN - set openButton.Label "Open" + set openButton.Label "Open" set paramButton.Label "Parameters" - set saveButton.Label "Save" + set saveButton.Label "Save" new FileSelector openFileDialog connect openButton.BoxChange openFileDialog.BoxExecute connect openButton.BoxChange viewer.RefreshSlicer1 @@ -52,7 +57,6 @@ define BasicImageApplication set openFileDialog.OpenSave "Open" #READER new MetaImageReader reader -# set reader.Filename "/home/guigues/coding/Sofa/bbtk/data/thorax.hdr" connect openFileDialog.Out reader.In connect reader.Out viewer.In1 @@ -103,13 +107,13 @@ define BasicImageApplication connect imageOut.Out viewer.In2 connect imageOut.Out writer.In - input AlgorithmOutput imageOut.In "Plug here the output of your algorithm" - output AlgorithmInput reader.Out "Plug this output to the input of your algorithm" - input ParametersWidget paramWindow.Widget1 "Connect here your parameter tuning widget" + input AlgorithmOutput imageOut.In "Plug here the output of your algorithm" + output AlgorithmInput reader.Out "Plug this output to the input of your algorithm" + input ParametersWidget paramWindow.Widget1 "Connect here your parameter tuning widget" - input ParametersWindowWidth paramWindow.WinWidth "The width of the parameters window" + input ParametersWindowWidth paramWindow.WinWidth "The width of the parameters window" input ParametersWindowHeight paramWindow.WinHeight "The height of the parameters window" - input WinTitle mainWindow.WinTitle "Title of the main window" + input WinTitle mainWindow.WinTitle "Title of the main window" input Refresh viewer.BoxProcessModeSlicer2 "Set to 'Reactive' to have automatic refresh when image or parameters change"