]> Creatis software - bbtk.git/commitdiff
3470 Refresh SphereListWidget vtk8itk5wx3-mingw64
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 28 Jul 2021 10:03:28 +0000 (12:03 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 28 Jul 2021 10:03:28 +0000 (12:03 +0200)
packages/wxvtk/bbs/boxes/SphereListWidget.bbg
packages/wxvtk/bbs/boxes/SphereListWidget.bbs

index dcbec1cd609b28fef55b7c1208f8b2b7fb788869..92a7c8d2b6fc6cbe94ffc865299364da644a4120 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/davila/Creatis/All/creatools_source/bbtk/packages/wxvtk/bbs/boxes/SphereListWidget.bbg
+# - /home/davila/Creatis/C11/creatools_source/bbtk/packages/wxvtk/bbs/boxes/SphereListWidget.bbg
 # ----------------------------------
 
 APP_START
@@ -10,12 +10,16 @@ AUTHOR:Author ??
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:SphereListWidget
 PACKAGENAME:wxvtk
-COMPLEXOUTPUTS:1
+COMPLEXOUTPUTS:2
 COMPLEX_PORT
 Widget
--85.905274:-92.354431:-900.000000
+-98.843138:-92.871946:-900.000000
 FIN_COMPLEX_PORT
-COMPLEXINPUTS:6
+COMPLEX_PORT
+BoxChangeForRender
+-27.298894:-91.470701:-900.000000
+FIN_COMPLEX_PORT
+COMPLEXINPUTS:8
 COMPLEX_PORT
 lstPointX
 8.139713:82.586776:-900.000000
@@ -40,12 +44,20 @@ COMPLEX_PORT
 WinTitle
 -55.788338:78.579533:-900.000000
 FIN_COMPLEX_PORT
+COMPLEX_PORT
+transform
+60.235872:85.258911:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+boxExecute
+-81.896681:82.155439:-900.000000
+FIN_COMPLEX_PORT
 BOXES:9
 BOX
 wx:Slider:Box00
 ISEXEC:FALSE
 -167.678079:54.285621:-900.000000
--126.609253:44.285621:-900.000000
+-116.278079:44.285621:-900.000000
 PORT
 In:"50"
 PORT
@@ -62,8 +74,8 @@ FIN_BOX
 BOX
 wx:Slider:Box01
 ISEXEC:FALSE
-71.003339:58.793770:-900.000000
-103.778339:48.793770:-900.000000
+103.249523:55.956106:-900.000000
+154.649523:45.956106:-900.000000
 PORT
 Label:"true"
 PORT
@@ -78,8 +90,8 @@ FIN_BOX
 BOX
 wx:LayoutLine:Box02
 ISEXEC:FALSE
--87.908896:-62.675787:-900.000000
--42.333896:-72.675787:-900.000000
+-119.477285:-59.570700:-900.000000
+-61.917285:-69.570700:-900.000000
 PORT
 WinTitle:"Center Point"
 FIN_BOX
@@ -87,9 +99,9 @@ BOX
 vtk:SphereList:Box03
 ISEXEC:FALSE
 -3.863333:-42.636949:-900.000000
-41.711667:-52.636949:-900.000000
+32.136667:-52.636949:-900.000000
 PORT
-Colour:"0.32 0.12 0.12"
+Colour:"1 0 0"
 PORT
 lstPointX:"10 10"
 PORT
@@ -103,7 +115,7 @@ BOX
 std:Div:Box04
 ISEXEC:FALSE
 -116.710956:22.728582:-900.000000
--83.935956:12.728582:-900.000000
+-87.385956:12.728582:-900.000000
 PORT
 In2:"100"
 FIN_BOX
@@ -111,31 +123,29 @@ BOX
 std:ConcatStrings:Box05
 ISEXEC:FALSE
 50.279055:8.830270:-900.000000
-95.854055:-1.169730:-900.000000
+90.004055:-1.169730:-900.000000
 FIN_BOX
 BOX
 std:MultipleInputs:Box08
 ISEXEC:FALSE
--98.614166:-13.546822:-900.000000
--53.039166:-23.546822:-900.000000
+-89.040146:-12.511793:-900.000000
+-49.340146:-22.511793:-900.000000
 PORT
 BoxProcessMode:"Reactive"
 FIN_BOX
 BOX
-vtk:UpdateRender:Box07
+std:MagicBox:Box09
 ISEXEC:FALSE
--19.609381:-58.498699:-900.000000
-25.965619:-68.498699:-900.000000
-PORT
-Active:"true"
+-41.657874:42.759098:-900.000000
+-5.582874:32.759098:-900.000000
 FIN_BOX
 BOX
-std:MagicBox:Box09
+std:MagicBox:Box10
 ISEXEC:FALSE
--41.657874:42.759098:-900.000000
-3.917126:32.759098:-900.000000
+52.379365:62.243159:-900.000000
+88.454365:52.243159:-900.000000
 FIN_BOX
-CONNECTIONS:20
+CONNECTIONS:22
 CONNECTION
 Box00:Widget:Box02:Widget1
 NumberOfControlPoints:0
@@ -161,18 +171,12 @@ CONNECTION
 Box08:BoxChange:Box03:BoxExecute
 NumberOfControlPoints:0
 CONNECTION
-Box08:BoxChange:Box07:BoxExecute
-NumberOfControlPoints:0
-CONNECTION
 Renderer:Renderer:Box09:In
 NumberOfControlPoints:0
 CONNECTION
 Box09:Out:Box03:Renderer
 NumberOfControlPoints:0
 CONNECTION
-Box09:Out:Box07:Renderer
-NumberOfControlPoints:0
-CONNECTION
 Box05:Out:Box03:lstRadio
 NumberOfControlPoints:0
 CONNECTION
@@ -196,4 +200,16 @@ NumberOfControlPoints:0
 CONNECTION
 WinTitle:WinTitle:Box02:WinTitle
 NumberOfControlPoints:0
+CONNECTION
+Box10:Out:Box03:Transform
+NumberOfControlPoints:0
+CONNECTION
+transform:transform:Box10:In
+NumberOfControlPoints:0
+CONNECTION
+boxExecute:boxExecute:Box08:In5
+NumberOfControlPoints:0
+CONNECTION
+Box08:BoxChange:BoxChangeForRender:BoxChangeForRender
+NumberOfControlPoints:0
 APP_END
index 584e3252b4c2158cea3a26a60deb8a5a3c62c1ba..2e41b77b1815f804997b4fa32c1edf11d0179017 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/All/creatools_source/bbtk/packages/wxvtk/bbs/boxes/SphereListWidget.bbs
+# - /home/davila/Creatis/C11/creatools_source/bbtk/packages/wxvtk/bbs/boxes/SphereListWidget.bbs
 # ----------------------------------
 
 include std
@@ -16,7 +16,7 @@ description "Description ??"
 
 category "<VOID>"
 
-new Slider Box00
+new wx:Slider Box00
   set Box00.In "50"
   set Box00.Label "true"
   set Box00.Max "100"
@@ -24,35 +24,34 @@ new Slider Box00
   set Box00.ReactiveOnTrack "true"
   set Box00.Title "Opacity4"
 
-new Slider Box01
+new wx:Slider Box01
   set Box01.Label "true"
   set Box01.Max "50"
   set Box01.Min "1"
   set Box01.ReactiveOnTrack "true"
   set Box01.Title "Radio"
 
-new LayoutLine Box02
+new wx:LayoutLine Box02
   set Box02.WinTitle "Center Point"
 
-new SphereList Box03
-  set Box03.Colour "0.32 0.12 0.12"
+new vtk:SphereList Box03
+  set Box03.Colour "1 0 0"
   set Box03.lstPointX "10 10"
   set Box03.lstPointY "10 20"
   set Box03.lstPointZ "10 30"
   set Box03.lstRadio "10"
 
-new Div Box04
+new std:Div Box04
   set Box04.In2 "100"
 
-new ConcatStrings Box05
+new std:ConcatStrings Box05
 
-new MultipleInputs Box08
+new std:MultipleInputs Box08
   set Box08.BoxProcessMode "Reactive"
 
-new UpdateRender Box07
-  set Box07.Active "true"
+new std:MagicBox Box09
 
-new MagicBox Box09
+new std:MagicBox Box10
 
 
 connect Box00.Widget Box02.Widget1
@@ -62,12 +61,11 @@ connect Box00.Out Box04.In1
 connect Box01.Out Box05.In1
 connect Box00.BoxChange Box08.In1
 connect Box08.BoxChange Box03.BoxExecute
-connect Box08.BoxChange Box07.BoxExecute
 connect Box09.Out Box03.Renderer
-connect Box09.Out Box07.Renderer
 connect Box05.Out Box03.lstRadio
 connect Box05.BoxChange Box08.In2
 connect Box01.BoxChange Box08.In3
+connect Box10.Out Box03.Transform
 
 # Complex input ports
 input Renderer Box09.In " "
@@ -76,9 +74,12 @@ input lstPointY Box03.lstPointY " "
 input lstPointZ Box03.lstPointZ " "
 input spc Box03.Spacing " "
 input WinTitle Box02.WinTitle " "
+input transform Box10.In " "
+input boxExecute Box08.In5 " "
 
 # Complex output ports
 output Widget Box02.Widget " "
+output BoxChangeForRender Box08.BoxChange " "
 
 
 endefine