]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/appli/resampling.bbs
Feature #1769 Add licence terms for all files.
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / resampling.bbs
index a1626885baa69e4f64ce16dafca733d0537ff62d..2c94edf74cdb8dde3452c62ddabdf256ce70878b 100644 (file)
@@ -1,3 +1,28 @@
+# ---------------------------------------------------------------------
+#
+# 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.2 BBS BlackBox Script
 # - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/resampling.bbs
@@ -11,9 +36,9 @@ include itkvtk
 include itk
 include creaMaracasVisu
 include wx
-include creaMiniTools
 include std
 include creaImageIO
+include toolsbbtk
 
 author "Author ??"
 description "Description ??"
@@ -35,36 +60,19 @@ new ImageWriter Box06
 new FileSelector Box07
   set Box07.OpenSave Save
 
-new ImagePropertiesWidget Box08
-
 new CommandButton Box09
   set Box09.Label "Run resampling"
 
 new LayoutSplit Box11
   set Box11.Orientation H
-  set Box11.Proportion 85
-
-new LayoutSplit Box12
-  set Box12.Proportion 80
+  set Box11.Proportion 75
 
 new LayoutLine Box13
   set Box13.Orientation V
 
 new InputText Box14
-  set Box14.In 1
-  set Box14.Title "NewSpacing X"
-
-new InputText Box16
-  set Box16.In 1
-  set Box16.Title "NewSpacing Y"
-
-new InputText Box17
-  set Box17.In 1
-  set Box17.Title "NewSpacing Z"
-
-new ConcatStrings Box18
-  set Box18.In2 " "
-  set Box18.In4 " "
+  set Box14.In "1 1 1"
+  set Box14.Title "NewSpacing"
 
 new RadioButton Box19
   set Box19.In 0
@@ -86,6 +94,8 @@ new LayoutSplit Box22
 new ViewerNV Box23
   set Box23.nTypeView "0"
 
+new ImageVtkPropertiesWidget Box24
+
 
 connect Box02.Out Box03.In
 connect Box03.Widget Box05.Widget2
@@ -93,25 +103,20 @@ connect Box04.Widget Box05.Widget1
 connect Box07.Out Box06.Filename
 connect Box02.Out Box06.In
 connect Box04.BoxChange Box06.BoxExecute
-connect Box09.Widget Box12.Widget2
-connect Box11.Widget Box12.Widget1
 connect Box14.Widget Box13.Widget1
 connect Box13.Widget Box11.Widget2
-connect Box16.Widget Box13.Widget2
-connect Box17.Widget Box13.Widget3
-connect Box14.Out Box18.In1
-connect Box18.Out Box02.Spacing
 connect Box19.Out Box20.In
 connect Box19.Widget Box13.Widget4
 connect Box20.Out Box02.Interpolation
 connect Box09.BoxChange Box05.BoxExecute
-connect Box16.Out Box18.In3
-connect Box17.Out Box18.In5
 connect Box21.Out Box02.In
-connect Box21.Out Box08.in
-connect Box08.widget Box22.Widget1
 connect Box23.Widget Box22.Widget2
 connect Box21.Out Box23.In
 connect Box22.Widget Box11.Widget1
+connect Box21.Out Box24.in
+connect Box24.widget Box22.Widget1
+connect Box14.Out Box02.Spacing
+connect Box24.Spacing Box14.In
+connect Box09.Widget Box13.Widget5
 
-exec Box12
+exec Box11