# ----------------------------------
-# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
-# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs
# ----------------------------------
include std
include itkvtk
include wx
include std
+include creaMiniToolsBase
define ImageToolsMenu creaMiniTools
category "<VOID>"
-new CommandButton Box00
+new wx:CommandButton Box00
set Box00.Label "Image Writer"
-new CommandButton Box02
+new wx:CommandButton Box02
set Box02.Label "Viewer NV"
-new LayoutLine Box03
- set Box03.WinTitle "Images tools"
+new std:ExecSystemCommand Box04
-new ExecSystemCommand Box04
- set Box04.In "bbi creaMiniTools/appli/imageWriterExample.bbs &"
+new std:ExecSystemCommand Box06
-new ExecSystemCommand Box06
- set Box06.In "bbi creaMiniTools/appli/viewerNVExample.bbs &"
+new std:ExecSystemCommand Box09
-new OutputText Box07
- set Box07.In "Select the Example"
+new wx:CommandButton Box10
+ set Box10.Label "Synchronize 2 Images"
-new ExecSystemCommand Box09
- set Box09.In "bbi creaMiniTools/appli/synchro2ImageExample.bbs &"
+new wx:CommandButton Box11
+ set Box11.Label "Manual paint"
-new CommandButton Box10
- set Box10.Label "Syncrhonize 2 Images"
+new std:ExecSystemCommand Box12
-new CommandButton Box11
- set Box11.Label "Manual paint"
+new wx:CommandButton Box13
+ set Box13.Label "Extract Planes"
+
+new std:ExecSystemCommand Box14
+
+new wx:LayoutTab Box15
+ set Box15.WinTitle "Images Tools"
+
+new wx:LayoutLine Box18
+
+new wx:LayoutLine Box19
+
+new creaMiniToolsBase:RegistrationMenu Box20
+
+new creaMiniToolsBase:RescaleSlopeInterceptMenu Box21
+
+new wx:CommandButton Box22
+ set Box22.Label "Resampling Image"
+
+new std:ExecSystemCommand Box23
+
+new wx:CommandButton Box25
+ set Box25.Label "Crop image"
+
+new std:ExecSystemCommand Box26
+
+new wx:LayoutCenter Box27
+ set Box27.WinTitle "Viewers"
+
+new wx:LayoutCenter Box28
+ set Box28.WinTitle "Modify image"
+
+new wx:CommandButton Box29
+ set Box29.Label "Flip Image"
-new ExecSystemCommand Box12
- set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &"
+new std:ExecSystemCommand Box30
+
+new wx:CommandButton Box31
+ set Box31.Label "Viewer NV (Vol. Rendering)"
+
+new std:ExecSystemCommand Box32
+
+new std:Configuration Box33
+
+new std:StringSelect Box34
+ set Box34.In0 "bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &"
+ set Box34.In1 "start /b bbi creaMiniTools/appli/viewerNVwithVolRenExample.bbs &"
+
+new std:StringSelect Box35
+ set Box35.In0 "bbi creaMiniTools/appli/viewerNVExample.bbs &"
+ set Box35.In1 "start /b bbi creaMiniTools/appli/viewerNVExample.bbs &"
+
+new std:StringSelect Box36
+ set Box36.In0 "bbi creaMiniTools/appli/synchro2ImageExample.bbs &"
+ set Box36.In1 "start /b bbi creaMiniTools/appli/synchro2ImageExample.bbs &"
+
+new std:StringSelect Box37
+ set Box37.In0 "bbi creaMiniTools/appli/imageWriterExample.bbs &"
+ set Box37.In1 "start /b bbi creaMiniTools/appli/imageWriterExample.bbs &"
+
+new std:StringSelect Box38
+ set Box38.In0 "bbi creaMiniTools/appli/resampling.bbs &"
+ set Box38.In1 "start /b bbi creaMiniTools/appli/resampling.bbs &"
+
+new std:StringSelect Box39
+ set Box39.In0 "bbi creaMiniTools/appli/crop.bbs &"
+ set Box39.In1 "start /b bbi creaMiniTools/appli/crop.bbs &"
+
+new std:StringSelect Box40
+ set Box40.In0 "bbi creaMiniTools/appli/SaveImagePlanes.bbs &"
+ set Box40.In1 "start /b bbi creaMiniTools/appli/SaveImagePlanes.bbs &"
+
+new std:StringSelect Box41
+ set Box41.In0 "bbi creaMiniTools/appli/manualPaint.bbs &"
+ set Box41.In1 "start /b bbi creaMiniTools/appli/manualPaint.bbs &"
+
+new std:StringSelect Box42
+ set Box42.In0 "bbi creaMiniTools/appli/flipImageY.bbs &"
+ set Box42.In1 "start /b bbi creaMiniTools/appli/flipImageY.bbs &"
connect Box00.BoxChange Box04.BoxExecute
connect Box02.BoxChange Box06.BoxExecute
-connect Box07.Widget Box03.Widget1
-connect Box00.Widget Box03.Widget2
-connect Box02.Widget Box03.Widget4
connect Box10.BoxChange Box09.BoxExecute
-connect Box10.Widget Box03.Widget5
connect Box11.BoxChange Box12.BoxExecute
-connect Box11.Widget Box03.Widget3
-
-exec Box03
+connect Box13.BoxChange Box14.BoxExecute
+connect Box02.Widget Box18.Widget1
+connect Box11.Widget Box19.Widget2
+connect Box00.Widget Box19.Widget1
+connect Box20.widget Box15.Widget3
+connect Box21.widget Box15.Widget4
+connect Box22.Widget Box19.Widget3
+connect Box22.BoxChange Box23.BoxExecute
+connect Box25.Widget Box19.Widget4
+connect Box25.BoxChange Box26.BoxExecute
+connect Box18.Widget Box27.Widget2
+connect Box27.Widget Box15.Widget1
+connect Box19.Widget Box28.Widget2
+connect Box28.Widget Box15.Widget2
+connect Box13.Widget Box19.Widget5
+connect Box29.Widget Box19.Widget6
+connect Box29.BoxChange Box30.BoxExecute
+connect Box10.Widget Box18.Widget3
+connect Box31.BoxChange Box32.BoxExecute
+connect Box31.Widget Box18.Widget2
+connect Box33.SystemType Box34.In
+connect Box34.Out Box32.In
+connect Box33.SystemType Box35.In
+connect Box35.Out Box06.In
+connect Box36.Out Box09.In
+connect Box33.SystemType Box36.In
+connect Box37.Out Box04.In
+connect Box33.SystemType Box37.In
+connect Box38.Out Box23.In
+connect Box33.SystemType Box38.In
+connect Box33.SystemType Box41.In
+connect Box33.SystemType Box39.In
+connect Box33.SystemType Box40.In
+connect Box33.SystemType Box42.In
+connect Box41.Out Box12.In
+connect Box39.Out Box26.In
+connect Box40.Out Box14.In
+connect Box42.Out Box30.In
# Complex input ports
# Complex output ports
-output widget Box03.Widget " "
+output widget Box15.Widget " "
+
+message
+exec Box15
endefine