# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs
+# - /tmpEED/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/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 OutputText Box13
+new wx:OutputText Box13
set Box13.Title "Name"
+new std:MagicBox Box14
+
connect Box09.Components Box10.In
connect Box09.MinMax Box26.In
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 " "
+message
endefine