X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwxvtk%2Fbbs%2Fold%2FbbBasicImageApplication.bbs;h=cb9f4132844e53391f3a8e7c6ee86dca720041ea;hb=79d06fa7c6441e99291ad3a1949d241f336573d5;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..cb9f413 100644 --- a/packages/wxvtk/bbs/old/bbBasicImageApplication.bbs +++ b/packages/wxvtk/bbs/old/bbBasicImageApplication.bbs @@ -1,3 +1,34 @@ + # --------------------------------------------------------------------- + # + # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image + # pour la SantÈ) + # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton + # Previous Authors : Laurent Guigues, Jean-Pierre Roux + # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil + # + # This software is governed by the CeCILL-B license under French law and + # abiding by the rules of distribution of free software. You can use, + # modify and/ or redistribute the software under the terms of the CeCILL-B + # license as circulated by CEA, CNRS and INRIA at the following URL + # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html + # or in the file LICENSE.txt. + # + # As a counterpart to the access to the source code and rights to copy, + # modify and redistribute granted by the license, users are provided only + # with a limited warranty and the software's author, the holder of the + # economic rights, and the successive licensors have only limited + # liability. + # + # The fact that you are presently reading this means that you have had + # knowledge of the CeCILL-B license and that you accept its terms. + # ------------------------------------------------------------------------ */ + + +// +// -------------------------- +// TODO : Check if is works! (was in packages/wxvtk/bbs/old) +// + include wxvtk/boxes/bbDoubleSlicer load wx load std @@ -42,9 +73,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 +83,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 +133,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"