X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=packages%2Fwxvtk%2Fbbs%2Fold%2FbbBasicImageApplication.bbs;h=bb6deb8739592103c70bd041ec276e9b06895ee1;hb=f9b730b93d4a2731f365094735bd435a35d5bc90;hp=3780b202fb799ee98e413d511bcee1e5f5d8959e;hpb=02fa82a8e2c2e8c7d7dd464b3da6f186da061c20;p=bbtk.git 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"