]> Creatis software - bbtk.git/blobdiff - packages/toolsbbtk/bbs/boxes/imageItkPropertiesWidget.bbs
#3382 BBTK Feature New Normal - box Tab selection output
[bbtk.git] / packages / toolsbbtk / bbs / boxes / imageItkPropertiesWidget.bbs
index 7650f62d09b0060dac6da454fc927be9ae2f15d0..801c6977daeba17d92ba64bb5bbae6f85bd5931f 100644 (file)
@@ -1,38 +1,13 @@
-# ---------------------------------------------------------------------
-#
-# 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 (Complex Box)
-# - /Users/davila/Creatis/All3/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageItkPropertiesWidget.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/C10/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageItkPropertiesWidget.bbs
 # ----------------------------------
 
 include std
 include itkvtk
 include itk
 include wx
+include std
 
 define ImageItkPropertiesWidget toolsbbtk
 
@@ -41,29 +16,48 @@ description "Description ??"
 
 category "<VOID>"
 
-new ImageProperties Box00
+new itk:ImageProperties Box00
 
-new OutputText Box02
+new wx:OutputText Box02
   set Box02.Title "Dimension"
 
-new OutputText Box14
+new wx:OutputText Box14
   set Box14.Title "Index"
 
-new LayoutLine Box15
+new wx:LayoutLine Box15
   set Box15.WinTitle "Image Properties"
 
-new OutputText Box17
+new wx:OutputText Box17
   set Box17.Title "Size"
 
-new OutputText Box20
+new wx:OutputText Box20
   set Box20.Title "Spacing"
 
-new OutputText Box22
+new wx:OutputText Box22
   set Box22.Title "TypeName"
 
-new OutputText Box26
+new wx:OutputText Box26
   set Box26.Title "Min Max"
 
+new wx:OutputText Box09
+  set Box09.Title "Origin"
+
+new std:ConcatStrings Box10
+  set Box10.In2 "  "
+  set Box10.In4 "  "
+
+new std:GetVectorDoubleElement Box11
+  set Box11.I "0"
+
+new std:GetVectorDoubleElement Box12
+  set Box12.I "1"
+
+new std:GetVectorDoubleElement Box13
+  set Box13.I "2"
+
+new wx:OutputText Box16
+  set Box16.Title "Name"
+
 
 connect Box00.Dimension Box02.In
 connect Box00.Index Box14.In
@@ -76,11 +70,20 @@ connect Box14.Widget Box15.Widget2
 connect Box17.Widget Box15.Widget3
 connect Box20.Widget Box15.Widget4
 connect Box22.Widget Box15.Widget5
-connect Box26.Widget Box15.Widget6
-
+connect Box09.Widget Box15.Widget6
+connect Box00.Origin Box13.In
+connect Box00.Origin Box12.In
+connect Box00.Origin Box11.In
+connect Box11.Out Box10.In1
+connect Box12.Out Box10.In3
+connect Box13.Out Box10.In5
+connect Box10.Out Box09.In
+connect Box26.Widget Box15.Widget7
+connect Box16.Widget Box15.Widget9
 
 # Complex input ports
 input in Box00.In " "
+input FileName Box16.In " "
 
 # Complex output ports
 output widget Box15.Widget " "
@@ -90,5 +93,7 @@ output MinMax Box00.MinMax " "
 output Size Box00.Size " "
 output Spacing Box00.Spacing " "
 output TypeName Box00.TypeName " "
+output origin Box00.Origin " "
+
 
 endefine