-# ---------------------------------------------------------------------
-#
-# 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)
+# - imageVtkPropertiesWidget.bbs
# ----------------------------------
include std
include itkvtk
include wx
include vtk
+include std
define ImageVtkPropertiesWidget toolsbbtk
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
+
connect Box09.Components Box10.In
connect Box09.MinMax Box26.In
connect Box22.Widget Box11.Widget5
connect Box26.Widget Box11.Widget6
connect Box09.Dimension Box02.In
-
+connect Box13.Widget Box11.Widget7
+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
# Complex input ports
input in Box09.In " "
+input FileName Box13.In " "
+input boxExecute Box14.In " "
# Complex output ports
output widget Box11.Widget " "
output Spacing Box09.Spacing " "
output TypeName Box09.TypeName " "
+
endefine