]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs
#3002 CreaMiniTools Feature New Normal - GaussianSmoothing minitool
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / imageToolsMenu.bbs
index 7444f391d8d940717dc29bdbe294f2a04c972e78..081cd6b0649e905552ca973e72f82e7ad7cf599d 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
-# - 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
@@ -16,54 +16,139 @@ description "Description ??"
 
 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 ExecSystemCommand Box04
-  set Box04.In "bbi creaMiniTools/appli/imageWriterExample.bbs &"
+new std:ExecSystemCommand Box04
 
-new ExecSystemCommand Box06
-  set Box06.In "bbi creaMiniTools/appli/viewerNVExample.bbs &"
+new std:ExecSystemCommand Box06
 
-new ExecSystemCommand Box09
-  set Box09.In "bbi creaMiniTools/appli/synchro2ImageExample.bbs &"
+new std:ExecSystemCommand Box09
 
-new CommandButton Box10
-  set Box10.Label "Syncrhonize 2 Images"
+new wx:CommandButton Box10
+  set Box10.Label "Synchronize 2 Images"
 
-new CommandButton Box11
+new wx:CommandButton Box11
   set Box11.Label "Manual paint"
 
-new ExecSystemCommand Box12
-  set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &"
+new std:ExecSystemCommand Box12
 
-new CommandButton Box13
-  set Box13.Label "Show N-Points"
+new wx:CommandButton Box13
+  set Box13.Label "Extract Planes"
 
-new ExecSystemCommand Box14
-  set Box14.In "bbi creaMiniTools/appli/showNPoints.bbs &"
+new std:ExecSystemCommand Box14
 
-new LayoutTab Box15
+new wx:LayoutTab Box15
   set Box15.WinTitle "Images Tools"
 
-new LayoutLine Box18
-  set Box18.WinTitle "Viewers"
+new wx:LayoutLine Box18
 
-new LayoutLine Box19
-  set Box19.WinTitle "Modify image"
+new wx:LayoutLine Box19
 
-new RecalageMenu Box20
+new creaMiniToolsBase:RegistrationMenu Box20
 
-new RescaleSlopeInterceptMenu Box21
-
-new CommandButton Box22
+new wx:CommandButton Box22
   set Box22.Label "Resampling Image"
 
-new ExecSystemCommand Box23
-  set Box23.In "bbi creaMiniTools/appli/resampling.bbs &"
+new std:ExecSystemCommand Box23
+
+new wx:CommandButton Box25
+  set Box25.Label "Crop interactive"
+
+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 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 &"
+
+new wx:CommandButton Box43
+  set Box43.Label "Viewer Plane MHD"
+
+new std:ExecSystemCommand Box44
+
+new std:StringSelect Box45
+  set Box45.In0 "bbi creaMiniTools/appli/PlaneViewer-MHD.bbs &"
+  set Box45.In1 "start /b bbi creaMiniTools/appli/PlaneViewer-MHD.bbs &"
+
+new wx:CommandButton Box46
+  set Box46.Label "Crop Manuel"
+
+new std:ExecSystemCommand Box47
+
+new std:StringSelect Box48
+  set Box48.In0 "bbi creaMiniTools/appli/Crop2.bbs &"
+  set Box48.In1 "start /b bbi creaMiniTools/appli/Crop2.bbs &"
+
+new wx:CommandButton Box49
+  set Box49.Label "Rescale-Slope"
+
+new std:ExecSystemCommand Box50
+
+new std:StringSelect Box51
+  set Box51.In0 "bbi creaMiniTools/appli/rescaleSlopeIntercept.bbs &"
+  set Box51.In1 "start /b bbi creaMiniTools/appli/rescaleSlopeIntercept.bbs &"
+
+new wx:CommandButton Box52
+  set Box52.Label "Gaussian Smoothing"
+
+new std:ExecSystemCommand Box53
+
+new std:StringSelect Box54
+  set Box54.In0 "bbi creaMiniTools/appli/GaussianSmoothing.bbs &"
+  set Box54.In1 "start /b bbi creaMiniTools/appli/GaussianSmoothing.bbs &"
 
 
 connect Box00.BoxChange Box04.BoxExecute
@@ -71,22 +156,63 @@ connect Box02.BoxChange Box06.BoxExecute
 connect Box10.BoxChange Box09.BoxExecute
 connect Box11.BoxChange Box12.BoxExecute
 connect Box13.BoxChange Box14.BoxExecute
-connect Box18.Widget Box15.Widget1
 connect Box02.Widget Box18.Widget1
-connect Box10.Widget Box18.Widget2
 connect Box11.Widget Box19.Widget2
 connect Box00.Widget Box19.Widget1
-connect Box19.Widget Box15.Widget2
 connect Box20.widget Box15.Widget3
-connect Box21.widget Box15.Widget4
 connect Box22.Widget Box19.Widget3
 connect Box22.BoxChange Box23.BoxExecute
-
-exec Box15
+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 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
+connect Box43.BoxChange Box44.BoxExecute
+connect Box45.Out Box44.In
+connect Box33.SystemType Box45.In
+connect Box43.Widget Box18.Widget4
+connect Box46.BoxChange Box47.BoxExecute
+connect Box48.Out Box47.In
+connect Box46.Widget Box19.Widget5
+connect Box13.Widget Box19.Widget6
+connect Box29.Widget Box19.Widget7
+connect Box49.BoxChange Box50.BoxExecute
+connect Box51.Out Box50.In
+connect Box49.Widget Box19.Widget8
+connect Box33.SystemType Box51.In
+connect Box52.BoxChange Box53.BoxExecute
+connect Box54.Out Box53.In
+connect Box52.Widget Box19.Widget9
 
 # Complex input ports
 
 # Complex output ports
 output widget Box15.Widget " "
 
+message    
+exec Box15
+
 endefine