]> Creatis software - creaMiniTools.git/commitdiff
#2970 CreaMiniTools Feature New Normal - new options in viewerNVExample
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 6 Jun 2016 19:31:16 +0000 (21:31 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 6 Jun 2016 19:31:16 +0000 (21:31 +0200)
bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbg
bbtk_package_creaMiniTools/bbs/appli/viewerNVExample.bbs

index c245fa6aa9c94fea93ca7e51a9f30e99367dec39..9aee262c77cb2e4730f22659258fbfd9f50cc084 100755 (executable)
@@ -9,7 +9,7 @@ DESCRIPTION:Description ??
 AUTHOR:Author ??
 COMPLEXBOX:FALSE
 COMPLEXINPUTS:0
-BOXES:54
+BOXES:57
 BOX
 creaImageIO:ImagesChooserDialogBox:Box00
 ISEXEC:FALSE
@@ -33,8 +33,8 @@ FIN_BOX
 BOX
 wx:LayoutTab:Box05
 ISEXEC:FALSE
-3.649438:8.858752:-900.000000
-61.209438:-1.141248:-900.000000
+17.115805:9.090075:-900.000000
+74.675805:-0.909925:-900.000000
 PORT
 WinHide:"800"
 PORT
@@ -55,14 +55,6 @@ PORT
 WinTitle:"MPR Viewer"
 FIN_BOX
 BOX
-wx:LayoutSplit:Box09
-ISEXEC:TRUE
-13.187777:-359.551253:-900.000000
-58.762777:-369.551253:-900.000000
-PORT
-Orientation:"H"
-FIN_BOX
-BOX
 creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget:Box16
 ISEXEC:FALSE
 -121.324569:53.476991:-900.000000
@@ -165,8 +157,8 @@ FIN_BOX
 BOX
 creaVtk:Actor:Box30
 ISEXEC:FALSE
-57.161713:-210.247054:-900.000000
-89.936713:-220.247054:-900.000000
+63.910074:-209.073426:-900.000000
+96.685074:-219.073426:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -187,8 +179,8 @@ FIN_BOX
 BOX
 vtk:UpdateRender:Box33
 ISEXEC:FALSE
-36.899452:-225.745569:-900.000000
-82.474452:-235.745569:-900.000000
+46.581883:-226.038976:-900.000000
+92.156883:-236.038976:-900.000000
 PORT
 Active:"true"
 FIN_BOX
@@ -401,8 +393,8 @@ FIN_BOX
 BOX
 creaMaracasVisu:ImageChangeInformation:Box69
 ISEXEC:FALSE
-90.084937:-127.935020:-900.000000
-161.259937:-137.935020:-900.000000
+98.960498:-130.420177:-900.000000
+170.135498:-140.420177:-900.000000
 PORT
 NewSpacing:"1 1 1"
 FIN_BOX
@@ -414,7 +406,35 @@ ISEXEC:FALSE
 PORT
 NewSpacing:"1 1 1"
 FIN_BOX
-CONNECTIONS:96
+BOX
+creaVtk:OutputWindow:Box71
+ISEXEC:TRUE
+-23.201081:-358.496182:-900.000000
+22.373919:-368.496182:-900.000000
+FIN_BOX
+BOX
+wx:LayoutSplit:Box72
+ISEXEC:TRUE
+37.602702:-358.266232:-900.000000
+83.177702:-368.266232:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+creaMaracasVisu:Measure3DLength_Widget:Box74
+ISEXEC:FALSE
+192.572382:-243.793363:-900.000000
+263.747382:-253.793363:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box75
+ISEXEC:FALSE
+123.372189:-287.954793:-900.000000
+180.932189:-297.954793:-900.000000
+PORT
+WinTitle:"Tools"
+FIN_BOX
+CONNECTIONS:101
 CONNECTION
 Box04:widget:Box05:Widget2
 NumberOfControlPoints:0
@@ -428,9 +448,6 @@ CONNECTION
 Box07:Widget:Box05:Widget1
 NumberOfControlPoints:0
 CONNECTION
-Box05:Widget:Box09:Widget2
-NumberOfControlPoints:0
-CONNECTION
 Box01:Renderer1:Box16:renderer3D
 NumberOfControlPoints:0
 CONNECTION
@@ -443,9 +460,6 @@ CONNECTION
 Box01:wxVtkBaseView4:Box16:wxvtkbaseview3
 NumberOfControlPoints:0
 CONNECTION
-Box11:Widget:Box09:Widget1
-NumberOfControlPoints:0
-CONNECTION
 Box14:Widget:Box15:Widget1
 NumberOfControlPoints:0
 CONNECTION
@@ -703,4 +717,25 @@ NumberOfControlPoints:0
 CONNECTION
 Box00:Out:Box24:In
 NumberOfControlPoints:0
+CONNECTION
+Box11:Widget:Box72:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box05:Widget:Box72:Widget2
+NumberOfControlPoints:0
+CONNECTION
+Box01:Point:Box74:point
+NumberOfControlPoints:0
+CONNECTION
+Box24:Out:Box74:vtkimagedata
+NumberOfControlPoints:0
+CONNECTION
+Box01:Renderer1:Box74:vtkrender
+NumberOfControlPoints:0
+CONNECTION
+Box74:widget:Box75:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box75:Widget:Box11:Widget3
+NumberOfControlPoints:0
 APP_END
index 4a15aa17a10e0195a7769d6647a8c422157eca9e..3f885153c89caa7b77833d3f576065d800995e6e 100755 (executable)
@@ -38,9 +38,6 @@ new toolsbbtk:SaveMHD-Button Box06
 new wx:LayoutLine Box07
   set Box07.WinTitle "MPR Viewer"
 
-new wx:LayoutSplit Box09
-  set Box09.Orientation "H"
-
 new creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget Box16
 
 new wx:LayoutTab Box11
@@ -170,6 +167,16 @@ new creaMaracasVisu:ImageChangeInformation Box69
 new creaMaracasVisu:ImageChangeInformation Box70
   set Box70.NewSpacing "1 1 1"
 
+new creaVtk:OutputWindow Box71
+
+new wx:LayoutSplit Box72
+  set Box72.Orientation "H"
+
+new creaMaracasVisu:Measure3DLength_Widget Box74
+
+new wx:LayoutLine Box75
+  set Box75.WinTitle "Tools"
+
 
 connect Box04.widget Box05.Widget2
 
@@ -179,8 +186,6 @@ connect Box01.Widget Box07.Widget1
 
 connect Box07.Widget Box05.Widget1
 
-connect Box05.Widget Box09.Widget2
-
 connect Box01.Renderer1 Box16.renderer3D
 
 connect Box01.wxVtkBaseView2 Box16.wxvtkbaseview1
@@ -189,8 +194,6 @@ connect Box01.wxVtkBaseView3 Box16.wxvtkbaseview2
 
 connect Box01.wxVtkBaseView4 Box16.wxvtkbaseview3
 
-connect Box11.Widget Box09.Widget1
-
 connect Box14.Widget Box15.Widget1
 
 connect Box15.Widget Box11.Widget2
@@ -363,7 +366,22 @@ connect Box70.Out Box41.In
 
 connect Box00.Out Box24.In
 
+connect Box11.Widget Box72.Widget1
+
+connect Box05.Widget Box72.Widget2
+
+connect Box01.Point Box74.point
+
+connect Box24.Out Box74.vtkimagedata
+
+connect Box01.Renderer1 Box74.vtkrender
+
+connect Box74.widget Box75.Widget1
+
+connect Box75.Widget Box11.Widget3
+
 
 
 # Complex input ports
-exec Box09
+exec Box71
+exec Box72