]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs
no message
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / ConnectivityWidget.bbs
index 7f3b1a18e19648e9a5b9d48703e9cd40ff4cff2e..edb9463ce6e88ca777ca8168a2b0edc202271f53 100644 (file)
@@ -10,6 +10,7 @@ include creaMaracasVisu
 include vtk
 include creaMiniToolsBase
 include wxvtk
+include std
 
 define ConnectivityWidget creaMiniTools
 
@@ -36,10 +37,6 @@ new InputText Box08
   set Box08.In "1500 5000"
   set Box08.Title "Min Max"
 
-new InputText Box09
-  set Box09.In "10 10 10"
-  set Box09.Title "posX posY posZ"
-
 new SaveMHD-Button Box10
 
 new LayoutTab Box11
@@ -47,6 +44,16 @@ new LayoutTab Box11
 new IsoSurfaceWidget Box14
   set Box14.Title "Iso Surface"
 
+new OutputText Box13
+
+new LayoutLine Box15
+  set Box15.Orientation H
+
+new CommandButton Box16
+  set Box16.Label Get Point 3D
+
+new MagicBox Box17
+
 
 connect Box00.Widget Box01.Widget5
 connect Box00.BoxChange Box03.BoxExecute
@@ -54,8 +61,6 @@ connect Box03.Widget Box05.Widget2
 connect Box07.Out Box03.In
 connect Box08.Widget Box01.Widget1
 connect Box08.Out Box07.ThresholdMinMax
-connect Box09.Widget Box01.Widget2
-connect Box09.Out Box07.PositionXYZ
 connect Box07.Out Box10.In
 connect Box01.Widget Box11.Widget1
 connect Box11.Widget Box05.Widget1
@@ -63,11 +68,18 @@ connect Box07.Out Box14.In
 connect Box10.Widget Box11.Widget3
 connect Box14.Widget Box11.Widget2
 connect Box00.BoxChange Box14.BoxExecute
+connect Box16.Widget Box15.Widget1
+connect Box13.Widget Box15.Widget2
+connect Box15.Widget Box01.Widget3
+connect Box17.Out Box13.In
+connect Box16.BoxChange Box13.BoxExecute
+connect Box17.Out Box07.PositionXYZ
 
 
 # Complex input ports
 input In Box07.In " "
 input vtkRenderer Box14.vtkRenderer " "
+input point Box17.In " "
 
 # Complex output ports
 output Widget Box05.Widget " "