]> Creatis software - creaMiniTools.git/commitdiff
2380 CreaMiniTools Feature New Normal new ViewContainer bbtk-application
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Mon, 26 May 2014 06:14:26 +0000 (08:14 +0200)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Mon, 26 May 2014 06:14:26 +0000 (08:14 +0200)
bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbg [new file with mode: 0644]
bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs [new file with mode: 0644]
bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg
bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbs

diff --git a/bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbg b/bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbg
new file mode 100644 (file)
index 0000000..b1ec1d0
--- /dev/null
@@ -0,0 +1,334 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbg
+# ----------------------------------
+
+APP_START
+CATEGORY:<VOID>
+DESCRIPTION:Description ??
+AUTHOR:Author ??
+COMPLEXBOX:FALSE
+COMPLEXINPUTS:0
+BOXES:27
+BOX
+vtk:LoadHola:Box00
+ISEXEC:FALSE
+2.097563:242.659534:-900.000000
+47.672563:232.659534:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ViewerNV:Box01
+ISEXEC:FALSE
+0.988964:140.797687:-900.000000
+46.563964:130.797687:-900.000000
+FIN_BOX
+BOX
+vtk:vtkImageDataPointerRelay:Box02
+ISEXEC:FALSE
+-7.675017:222.101904:-900.000000
+63.499983:212.101904:-900.000000
+FIN_BOX
+BOX
+wx:LayoutSplit:Box04
+ISEXEC:TRUE
+-17.852025:-133.329146:-900.000000
+27.722975:-143.329146:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+creaMaracasVisu:PanelButtonContainerSettings:Box05
+ISEXEC:FALSE
+-141.285076:80.084771:-900.000000
+-70.110076:70.084771:-900.000000
+PORT
+ButtonName:"Ruler-1"
+PORT
+GroupName:"Measurements"
+PORT
+Iconpath:"/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Line.png"
+FIN_BOX
+BOX
+creaMaracasVisu:PanelButtonContainer:Box06
+ISEXEC:FALSE
+-91.109687:-109.321398:-900.000000
+-19.934687:-119.321398:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box07
+ISEXEC:FALSE
+-111.325022:58.045702:-900.000000
+-65.750022:48.045702:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:PanelButtonContainerSettings:Box09
+ISEXEC:FALSE
+-138.909688:-1.485795:-900.000000
+-67.734688:-11.485795:-900.000000
+PORT
+ButtonName:"Ruler-2"
+PORT
+GroupName:"Measurements"
+PORT
+Iconpath:"/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Contour.png"
+FIN_BOX
+BOX
+std:MagicBox:Box10
+ISEXEC:FALSE
+-129.279644:-14.462177:-900.000000
+-83.704644:-24.462177:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:Ruler01_XY_Widget:Box12
+ISEXEC:FALSE
+-94.842662:114.287201:-900.000000
+-49.267662:104.287201:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ContourControlPoints_Widget:Box13
+ISEXEC:FALSE
+-18.693419:101.735911:-900.000000
+52.481581:91.735911:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box14
+ISEXEC:TRUE
+-16.495159:78.002022:-900.000000
+29.079841:68.002022:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:PanelButtonContainerSettings:Box15
+ISEXEC:FALSE
+-129.677625:146.191174:-900.000000
+-58.502625:136.191174:-900.000000
+PORT
+ButtonName:"Image"
+PORT
+GroupName:"Information"
+PORT
+Iconpath:"/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/info.png"
+FIN_BOX
+BOX
+toolsbbtk:ImageVtkPropertiesWidget:Box16
+ISEXEC:FALSE
+-102.025366:202.117733:-900.000000
+-30.850366:192.117733:-900.000000
+FIN_BOX
+BOX
+std:MagicBox:Box17
+ISEXEC:FALSE
+-118.244865:131.500819:-900.000000
+-72.669865:121.500819:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box18
+ISEXEC:FALSE
+-112.408734:174.813321:-900.000000
+-66.833734:164.813321:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box19
+ISEXEC:FALSE
+-93.177872:97.517317:-900.000000
+-47.602872:87.517317:-900.000000
+FIN_BOX
+BOX
+wx:LayoutTab:Box20
+ISEXEC:FALSE
+-55.580777:18.330843:-900.000000
+-10.005777:8.330843:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:PanelButtonContainerSettings:Box21
+ISEXEC:FALSE
+-176.673032:-31.744948:-900.000000
+-98.004699:-41.744948:-900.000000
+PORT
+ButtonName:"Window and Color Level"
+PORT
+GroupName:"Viewer"
+PORT
+Iconpath:"/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
+FIN_BOX
+BOX
+std:MagicBox:Box22
+ISEXEC:FALSE
+-159.726979:-46.326870:-900.000000
+-114.151979:-56.326870:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:ColorWindowLevel_Interface:Box24
+ISEXEC:FALSE
+-31.503905:168.996235:-900.000000
+39.671095:158.996235:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:PanelButtonContainerSettings:Box25
+ISEXEC:FALSE
+-184.373682:-71.047749:-900.000000
+-100.367156:-81.047749:-900.000000
+PORT
+ButtonName:"2. Threshold"
+PORT
+GroupName:"Filter"
+PORT
+Iconpath:"/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
+FIN_BOX
+BOX
+std:MagicBox:Box26
+ISEXEC:FALSE
+-165.476879:-100.455371:-900.000000
+-119.901879:-110.455371:-900.000000
+FIN_BOX
+BOX
+creaMiniTools:ThresholdWidget:Box27
+ISEXEC:FALSE
+-82.054635:-49.727639:-900.000000
+-36.479635:-59.727639:-900.000000
+FIN_BOX
+BOX
+creaMaracasVisu:PanelButtonContainerSettings:Box28
+ISEXEC:FALSE
+-99.774299:-74.219267:-900.000000
+-28.599299:-84.219267:-900.000000
+PORT
+ButtonName:"1. Crop"
+PORT
+GroupName:"Filter"
+PORT
+Iconpath:"/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
+FIN_BOX
+BOX
+std:MagicBox:Box29
+ISEXEC:FALSE
+-93.516506:-92.860325:-900.000000
+-47.941506:-102.860325:-900.000000
+FIN_BOX
+BOX
+toolsbbtk:Crop_Widget:Box31
+ISEXEC:FALSE
+-38.640142:-22.056390:-900.000000
+6.934858:-32.056390:-900.000000
+FIN_BOX
+CONNECTIONS:40
+CONNECTION
+Box00:Out:Box02:In
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box01:In
+NumberOfControlPoints:0
+CONNECTION
+Box01:Widget:Box04:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box06:Widget:Box04:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box05:Widget:Box07:In
+NumberOfControlPoints:0
+CONNECTION
+Box09:Widget:Box10:In
+NumberOfControlPoints:0
+CONNECTION
+Box05:Out:Box09:In
+NumberOfControlPoints:0
+CONNECTION
+Box01:Renderer4:Box12:vtkRenderer
+NumberOfControlPoints:0
+CONNECTION
+Box01:Point:Box12:Point
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box12:Image
+NumberOfControlPoints:0
+CONNECTION
+Box01:BoxChange:Box12:BoxExecuteRulerInterface
+NumberOfControlPoints:0
+CONNECTION
+Box01:wxVtkBaseView4:Box13:wxvtkbaseview
+NumberOfControlPoints:0
+CONNECTION
+Box01:Renderer4:Box13:vtkRenderer
+NumberOfControlPoints:0
+CONNECTION
+Box13:BoxChange2:Box14:In
+NumberOfControlPoints:0
+CONNECTION
+Box15:Out:Box05:In
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box16:in
+NumberOfControlPoints:0
+CONNECTION
+Box15:Widget:Box17:In
+NumberOfControlPoints:0
+CONNECTION
+Box16:widget:Box18:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box18:Widget:Box15:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box12:Widget:Box19:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box19:Widget:Box05:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box13:Widget_Contour:Box20:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box20:Widget:Box09:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box21:Widget:Box22:In
+NumberOfControlPoints:0
+CONNECTION
+Box09:Out:Box21:In
+NumberOfControlPoints:0
+CONNECTION
+Box24:widget:Box21:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box24:Image
+NumberOfControlPoints:0
+CONNECTION
+Box24:WindowLevel:Box01:WindowLevel
+NumberOfControlPoints:0
+CONNECTION
+Box24:ColorLevel:Box01:ColorLevel
+NumberOfControlPoints:0
+CONNECTION
+Box24:Box_Change:Box01:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box25:Widget:Box26:In
+NumberOfControlPoints:0
+CONNECTION
+Box27:Widget:Box25:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box01:Renderer1:Box27:vtkRenderer
+NumberOfControlPoints:0
+CONNECTION
+Box28:Widget:Box29:In
+NumberOfControlPoints:0
+CONNECTION
+Box21:Out:Box28:In
+NumberOfControlPoints:0
+CONNECTION
+Box28:Out:Box25:In
+NumberOfControlPoints:0
+CONNECTION
+Box25:Out:Box06:In
+NumberOfControlPoints:0
+CONNECTION
+Box31:Widget_Out:Box28:Widget
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box31:Image
+NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box27:In
+NumberOfControlPoints:0
+APP_END
diff --git a/bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs b/bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs
new file mode 100644 (file)
index 0000000..ed84d1c
--- /dev/null
@@ -0,0 +1,180 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script
+# - /home/davila/Creatis/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ViewerContainer.bbs
+# ----------------------------------
+
+# BBTK GEditor Script
+# ----------------------
+
+include std
+include itkvtk
+include vtk
+include creaMaracasVisu
+include wx
+include std
+include toolsbbtk
+include creaMiniTools
+
+author "Author ??"
+description "Description ??"
+category "<VOID>"
+
+new LoadHola Box00
+
+new ViewerNV Box01
+
+new vtkImageDataPointerRelay Box02
+
+new LayoutSplit Box04
+  set Box04.Orientation "H"
+
+new PanelButtonContainerSettings Box05
+  set Box05.ButtonName "Ruler-1"
+  set Box05.GroupName "Measurements"
+  set Box05.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Line.png"
+
+new PanelButtonContainer Box06
+
+new MagicBox Box07
+
+new PanelButtonContainerSettings Box09
+  set Box09.ButtonName "Ruler-2"
+  set Box09.GroupName "Measurements"
+  set Box09.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Contour.png"
+
+new MagicBox Box10
+
+new Ruler01_XY_Widget Box12
+
+new ContourControlPoints_Widget Box13
+
+new MagicBox Box14
+
+new PanelButtonContainerSettings Box15
+  set Box15.ButtonName "Image"
+  set Box15.GroupName "Information"
+  set Box15.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/info.png"
+
+new ImageVtkPropertiesWidget Box16
+
+new MagicBox Box17
+
+new LayoutTab Box18
+
+new LayoutTab Box19
+
+new LayoutTab Box20
+
+new PanelButtonContainerSettings Box21
+  set Box21.ButtonName "Window and Color Level"
+  set Box21.GroupName "Viewer"
+  set Box21.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
+
+new MagicBox Box22
+
+new ColorWindowLevel_Interface Box24
+
+new PanelButtonContainerSettings Box25
+  set Box25.ButtonName "2. Threshold"
+  set Box25.GroupName "Filter"
+  set Box25.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
+
+new MagicBox Box26
+
+new ThresholdWidget Box27
+
+new PanelButtonContainerSettings Box28
+  set Box28.ButtonName "1. Crop"
+  set Box28.GroupName "Filter"
+  set Box28.Iconpath "/home/davila/Creatis/creaTools/creatools_source/creaContours/data/Icons/Segmentation.png"
+
+new MagicBox Box29
+
+new Crop_Widget Box31
+
+
+connect Box00.Out Box02.In
+
+connect Box02.Out Box01.In
+
+connect Box01.Widget Box04.Widget2
+
+connect Box06.Widget Box04.Widget1
+
+connect Box05.Widget Box07.In
+
+connect Box09.Widget Box10.In
+
+connect Box05.Out Box09.In
+
+connect Box01.Renderer4 Box12.vtkRenderer
+
+connect Box01.Point Box12.Point
+
+connect Box02.Out Box12.Image
+
+connect Box01.BoxChange Box12.BoxExecuteRulerInterface
+
+connect Box01.wxVtkBaseView4 Box13.wxvtkbaseview
+
+connect Box01.Renderer4 Box13.vtkRenderer
+
+connect Box13.BoxChange2 Box14.In
+
+connect Box15.Out Box05.In
+
+connect Box02.Out Box16.in
+
+connect Box15.Widget Box17.In
+
+connect Box16.widget Box18.Widget1
+
+connect Box18.Widget Box15.Widget
+
+connect Box12.Widget Box19.Widget1
+
+connect Box19.Widget Box05.Widget
+
+connect Box13.Widget_Contour Box20.Widget1
+
+connect Box20.Widget Box09.Widget
+
+connect Box21.Widget Box22.In
+
+connect Box09.Out Box21.In
+
+connect Box24.widget Box21.Widget
+
+connect Box02.Out Box24.Image
+
+connect Box24.WindowLevel Box01.WindowLevel
+
+connect Box24.ColorLevel Box01.ColorLevel
+
+connect Box24.Box_Change Box01.BoxExecute
+
+connect Box25.Widget Box26.In
+
+connect Box27.Widget Box25.Widget
+
+connect Box01.Renderer1 Box27.vtkRenderer
+
+connect Box28.Widget Box29.In
+
+connect Box21.Out Box28.In
+
+connect Box28.Out Box25.In
+
+connect Box25.Out Box06.In
+
+connect Box31.Widget_Out Box28.Widget
+
+connect Box02.Out Box31.Image
+
+connect Box02.Out Box27.In
+
+
+
+# Complex input ports
+exec Box04
+exec Box14
index a59904ac59e21ad96740c5982729447a8e2b6c7c..c1a4d7fe710eb854df9423d7b82fdfba263a8e7f 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.2 BBG BlackBox Diagram file
-# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbg
 # ----------------------------------
 
 APP_START
@@ -35,50 +10,50 @@ AUTHOR:info-team at creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:ThresholdWidget
 PACKAGENAME:creaMiniTools
-COMPLEXINPUTS:2
-COMPLEX_PORT
-In
-51.472752:90.245768:900.000000
-FIN_COMPLEX_PORT
-COMPLEX_PORT
-vtkRenderer
-15.189636:86.135217:900.000000
-FIN_COMPLEX_PORT
 COMPLEXOUTPUTS:3
 COMPLEX_PORT
 Widget
-11.952917:-157.156274:900.000000
+11.952917:-157.156274:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 BoxChange
-72.134831:-155.034444:900.000000
+72.134831:-155.034444:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 OutImage
-91.343074:-154.321721:900.000000
+91.343074:-154.321721:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:2
+COMPLEX_PORT
+In
+51.472752:90.245768:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+vtkRenderer
+15.189636:86.135217:-900.000000
 FIN_COMPLEX_PORT
 BOXES:14
 BOX
 wx:CommandButton:Box00
 ISEXEC:FALSE
--39.442677:-10.190191:900.000000
-6.132323:-20.190191:900.000000
+-39.442677:-10.190191:-900.000000
+6.132323:-20.190191:-900.000000
 PORT
 Label:Run
 FIN_BOX
 BOX
 wx:LayoutLine:Box01
 ISEXEC:FALSE
--58.126568:-46.803915:900.000000
--0.566568:-56.803915:900.000000
+-58.126568:-46.803915:-900.000000
+-0.566568:-56.803915:-900.000000
 PORT
 WinTitle:"Parameters"
 FIN_BOX
 BOX
 itk:BinaryThresholdImageFilter:Box02
 ISEXEC:FALSE
-108.161053:-38.440569:900.000000
-179.336053:-48.440569:900.000000
+108.161053:-38.440569:-900.000000
+179.336053:-48.440569:-900.000000
 PORT
 InsideValue:255
 PORT
@@ -91,24 +66,24 @@ FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box03
 ISEXEC:FALSE
-115.049769:-104.290651:900.000000
-175.689769:-114.290651:900.000000
+115.049769:-104.290651:-900.000000
+175.689769:-114.290651:-900.000000
 PORT
 nTypeView:"0"
 FIN_BOX
 BOX
 wx:LayoutSplit:Box05
 ISEXEC:FALSE
-15.019898:-138.980254:900.000000
-60.594898:-148.980254:900.000000
+15.019898:-138.980254:-900.000000
+60.594898:-148.980254:-900.000000
 PORT
 WinTitle:Threshold
 FIN_BOX
 BOX
 creaMaracasVisu:SliderMinMax:Box07
 ISEXEC:FALSE
-111.749978:-6.422702:900.000000
-166.229978:-16.422702:900.000000
+111.749978:-6.422702:-900.000000
+166.229978:-16.422702:-900.000000
 PORT
 InMax:5000
 PORT
@@ -121,56 +96,56 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box09
 ISEXEC:FALSE
--23.353929:-110.866779:900.000000
-34.206071:-120.866779:900.000000
+-23.353929:-110.866779:-900.000000
+34.206071:-120.866779:-900.000000
 FIN_BOX
 BOX
 toolsbbtk:SaveMHD-Button:Box10
 ISEXEC:FALSE
--24.940805:-69.524704:900.000000
-20.634195:-79.524704:900.000000
+-24.940805:-69.524704:-900.000000
+20.634195:-79.524704:-900.000000
 FIN_BOX
 BOX
 wx:OutputText:Box11
 ISEXEC:FALSE
--99.333856:-22.883442:900.000000
--53.758856:-32.883442:900.000000
+-99.333856:-22.883442:-900.000000
+-53.758856:-32.883442:-900.000000
 PORT
-In:"Min. Max. Gray level" 
+In:"Min. Max. Gray level" "
 FIN_BOX
 BOX
 wxvtk:IsoSurfaceWidget:Box12
 ISEXEC:FALSE
-51.133993:-54.416529:900.000000
-96.708993:-64.416529:900.000000
+55.130394:-63.135950:-900.000000
+100.705394:-73.135950:-900.000000
 PORT
 Title:"Iso Surface"
 FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box13
 ISEXEC:FALSE
-69.626597:60.594274:900.000000
-140.801597:50.594274:900.000000
+69.626597:60.594274:-900.000000
+140.801597:50.594274:-900.000000
 FIN_BOX
 BOX
 vtk:ImageVtkProperties:Box14
 ISEXEC:FALSE
-110.504364:42.256584:900.000000
-156.079364:32.256584:900.000000
+110.504364:42.256584:-900.000000
+156.079364:32.256584:-900.000000
 FIN_BOX
 BOX
 std:GetVectorFloatElement:Box15
 ISEXEC:FALSE
-115.470822:22.390753:900.000000
-186.645822:12.390753:900.000000
+115.470822:22.390753:-900.000000
+186.645822:12.390753:-900.000000
 PORT
 I:0
 FIN_BOX
 BOX
 std:GetVectorFloatElement:Box16
 ISEXEC:FALSE
-201.428744:22.390753:900.000000
-272.603744:12.390753:900.000000
+201.428744:22.390753:-900.000000
+272.603744:12.390753:-900.000000
 PORT
 I:1
 FIN_BOX
@@ -188,9 +163,6 @@ CONNECTION
 Box03:Widget:Box05:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box05:Widget:Widget:Widget
-NumberOfControlPoints:0
-CONNECTION
 Box01:Widget:Box09:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -212,9 +184,6 @@ CONNECTION
 Box12:BoxChange:BoxChange:BoxChange
 NumberOfControlPoints:0
 CONNECTION
-Box02:Out:Box12:In
-NumberOfControlPoints:0
-CONNECTION
 Box00:BoxChange:Box12:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
@@ -256,4 +225,10 @@ NumberOfControlPoints:0
 CONNECTION
 Box00:BoxChange:Box07:BoxExecute
 NumberOfControlPoints:0
+CONNECTION
+Box02:Out:Box12:In
+NumberOfControlPoints:0
+CONNECTION
+Box05:Widget:Widget:Widget
+NumberOfControlPoints:0
 APP_END
index c46776c053e6a3d956ebc9db114d4157ffb1f90e..397a89597c766f13937753e04a80a56696ecb1b8 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.2 BBS BlackBox Script (Complex Box)
-# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ThresholdWidget.bbs
 # ----------------------------------
 
 include std
@@ -33,7 +8,6 @@ include itkvtk
 include wx
 include itk
 include creaMaracasVisu
-include creaMiniToolsBase
 include toolsbbtk
 include wxvtk
 include vtk
@@ -75,7 +49,7 @@ new LayoutTab Box09
 new SaveMHD-Button Box10
 
 new OutputText Box11
-  set Box11.In "Min. Max. Gray level" 
+  set Box11.In "Min. Max. Gray level" "
 
 new IsoSurfaceWidget Box12
   set Box12.Title "Iso Surface"
@@ -100,7 +74,6 @@ connect Box09.Widget Box05.Widget1
 connect Box02.Out Box10.In
 connect Box11.Widget Box01.Widget1
 connect Box07.Widget Box01.Widget2
-connect Box02.Out Box12.In
 connect Box00.BoxChange Box12.BoxExecute
 connect Box12.Widget Box09.Widget2
 connect Box10.Widget Box09.Widget3
@@ -113,15 +86,16 @@ connect Box15.Out Box07.InMin
 connect Box07.OutEnd Box02.UpperThreshold
 connect Box07.OutStart Box02.LowerThreshold
 connect Box00.BoxChange Box07.BoxExecute
-
+connect Box02.Out Box12.In
 
 # Complex input ports
 input vtkRenderer Box12.vtkRenderer " "
 input In Box13.In " "
 
 # Complex output ports
-output Widget Box05.Widget " "
 output BoxChange Box12.BoxChange " "
 output OutImage Box02.Out " "
+output Widget Box05.Widget " "
+
 
 endefine