X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_package_creaMiniTools%2Fbbs%2Fappli%2FflipImageY.bbs;h=74fae3a0cddc9bd507d319fc2a2ac1c188635186;hb=5c4164b962291728d8c128437790d9e65e17c42d;hp=bd2bc41e2971f85b56707a20bb4986ee2e67d0f7;hpb=3c3bcca281c3e95d5698b0b67320090dd6103e05;p=creaMiniTools.git diff --git a/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs b/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs index bd2bc41..74fae3a 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs +++ b/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs @@ -1,31 +1,6 @@ -# --------------------------------------------------------------------- -# -# 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. -# ------------------------------------------------------------------------ */ - # ---------------------------------- -# - BBTKGEditor v 1.3 BBS BlackBox Script -# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs +# - BBTKGEditor v 1.4 BBS BlackBox Script +# - /home/davila/Creatis/All/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs # ---------------------------------- # BBTK GEditor Script @@ -34,45 +9,99 @@ include std include itkvtk include vtk +include wx include creaMaracasVisu +include std include toolsbbtk -include wx +include creaImageIO author "Author ??" description "Description ??" category "" -new Flip Box00 +new Flip Box01 + +new RadioButton Box02 + set Box02.In "1" + set Box02.In0 "X" + set Box02.In1 "Y" + set Box02.In2 "Z" + +new ViewerNV Box03 + set Box03.nTypeView "6 1 2 0" + +new ViewerNV Box04 + set Box04.nTypeView "6 1 2 0" + +new LayoutSplit Box06 + set Box06.Proportion "20" + +new StringSelect Box07 + set Box07.In0 "X" + set Box07.In1 "Y" + set Box07.In2 "Z" + +new LayoutLine Box08 + set Box08.Orientation "H" + +new SaveMHD-Button Box10 + +new ImagesChooserDialogBox Box12 + +new LayoutCenter Box13 + +new LayoutTab Box14 + +new LayoutLine Box15 + set Box15.WinTitle "Original" + +new LayoutLine Box16 + set Box16.WinTitle "Flip" + +new ImageVtkPropertiesWidget Box17 + + +connect Box01.Out Box04.In + +connect Box07.Out Box01.Axis + +connect Box02.Out Box07.In + +connect Box02.BoxChange Box07.BoxExecute + +connect Box02.BoxChange Box01.BoxExecute + +connect Box08.Widget Box06.Widget1 + +connect Box01.Out Box10.In + +connect Box12.Out Box03.In + +connect Box12.Out Box01.In + +connect Box10.Widget Box08.Widget2 + +connect Box02.Widget Box13.Widget2 + +connect Box13.Widget Box08.Widget1 -new LoadHola Box01 +connect Box03.Widget Box15.Widget1 -new ViewerNV Box02 +connect Box15.Widget Box14.Widget1 -new SaveMHD-Button Box03 +connect Box16.Widget Box14.Widget2 -new LayoutSplit Box04 - set Box04.Proportion "7" - set Box04.WinTitle "Flip Y" +connect Box01.BoxChange Box04.BoxExecute -new LayoutTab Box05 +connect Box17.widget Box14.Widget3 -new ViewerNV Box06 +connect Box12.Out Box17.in -new LayoutLine Box07 - set Box07.WinTitle "Original" +connect Box04.Widget Box06.Widget2 -new LayoutCenter Box08 +connect Box06.Widget Box16.Widget1 -connect Box01.Out Box00.In -connect Box00.Out Box02.In -connect Box00.Out Box03.In -connect Box02.Widget Box04.Widget2 -connect Box01.Out Box06.In -connect Box04.Widget Box05.Widget2 -connect Box06.Widget Box07.Widget1 -connect Box07.Widget Box05.Widget1 -connect Box03.Widget Box08.Widget2 -connect Box08.Widget Box04.Widget1 -exec Box05 +# Complex input ports +exec Box14