]> Creatis software - creaMiniTools.git/commitdiff
no message
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Thu, 16 Jun 2011 06:49:03 +0000 (06:49 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Thu, 16 Jun 2011 06:49:03 +0000 (06:49 +0000)
bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbg
bbtk_package_creaMiniTools/bbs/boxes/ConnectivityWidget.bbs

index 4aceb089f6aad40827c7f0fcbb4aff47bab4946a..44e69fa1d660fedaad490e42c7d802cca049d0a8 100644 (file)
@@ -10,98 +10,92 @@ AUTHOR:info-team at creatis.insa-lyon.fr
 COMPLEXBOX:TRUE
 COMPLEXBOXNAME:ConnectivityWidget
 PACKAGENAME:creaMiniTools
-COMPLEXINPUTS:2
+COMPLEXINPUTS:3
 COMPLEX_PORT
 In
-63.205317:84.606396:900.000000
+83.125447:107.057133:900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 vtkRenderer
-144.746150:81.509170:900.000000
+160.170426:77.922129:900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+point
+26.760850:107.225946:900.000000
 FIN_COMPLEX_PORT
 COMPLEXOUTPUTS:3
 COMPLEX_PORT
 Widget
--19.856737:-139.228110:900.000000
+-11.247839:-140.304222:900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 BoxChange
-154.492169:-140.202218:900.000000
+138.350485:-141.995738:900.000000
 FIN_COMPLEX_PORT
 COMPLEX_PORT
 OutImage
-71.681626:-136.747900:900.000000
+72.399034:-141.411053:900.000000
 FIN_COMPLEX_PORT
-BOXES:10
+BOXES:13
 BOX
 wx:CommandButton:Box00
 ISEXEC:FALSE
--16.540787:-14.500542:900.000000
-29.034213:-24.500542:900.000000
+-8.649297:-26.337777:900.000000
+36.925703:-36.337777:900.000000
 PORT
 Label:Run
 FIN_BOX
 BOX
 wx:LayoutLine:Box01
 ISEXEC:FALSE
--57.348912:-46.387612:900.000000
-0.211088:-56.387612:900.000000
+-70.612104:-60.055763:900.000000
+-13.052104:-70.055763:900.000000
 PORT
 WinTitle:"Parameters"
 FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box03
 ISEXEC:FALSE
-5.226319:-46.792214:900.000000
-65.866319:-56.792214:900.000000
+9.647383:-61.937006:900.000000
+70.287383:-71.937006:900.000000
 PORT
 nTypeView:"0"
 FIN_BOX
 BOX
 wx:LayoutSplit:Box05
 ISEXEC:FALSE
--23.325419:-117.777778:900.000000
-22.249581:-127.777778:900.000000
+-3.409718:-127.057830:900.000000
+42.165282:-137.057830:900.000000
 PORT
 WinTitle:Connectivity
 FIN_BOX
 BOX
 vtk:SegmentationConnectivity:Box07
 ISEXEC:FALSE
-69.539047:15.964406:900.000000
-140.714047:5.964406:900.000000
+78.026901:12.419190:900.000000
+149.201901:2.419190:900.000000
 FIN_BOX
 BOX
 wx:InputText:Box08
 ISEXEC:FALSE
-2.810636:58.893675:900.000000
-48.385636:48.893675:900.000000
+-81.588152:67.735803:900.000000
+-36.013152:57.735803:900.000000
 PORT
 In:"1500 5000"
 PORT
 Title:"Min Max"
 FIN_BOX
 BOX
-wx:InputText:Box09
-ISEXEC:FALSE
--47.212514:59.891545:900.000000
--1.637514:49.891545:900.000000
-PORT
-In:"10 10 10"
-PORT
-Title:"posX posY posZ"
-FIN_BOX
-BOX
 creaMiniToolsBase:SaveMHD-Button:Box10
 ISEXEC:FALSE
-100.565521:0.351303:900.000000
-146.140521:-9.648697:900.000000
+109.891827:-8.975003:900.000000
+155.466827:-18.975003:900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box11
 ISEXEC:FALSE
-84.112159:-99.895121:900.000000
-141.672159:-109.895121:900.000000
+79.449006:-92.721039:900.000000
+137.009006:-102.721039:900.000000
 FIN_BOX
 BOX
 wxvtk:IsoSurfaceWidget:Box14
@@ -111,7 +105,35 @@ ISEXEC:FALSE
 PORT
 Title:"Iso Surface"
 FIN_BOX
-CONNECTIONS:20
+BOX
+wx:OutputText:Box13
+ISEXEC:FALSE
+20.804837:13.630755:900.000000
+66.379837:3.630755:900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box15
+ISEXEC:FALSE
+-44.149323:-2.540957:900.000000
+13.410677:-12.540957:900.000000
+PORT
+Orientation:H
+FIN_BOX
+BOX
+wx:CommandButton:Box16
+ISEXEC:FALSE
+-24.307902:31.559852:900.000000
+21.267098:21.559852:900.000000
+PORT
+Label:Get Point 3D
+FIN_BOX
+BOX
+std:MagicBox:Box17
+ISEXEC:FALSE
+35.870409:66.718961:900.000000
+81.445409:56.718961:900.000000
+FIN_BOX
+CONNECTIONS:25
 CONNECTION
 Box00:Widget:Box01:Widget5
 NumberOfControlPoints:0
@@ -137,12 +159,6 @@ CONNECTION
 Box08:Out:Box07:ThresholdMinMax
 NumberOfControlPoints:0
 CONNECTION
-Box09:Widget:Box01:Widget2
-NumberOfControlPoints:0
-CONNECTION
-Box09:Out:Box07:PositionXYZ
-NumberOfControlPoints:0
-CONNECTION
 Box07:Out:Box10:In
 NumberOfControlPoints:0
 CONNECTION
@@ -172,4 +188,25 @@ NumberOfControlPoints:0
 CONNECTION
 Box07:Out:OutImage:OutImage
 NumberOfControlPoints:0
+CONNECTION
+Box16:Widget:Box15:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box13:Widget:Box15:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box15:Widget:Box01:Widget3
+NumberOfControlPoints:0
+CONNECTION
+point:point:Box17:In
+NumberOfControlPoints:0
+CONNECTION
+Box17:Out:Box13:In
+NumberOfControlPoints:0
+CONNECTION
+Box16:BoxChange:Box13:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+Box17:Out:Box07:PositionXYZ
+NumberOfControlPoints:0
 APP_END
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 " "