]> Creatis software - bbtk.git/blobdiff - packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs
Merge remote-tracking branch 'origin/vtk8itk4wx3-mingw64' into vtk8itk5wx3-mingw64
[bbtk.git] / packages / toolsbbtk / bbs / boxes / imageVtkPropertiesWidget.bbs
index 5688245cfc550b9a14d4f727aed68e940e83aba0..472e5f774085c2be16e77138a9076240f9f7b48b 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/imageVtkPropertiesWidget.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/C10/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs
 # ----------------------------------
 
 include std
 include itkvtk
 include wx
 include vtk
+include std
 
 define ImageVtkPropertiesWidget toolsbbtk
 
@@ -41,29 +16,50 @@ description "Description ??"
 
 category "<VOID>"
 
-new OutputText Box02
+new wx:OutputText Box02
   set Box02.Title "Dimensions"
 
-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 ImageVtkProperties Box09
+new vtk:ImageVtkProperties Box09
 
-new OutputText Box10
+new wx:OutputText Box10
   set Box10.Title "Components"
 
-new LayoutLine Box11
+new wx:LayoutLine Box11
   set Box11.WinTitle "Image properties"
 
+new wx:OutputText Box13
+  set Box13.Title "Name"
+
+new std:MagicBox Box14
+
+new wx:OutputText Box15
+  set Box15.Title "Origin"
+
+new std:ConcatStrings Box16
+  set Box16.In2 "  "
+  set Box16.In4 "  "
+
+new std:GetVectorDoubleElement Box18
+  set Box18.I "0"
+
+new std:GetVectorDoubleElement Box19
+  set Box19.I "1"
+
+new std:GetVectorDoubleElement Box21
+  set Box21.I "2"
+
 
 connect Box09.Components Box10.In
 connect Box09.MinMax Box26.In
@@ -77,10 +73,29 @@ connect Box20.Widget Box11.Widget4
 connect Box22.Widget Box11.Widget5
 connect Box26.Widget Box11.Widget6
 connect Box09.Dimension Box02.In
-
+connect Box14.Out Box10.BoxExecute
+connect Box14.Out Box02.BoxExecute
+connect Box14.Out Box17.BoxExecute
+connect Box14.Out Box20.BoxExecute
+connect Box14.Out Box22.BoxExecute
+connect Box14.Out Box13.BoxExecute
+connect Box14.BoxChange Box09.BoxExecute
+connect Box14.Out Box26.BoxExecute
+connect Box13.Widget Box11.Widget9
+connect Box15.Widget Box11.Widget7
+connect Box14.Out Box15.BoxExecute
+connect Box09.Origin Box18.In
+connect Box09.Origin Box19.In
+connect Box09.Origin Box21.In
+connect Box21.Out Box16.In5
+connect Box18.Out Box16.In1
+connect Box19.Out Box16.In3
+connect Box16.Out Box15.In
 
 # Complex input ports
 input in Box09.In " "
+input FileName Box13.In " "
+input boxExecute Box14.In " "
 
 # Complex output ports
 output widget Box11.Widget " "
@@ -89,5 +104,7 @@ output MinMax Box09.MinMax " "
 output Size Box09.Size " "
 output Spacing Box09.Spacing " "
 output TypeName Box09.TypeName " "
+output origin Box09.Origin " "
+
 
 endefine