]> Creatis software - creaVtk.git/commitdiff
#3476 Export Normal in PointPicker box
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 22 Dec 2021 13:06:08 +0000 (14:06 +0100)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 22 Dec 2021 13:06:08 +0000 (14:06 +0100)
bbtk_creaVtk_PKG/bbs/appli/ExamplePointPicker.bbg
bbtk_creaVtk_PKG/bbs/appli/ExamplePointPicker.bbs

index f8634e6d34d23189dc104b8a196053a3a00177ef..fb2cd1c7df3d6528132c0ded892c38bbe512df45 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/ExamplePointPicker.bbg
+# - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/ExamplePointPicker.bbg
 # ----------------------------------
 
 APP_START
@@ -9,7 +9,7 @@ DESCRIPTION:Description ??
 AUTHOR:Author ??
 COMPLEXBOX:FALSE
 COMPLEXINPUTS:0
-BOXES:19
+BOXES:20
 BOX
 creaVtk:PointPicker:Box00
 ISEXEC:FALSE
@@ -44,21 +44,21 @@ BOX
 creaMaracasVisu:ViewerNV:Box03
 ISEXEC:FALSE
 8.401272:82.554547:-900.000000
-44.276272:72.554547:-900.000000
+75.201272:72.554547:-900.000000
 FIN_BOX
 BOX
 wx:OutputText:Box04
 ISEXEC:FALSE
-42.530164:-134.123521:-900.000000
-79.305164:-144.123521:-900.000000
+18.936321:-133.216065:-900.000000
+55.711321:-143.216065:-900.000000
 PORT
-Title:"Point&&2P&&"
+Title:"Point"
 FIN_BOX
 BOX
 wx:LayoutLine:Box05
 ISEXEC:FALSE
--17.972686:-174.663538:-900.000000
-18.602314:-184.663538:-900.000000
+5.923643:-191.602708:-900.000000
+63.483643:-201.602708:-900.000000
 FIN_BOX
 BOX
 wx:Slider:Box07
@@ -97,8 +97,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:SetPosition:Box11
 ISEXEC:FALSE
-140.379252:-125.723679:-900.000000
-176.929252:-135.723679:-900.000000
+159.435818:-127.538590:-900.000000
+195.985818:-137.538590:-900.000000
 FIN_BOX
 BOX
 std:MathOperationVector:Box13
@@ -119,10 +119,10 @@ FIN_BOX
 BOX
 wx:OutputText:Box15
 ISEXEC:FALSE
-88.836059:-132.175947:-900.000000
-125.611059:-142.175947:-900.000000
+58.587542:-132.780917:-900.000000
+95.362542:-142.780917:-900.000000
 PORT
-Title:"Round Point&&2P&&"
+Title:"Round Point"
 FIN_BOX
 BOX
 wx:CheckBox:Box16
@@ -144,7 +144,7 @@ BOX
 wx:LayoutSplit:Box18
 ISEXEC:TRUE
 -61.489869:-207.111169:-900.000000
--24.814869:-217.111169:-900.000000
+-22.409869:-217.111169:-900.000000
 PORT
 Orientation:"H"
 FIN_BOX
@@ -152,7 +152,7 @@ BOX
 wx:ComboBox:Box19
 ISEXEC:FALSE
 -39.256609:18.205522:-900.000000
-2.903391:8.205522:-900.000000
+5.983391:8.205522:-900.000000
 PORT
 In:"Nothing MouseMove ClickLeft DoubleClickLeft"
 PORT
@@ -166,7 +166,15 @@ ISEXEC:FALSE
 -64.871846:-21.697611:-900.000000
 -25.171846:-31.697611:-900.000000
 FIN_BOX
-CONNECTIONS:29
+BOX
+wx:OutputText:Box21
+ISEXEC:FALSE
+99.156533:-132.744939:-900.000000
+135.931533:-142.744939:-900.000000
+PORT
+Title:"Normal"
+FIN_BOX
+CONNECTIONS:32
 CONNECTION
 Box01:Out:Box02:In
 NumberOfControlPoints:0
@@ -254,4 +262,13 @@ NumberOfControlPoints:0
 CONNECTION
 Box20:BoxChange:Box00:BoxExecute
 NumberOfControlPoints:0
+CONNECTION
+Box00:Normal:Box21:In
+NumberOfControlPoints:0
+CONNECTION
+Box00:BoxChange:Box21:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box21:Widget:Box05:Widget4
+NumberOfControlPoints:0
 APP_END
index 0b66cb65a46d6898e4f904f691e6a09ff087d254..4b7cdd206281d1751054662716bc3210998ed94f 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/ExamplePointPicker.bbs
+# - /Users/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/ExamplePointPicker.bbs
 # ----------------------------------
 
 # BBTK GEditor Script
@@ -33,7 +33,7 @@ new vtk:PolyDataToActor Box02
 new creaMaracasVisu:ViewerNV Box03
 
 new wx:OutputText Box04
-  set Box04.Title "Point:"
+  set Box04.Title "Point"
 
 new wx:LayoutLine Box05
 
@@ -59,7 +59,7 @@ new std:Div Box14
   set Box14.In2 "100"
 
 new wx:OutputText Box15
-  set Box15.Title "Round Point:"
+  set Box15.Title "Round Point"
 
 new wx:CheckBox Box16
   set Box16.In "true"
@@ -77,6 +77,9 @@ new wx:ComboBox Box19
 
 new std:MultipleInputs Box20
 
+new wx:OutputText Box21
+  set Box21.Title "Normal"
+
 
 connect Box01.Out Box02.In
 
@@ -136,6 +139,12 @@ connect Box16.BoxChange Box20.In3
 
 connect Box20.BoxChange Box00.BoxExecute
 
+connect Box00.Normal Box21.In
+
+connect Box00.BoxChange Box21.BoxExecute
+
+connect Box21.Widget Box05.Widget4
+
 
 
 # Complex input ports