]> Creatis software - bbtk.git/commitdiff
2077 Feature IsoSurfaceWidget Box internal distribution bbpCreator
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 15 Jul 2013 21:06:13 +0000 (23:06 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 15 Jul 2013 21:06:31 +0000 (23:06 +0200)
packages/wxvtk/bbs/boxes/bbIsoSurfaceWidget.bbg
packages/wxvtk/bbs/boxes/bbIsoSurfaceWidget.bbs

index 0135c6f82fb9aac3deac53e031003d09546e5ce4..91f7798724ee9a2c9c589ce2bc35022a44d9f84b 100644 (file)
@@ -1,32 +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/bbtk/packages/wxvtk/bbs/boxes/bbIsoSurfaceWidget.bbg
+# - BBTKGEditor v 1.4 BBG BlackBox Diagram file
+# - /home/davila/Creatis/All/creatools_source/bbtk/packages/wxvtk/bbs/boxes/bbIsoSurfaceWidget.bbg
 # ----------------------------------
 
 APP_START
@@ -36,92 +10,88 @@ AUTHOR:laurent.guigues@creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:IsoSurfaceWidget
 PACKAGENAME:wxvtk
-COMPLEXINPUTS:9
+COMPLEXOUTPUTS:3
 COMPLEX_PORT
-Title
-283.154725:158.660509:900.000000
+Out
+128.872171:-162.115738:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-In
--16.833633:160.323981:900.000000
+BoxChange
+-34.608288:-163.975879:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-Opacity
-87.996393:158.685822:900.000000
+Widget
+34.548501:-166.490826:-900.000000
 FIN_COMPLEX_PORT
+COMPLEXINPUTS:9
 COMPLEX_PORT
-Isovalue
-16.600142:158.290245:900.000000
+Title
+39.234431:101.542958:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-Colour
-142.520044:157.855637:900.000000
+Opacity
+0.000000:100.000000:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-BoxExecute
-238.065220:158.024186:900.000000
+Isovalue
+50.000000:100.000000:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-Vertical
-256.961835:159.240161:900.000000
+Colour
+100.000000:100.000000:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-vtkRenderer
-70.561849:158.455894:900.000000
+Vertical
+20.134330:100.771479:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-maxIsovalue
-42.085827:158.422433:900.000000
+BoxExecute
+-60.588425:111.024895:-900.000000
 FIN_COMPLEX_PORT
-COMPLEXOUTPUTS:3
 COMPLEX_PORT
-Out
-123.419879:-163.996877:900.000000
+vtkRenderer
+250.000000:100.000000:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-BoxChange
-163.638864:-162.837195:900.000000
+In
+300.000000:100.000000:-900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
-Widget
-200.292101:-163.464554:900.000000
+maxIsovalue
+149.046234:101.002263:-900.000000
 FIN_COMPLEX_PORT
-BOXES:9
+BOXES:7
 BOX
 wx:LayoutLine:controls
 ISEXEC:FALSE
-250.542332:-104.126603:900.000000
-308.102332:-114.126603:900.000000
+-52.203428:-69.894900:-900.000000
+5.356572:-79.894900:-900.000000
 PORT
 Orientation:"HORIZONTAL"
 FIN_BOX
 BOX
-wx:LayoutLine:sliders
-ISEXEC:FALSE
-182.583206:-67.170661:900.000000
-240.143206:-77.170661:900.000000
-FIN_BOX
-BOX
 vtk:IsoSurfaceExtractor:surface
 ISEXEC:FALSE
-18.126928:-122.910193:900.000000
-89.301928:-132.910193:900.000000
+81.774701:-123.904671:-900.000000
+152.949701:-133.904671:-900.000000
 FIN_BOX
 BOX
 wx:Slider:isovalue
 ISEXEC:FALSE
-10.463291:74.344052:900.000000
-61.863291:64.344052:900.000000
+110.172480:-11.334358:-900.000000
+161.572480:-21.334358:-900.000000
 PORT
-Max:5000
+ChangeResolution:"true"
+PORT
+Max:"5000"
 PORT
 Title:"Isovalue"
 FIN_BOX
 BOX
 wx:Slider:opacity
 ISEXEC:FALSE
-76.865190:77.834104:900.000000
-128.265190:67.834104:900.000000
+-58.854441:19.859760:-900.000000
+-7.454441:9.859760:-900.000000
 PORT
 In:"100"
 PORT
@@ -132,49 +102,26 @@ PORT
 Title:"Opacity"
 FIN_BOX
 BOX
-wx:LayoutLine:colourFrame
-ISEXEC:FALSE
-207.052627:1.971466:900.000000
-264.612627:-8.028534:900.000000
-PORT
-WinTitle:"Colour"
-FIN_BOX
-BOX
 wx:ColourSelectorButton:colour
 ISEXEC:FALSE
-138.214333:79.325623:900.000000
-209.389333:69.325623:900.000000
+13.629466:-34.056096:-900.000000
+84.804466:-44.056096:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:refresh
 ISEXEC:FALSE
-145.174698:-86.754201:900.000000
-190.749698:-96.754201:900.000000
+31.511492:-88.460556:-900.000000
+77.086492:-98.460556:-900.000000
 FIN_BOX
 BOX
 std:Div:div
 ISEXEC:FALSE
-31.270053:4.693506:900.000000
-64.045053:-5.306494:900.000000
+61.718338:-56.253614:-900.000000
+94.493338:-66.253614:-900.000000
 PORT
 In2:"100"
 FIN_BOX
-CONNECTIONS:25
-CONNECTION
-sliders:Widget:controls:Widget1
-NumberOfControlPoints:0
-CONNECTION
-colourFrame:Widget:controls:Widget2
-NumberOfControlPoints:0
-CONNECTION
-colour:Widget:colourFrame:Widget1
-NumberOfControlPoints:0
-CONNECTION
-isovalue:Widget:sliders:Widget1
-NumberOfControlPoints:0
-CONNECTION
-opacity:Widget:sliders:Widget2
-NumberOfControlPoints:0
+CONNECTIONS:23
 CONNECTION
 isovalue:Out:surface:Isovalue
 NumberOfControlPoints:0
@@ -197,6 +144,15 @@ CONNECTION
 colour:BoxChange:refresh:In3
 NumberOfControlPoints:0
 CONNECTION
+colour:Widget:controls:Widget3
+NumberOfControlPoints:0
+CONNECTION
+isovalue:Widget:controls:Widget1
+NumberOfControlPoints:0
+CONNECTION
+opacity:Widget:controls:Widget2
+NumberOfControlPoints:0
+CONNECTION
 Title:Title:controls:WinTitle
 NumberOfControlPoints:0
 CONNECTION
@@ -212,27 +168,27 @@ CONNECTION
 Vertical:Vertical:controls:Orientation
 NumberOfControlPoints:0
 CONNECTION
-surface:Out:Out:Out
+BoxExecute:BoxExecute:refresh:In4
 NumberOfControlPoints:0
 CONNECTION
-refresh:Out:BoxChange:BoxChange
+vtkRenderer:vtkRenderer:surface:Renderer
 NumberOfControlPoints:0
 CONNECTION
-controls:Widget:Widget:Widget
+In:In:surface:In
 NumberOfControlPoints:0
 CONNECTION
-BoxExecute:BoxExecute:refresh:In4
+maxIsovalue:maxIsovalue:isovalue:Max
 NumberOfControlPoints:0
 CONNECTION
-refresh:Out:surface:BoxExecute
+surface:Out:Out:Out
 NumberOfControlPoints:0
 CONNECTION
-vtkRenderer:vtkRenderer:surface:Renderer
+controls:Widget:Widget:Widget
 NumberOfControlPoints:0
 CONNECTION
-In:In:surface:In
+refresh:BoxChange:BoxChange:BoxChange
 NumberOfControlPoints:0
 CONNECTION
-maxIsovalue:maxIsovalue:isovalue:Max
+refresh:BoxChange:surface:BoxExecute
 NumberOfControlPoints:0
 APP_END
index 8a2cfc5267a4580c5c8c9d5a44f0d9326fde311c..13f2110296c1d2c938a7f6944f111b9bb1003982 100644 (file)
@@ -1,32 +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/bbtk/packages/wxvtk/bbs/boxes/bbIsoSurfaceWidget.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/creatools_source/bbtk/packages/wxvtk/bbs/boxes/bbIsoSurfaceWidget.bbs
 # ----------------------------------
 
 include std
@@ -45,12 +19,11 @@ category "image;mesh;widget;viewer"
 new LayoutLine controls
   set controls.Orientation "HORIZONTAL"
 
-new LayoutLine sliders
-
 new IsoSurfaceExtractor surface
 
 new Slider isovalue
-  set isovalue.Max 5000
+  set isovalue.ChangeResolution "true"
+  set isovalue.Max "5000"
   set isovalue.Title "Isovalue"
 
 new Slider opacity
@@ -59,9 +32,6 @@ new Slider opacity
   set opacity.Min "0"
   set opacity.Title "Opacity"
 
-new LayoutLine colourFrame
-  set colourFrame.WinTitle "Colour"
-
 new ColourSelectorButton colour
 
 new MultipleInputs refresh
@@ -70,11 +40,6 @@ new Div div
   set div.In2 "100"
 
 
-connect sliders.Widget controls.Widget1
-connect colourFrame.Widget controls.Widget2
-connect colour.Widget colourFrame.Widget1
-connect isovalue.Widget sliders.Widget1
-connect opacity.Widget sliders.Widget2
 connect isovalue.Out surface.Isovalue
 connect opacity.Out div.In1
 connect div.Out surface.Opacity
@@ -82,8 +47,10 @@ connect colour.Out surface.Colour
 connect isovalue.BoxChange refresh.In1
 connect opacity.BoxChange refresh.In2
 connect colour.BoxChange refresh.In3
-connect refresh.Out surface.BoxExecute
-
+connect colour.Widget controls.Widget3
+connect isovalue.Widget controls.Widget1
+connect opacity.Widget controls.Widget2
+connect refresh.BoxChange surface.BoxExecute
 
 # Complex input ports
 input Title controls.WinTitle " "
@@ -98,7 +65,8 @@ input maxIsovalue isovalue.Max " "
 
 # Complex output ports
 output Out surface.Out " "
-output BoxChange refresh.Out " "
 output Widget controls.Widget " "
+output BoxChange refresh.BoxChange " "
+
 
 endefine