]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs
#3187 CreaMiniTools Feature New Normal - Viewer Vectors Tensors Fiels application...
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / imageToolsMenu.bbs
index 20673c05b88fd272d6202f76ec2c9c2d371fe680..78874bf99e27392b51fe7e3e937ba20420f273a8 100644 (file)
@@ -1,31 +1,6 @@
-# ---------------------------------------------------------------------
-#
-# 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.3 BBS BlackBox Script (Complex Box)
-# - /Users/davila/Creatis/All5/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
@@ -41,70 +16,148 @@ 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
+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
+new wx:CommandButton Box13
   set Box13.Label "Extract Planes"
 
-new ExecSystemCommand Box14
-  set Box14.In "bbi creaMiniTools/appli/SaveImagePlanes.bbs &"
+new std:ExecSystemCommand Box14
 
-new LayoutTab Box15
+new wx:LayoutTab Box15
   set Box15.WinTitle "Images Tools"
 
-new LayoutLine Box18
-
-new LayoutLine Box19
+new wx:LayoutLine Box18
 
-new RegistrationMenu Box20
+new wx:LayoutLine Box19
 
-new RescaleSlopeInterceptMenu Box21
+new creaMiniToolsBase:RegistrationMenu Box20
 
-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 CommandButton Box25
-  set Box25.Label "Crop image"
+new wx:CommandButton Box25
+  set Box25.Label "Crop interactive"
 
-new ExecSystemCommand Box26
-  set Box26.In "bbi creaMiniTools/appli/crop.bbs &"
+new std:ExecSystemCommand Box26
 
-new LayoutCenter Box27
+new wx:LayoutCenter Box27
   set Box27.WinTitle "Viewers"
 
-new LayoutCenter Box28
+new wx:LayoutCenter Box28
   set Box28.WinTitle "Modify image"
 
-new CommandButton Box29
-  set Box29.Label "Flip Image Y"
+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 ExecSystemCommand Box30
-  set Box30.In "bbi creaMiniTools/appli/flipImageY.bbs &"
+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 &"
+
+new wx:CommandButton Box55
+  set Box55.Label "Vectors / Tensors Viewer"
+
+new std:ExecSystemCommand Box56
+
+new std:StringSelect Box57
+  set Box57.In0 "bbi creaMiniTools/appli/ViewerVectorsTensorsField.bbs &"
+  set Box57.In1 "start /b bbi creaMiniTools/appli/ViewerVectorsTensorsField.bbs &"
 
 
 connect Box00.BoxChange Box04.BoxExecute
@@ -113,11 +166,9 @@ connect Box10.BoxChange Box09.BoxExecute
 connect Box11.BoxChange Box12.BoxExecute
 connect Box13.BoxChange Box14.BoxExecute
 connect Box02.Widget Box18.Widget1
-connect Box10.Widget Box18.Widget2
 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
@@ -126,15 +177,54 @@ 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
-
-exec Box15
+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
+connect Box55.BoxChange Box56.BoxExecute
+connect Box57.Out Box56.In
+connect Box55.Widget Box18.Widget5
+connect Box33.SystemType Box57.In
 
 # Complex input ports
 
 # Complex output ports
 output widget Box15.Widget " "
 
+exec Box15
+
 endefine