From: Eduardo DAVILA Date: Wed, 5 Jun 2013 14:30:51 +0000 (+0200) Subject: 2019 FeaturFlip X Y Z X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=5c4164b962291728d8c128437790d9e65e17c42d;p=creaMiniTools.git 2019 FeaturFlip X Y Z --- diff --git a/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbg b/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbg index a16ae42..d3a509a 100644 --- a/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbg +++ b/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbg @@ -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 BBG BlackBox Diagram file -# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbg +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /home/davila/Creatis/All/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbg # ---------------------------------- APP_START @@ -33,96 +8,177 @@ CATEGORY: DESCRIPTION:Description ?? AUTHOR:Author ?? COMPLEXBOX:FALSE -BOXES:9 +COMPLEXINPUTS:0 +BOXES:14 +BOX +vtk:Flip:Box01 +ISEXEC:FALSE +76.715244:-18.768336:-900.000000 +109.490244:-28.768336:-900.000000 +FIN_BOX BOX -vtk:Flip:Box00 +wx:RadioButton:Box02 ISEXEC:FALSE --13.772052:45.072171:-900.000000 -19.002948:35.072171:-900.000000 +25.011195:68.970567:-900.000000 +88.731195:58.970567:-900.000000 +PORT +In:"1" +PORT +In0:"X" +PORT +In1:"Y" +PORT +In2:"Z" FIN_BOX BOX -vtk:LoadHola:Box01 +creaMaracasVisu:ViewerNV:Box03 ISEXEC:FALSE --17.945401:67.051810:-900.000000 -27.629599:57.051810:-900.000000 +-123.457704:-55.874779:-900.000000 +-62.817704:-65.874779:-900.000000 +PORT +nTypeView:"6 1 2 0" FIN_BOX BOX -creaMaracasVisu:ViewerNV:Box02 +creaMaracasVisu:ViewerNV:Box04 ISEXEC:FALSE -9.573410:16.440466:-900.000000 -70.213410:6.440466:-900.000000 +-33.324692:-60.827249:-900.000000 +27.315308:-70.827249:-900.000000 +PORT +nTypeView:"6 1 2 0" FIN_BOX BOX -toolsbbtk:SaveMHD-Button:Box03 +wx:LayoutSplit:Box06 ISEXEC:FALSE --39.950333:16.690867:-900.000000 -5.624667:6.690867:-900.000000 +-13.898752:-95.758211:-900.000000 +31.676248:-105.758211:-900.000000 +PORT +Proportion:"20" FIN_BOX BOX -wx:LayoutSplit:Box04 +std:StringSelect:Box07 ISEXEC:FALSE -11.207339:-41.493208:-900.000000 -56.782339:-51.493208:-900.000000 +-3.056636:7.141322:-900.000000 +42.518364:-2.858678:-900.000000 +PORT +In0:"X" PORT -Proportion:"7" +In1:"Y" PORT -WinTitle:"Flip Y" +In2:"Z" FIN_BOX BOX -wx:LayoutTab:Box05 -ISEXEC:TRUE --27.569397:-63.232563:-900.000000 -29.990603:-73.232563:-900.000000 +wx:LayoutLine:Box08 +ISEXEC:FALSE +50.411014:-75.905161:-900.000000 +107.971014:-85.905161:-900.000000 +PORT +Orientation:"H" +FIN_BOX +BOX +toolsbbtk:SaveMHD-Button:Box10 +ISEXEC:FALSE +78.529445:-42.592432:-900.000000 +124.104445:-52.592432:-900.000000 FIN_BOX BOX -creaMaracasVisu:ViewerNV:Box06 +creaImageIO:ImagesChooserDialogBox:Box12 ISEXEC:FALSE --80.178890:-6.070326:-900.000000 --19.538890:-16.070326:-900.000000 +-54.550076:89.752762:-900.000000 +16.624924:79.752762:-900.000000 +FIN_BOX +BOX +wx:LayoutCenter:Box13 +ISEXEC:FALSE +80.957250:42.137629:-900.000000 +126.532250:32.137629:-900.000000 +FIN_BOX +BOX +wx:LayoutTab:Box14 +ISEXEC:TRUE +-43.168887:-157.556172:-900.000000 +14.391113:-167.556172:-900.000000 FIN_BOX BOX -wx:LayoutLine:Box07 +wx:LayoutLine:Box15 ISEXEC:FALSE --72.550513:-42.014244:-900.000000 --14.990513:-52.014244:-900.000000 +-110.228926:-83.480070:-900.000000 +-52.668926:-93.480070:-900.000000 PORT WinTitle:"Original" FIN_BOX BOX -wx:LayoutCenter:Box08 +wx:LayoutLine:Box16 ISEXEC:FALSE --6.376204:-12.397742:-900.000000 -39.198796:-22.397742:-900.000000 +-30.195065:-120.075041:-900.000000 +27.364935:-130.075041:-900.000000 +PORT +WinTitle:"Flip" +FIN_BOX +BOX +toolsbbtk:ImageVtkPropertiesWidget:Box17 +ISEXEC:FALSE +-73.344605:-34.680897:-900.000000 +-2.169605:-44.680897:-900.000000 FIN_BOX -CONNECTIONS:10 +CONNECTIONS:20 +CONNECTION +Box01:Out:Box04:In +NumberOfControlPoints:0 +CONNECTION +Box07:Out:Box01:Axis +NumberOfControlPoints:0 +CONNECTION +Box02:Out:Box07:In +NumberOfControlPoints:0 +CONNECTION +Box02:BoxChange:Box07:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box02:BoxChange:Box01:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box08:Widget:Box06:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box01:Out:Box10:In +NumberOfControlPoints:0 +CONNECTION +Box12:Out:Box03:In +NumberOfControlPoints:0 +CONNECTION +Box12:Out:Box01:In +NumberOfControlPoints:0 +CONNECTION +Box10:Widget:Box08:Widget2 +NumberOfControlPoints:0 CONNECTION -Box01:Out:Box00:In +Box02:Widget:Box13:Widget2 NumberOfControlPoints:0 CONNECTION -Box00:Out:Box02:In +Box13:Widget:Box08:Widget1 NumberOfControlPoints:0 CONNECTION -Box00:Out:Box03:In +Box03:Widget:Box15:Widget1 NumberOfControlPoints:0 CONNECTION -Box02:Widget:Box04:Widget2 +Box15:Widget:Box14:Widget1 NumberOfControlPoints:0 CONNECTION -Box01:Out:Box06:In +Box16:Widget:Box14:Widget2 NumberOfControlPoints:0 CONNECTION -Box04:Widget:Box05:Widget2 +Box01:BoxChange:Box04:BoxExecute NumberOfControlPoints:0 CONNECTION -Box06:Widget:Box07:Widget1 +Box17:widget:Box14:Widget3 NumberOfControlPoints:0 CONNECTION -Box07:Widget:Box05:Widget1 +Box12:Out:Box17:in NumberOfControlPoints:0 CONNECTION -Box03:Widget:Box08:Widget2 +Box04:Widget:Box06:Widget2 NumberOfControlPoints:0 CONNECTION -Box08:Widget:Box04:Widget1 +Box06:Widget:Box16:Widget1 NumberOfControlPoints:0 APP_END 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