]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs
Feature #1769 Add licence terms for all files.
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / ConnectivityWidget.bbs
index ac118a91f120b05d176306ad4cbd68b2e2740f66..27f97cce89e11ba1ad2de1301a41475565dca495 100644 (file)
@@ -1,3 +1,28 @@
+# ---------------------------------------------------------------------
+#
+# 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/ConnectivityWidget.bbs
@@ -8,7 +33,7 @@ include itkvtk
 include wx
 include creaMaracasVisu
 include vtk
-include creaMiniToolsBase
+include toolsbbtk
 include wxvtk
 include std
 
@@ -36,6 +61,7 @@ new LayoutTab Box11
 
 new IsoSurfaceWidget Box14
   set Box14.Title "Iso Surface"
+  set Box14.maxIsovalue 255
 
 new LayoutLine Box15
   set Box15.Orientation H
@@ -53,6 +79,7 @@ new ConcatStrings Box19
 new ShowNPoints Box21
   set Box21.Opacity 100
   set Box21.Radio 5
+  set Box21.Type 1
 
 new MagicBox Box23
 
@@ -72,11 +99,20 @@ new ConcatStrings Box28
   set Box28.In4 " "
 
 new OutputText Box29
+  set Box29.Title "3D Point"
 
 new LayoutLine Box30
 
-new ConcatStrings Box31
-  set Box31.In1 "3D Point:  "
+new ImageVtkProperties Box32
+
+new GetVectorFloatElement Box35
+  set Box35.I 0
+
+new GetVectorFloatElement Box36
+  set Box36.I 1
+
+new OutputText Box37
+  set Box37.In "Min. Max gray level"
 
 
 connect Box00.BoxChange Box03.BoxExecute
@@ -106,12 +142,17 @@ connect Box27.Out Box28.In5
 connect Box28.Out Box07.PositionXYZ
 connect Box21.BoxChange Box29.BoxExecute
 connect Box30.Widget Box15.Widget2
-connect Box29.Widget Box30.Widget2
-connect Box00.Widget Box30.Widget3
-connect Box18.Widget Box30.Widget1
 connect Box15.Widget Box11.Widget1
-connect Box28.Out Box31.In2
-connect Box31.Out Box29.In
+connect Box28.Out Box29.In
+connect Box24.Out Box32.In
+connect Box32.MinMax Box35.In
+connect Box32.MinMax Box36.In
+connect Box36.Out Box18.InMax
+connect Box35.Out Box18.InMin
+connect Box00.Widget Box30.Widget4
+connect Box18.Widget Box30.Widget2
+connect Box29.Widget Box30.Widget1
+connect Box37.Widget Box30.Widget3
 connect Box00.BoxChange Box18.BoxExecute
 
 
@@ -119,6 +160,8 @@ connect Box00.BoxChange Box18.BoxExecute
 input point Box17.In " "
 input vtkRenderer Box23.In " "
 input In Box24.In " "
+input end Box18.InMaxShow " "
+input start Box18.InMinShow " "
 
 # Complex output ports
 output Widget Box05.Widget " "