]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs
no message
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / ConnectivityWidget.bbs
index edb9463ce6e88ca777ca8168a2b0edc202271f53..ac118a91f120b05d176306ad4cbd68b2e2740f66 100644 (file)
@@ -22,9 +22,6 @@ category "filter widget"
 new CommandButton Box00
   set Box00.Label Run
 
 new CommandButton Box00
   set Box00.Label Run
 
-new LayoutLine Box01
-  set Box01.WinTitle "Parameters"
-
 new ViewerNV Box03
   set Box03.nTypeView "0"
 
 new ViewerNV Box03
   set Box03.nTypeView "0"
 
@@ -33,10 +30,6 @@ new LayoutSplit Box05
 
 new SegmentationConnectivity Box07
 
 
 new SegmentationConnectivity Box07
 
-new InputText Box08
-  set Box08.In "1500 5000"
-  set Box08.Title "Min Max"
-
 new SaveMHD-Button Box10
 
 new LayoutTab Box11
 new SaveMHD-Button Box10
 
 new LayoutTab Box11
@@ -44,42 +37,88 @@ new LayoutTab Box11
 new IsoSurfaceWidget Box14
   set Box14.Title "Iso Surface"
 
 new IsoSurfaceWidget Box14
   set Box14.Title "Iso Surface"
 
-new OutputText Box13
-
 new LayoutLine Box15
   set Box15.Orientation H
 new LayoutLine Box15
   set Box15.Orientation H
-
-new CommandButton Box16
-  set Box16.Label Get Point 3D
+  set Box15.WinTitle "Parameters"
 
 new MagicBox Box17
 
 
 new MagicBox Box17
 
+new SliderMinMax Box18
+  set Box18.InMax 2000
+  set Box18.ShowActual false
+
+new ConcatStrings Box19
+  set Box19.In2 " "
+
+new ShowNPoints Box21
+  set Box21.Opacity 100
+  set Box21.Radio 5
+
+new MagicBox Box23
+
+new vtkImageDataPointerRelay Box24
+
+new GetVectorIntElement Box25
+  set Box25.I 0
+
+new GetVectorIntElement Box26
+  set Box26.I 0
+
+new GetVectorIntElement Box27
+  set Box27.I 0
+
+new ConcatStrings Box28
+  set Box28.In2 " "
+  set Box28.In4 " "
+
+new OutputText Box29
+
+new LayoutLine Box30
+
+new ConcatStrings Box31
+  set Box31.In1 "3D Point:  "
+
 
 
-connect Box00.Widget Box01.Widget5
 connect Box00.BoxChange Box03.BoxExecute
 connect Box03.Widget Box05.Widget2
 connect Box07.Out Box03.In
 connect Box00.BoxChange Box03.BoxExecute
 connect Box03.Widget Box05.Widget2
 connect Box07.Out Box03.In
-connect Box08.Widget Box01.Widget1
-connect Box08.Out Box07.ThresholdMinMax
 connect Box07.Out Box10.In
 connect Box07.Out Box10.In
-connect Box01.Widget Box11.Widget1
 connect Box11.Widget Box05.Widget1
 connect Box07.Out Box14.In
 connect Box10.Widget Box11.Widget3
 connect Box14.Widget Box11.Widget2
 connect Box00.BoxChange Box14.BoxExecute
 connect Box11.Widget Box05.Widget1
 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
+connect Box18.OutEnd Box19.In3
+connect Box18.OutStart Box19.In1
+connect Box19.Out Box07.ThresholdMinMax
+connect Box21.Widget Box15.Widget1
+connect Box17.Out Box21.In
+connect Box23.Out Box14.vtkRenderer
+connect Box23.Out Box21.Renderer
+connect Box24.Out Box07.In
+connect Box24.Out Box21.Image
+connect Box21.lstPointsX Box25.In
+connect Box21.lstPointsY Box26.In
+connect Box21.lstPointsZ Box27.In
+connect Box25.Out Box28.In1
+connect Box26.Out Box28.In3
+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 Box00.BoxChange Box18.BoxExecute
 
 
 # Complex input ports
 
 
 # Complex input ports
-input In Box07.In " "
-input vtkRenderer Box14.vtkRenderer " "
 input point Box17.In " "
 input point Box17.In " "
+input vtkRenderer Box23.In " "
+input In Box24.In " "
 
 # Complex output ports
 output Widget Box05.Widget " "
 
 # Complex output ports
 output Widget Box05.Widget " "