]> Creatis software - bbtk.git/commitdiff
#2439 BBTK Feature New Normal - New version of BaseViewerInfo with ColorLayer
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Tue, 12 Aug 2014 14:29:01 +0000 (16:29 +0200)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Tue, 12 Aug 2014 14:29:01 +0000 (16:29 +0200)
packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbg
packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs

index f2deb271d7677148d0eeb8ae759d0b92aebfda27..d7ffcd7d19d1426108584435756363845267abc2 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBG BlackBox Diagram file
-# - /home/ctorres/work/creatools/creainstall/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbg
+# - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbg
 # ----------------------------------
 
 APP_START
@@ -13,9 +13,9 @@ PACKAGENAME:toolsbbtk
 COMPLEXOUTPUTS:1
 COMPLEX_PORT
 widget
--4.241406:-138.577542:-900.000000
+-30.819051:-136.510392:-900.000000
 FIN_COMPLEX_PORT
-COMPLEXINPUTS:2
+COMPLEXINPUTS:5
 COMPLEX_PORT
 Image
 -85.916642:51.532520:-900.000000
@@ -24,32 +24,48 @@ COMPLEX_PORT
 TitleAtribute
 38.925088:53.676472:-900.000000
 FIN_COMPLEX_PORT
-BOXES:6
+COMPLEX_PORT
+wxvtkbaseview_01
+77.704467:82.456466:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview_02
+95.863555:82.024107:-900.000000
+FIN_COMPLEX_PORT
+COMPLEX_PORT
+wxvtkbaseview_03
+113.157923:82.024107:-900.000000
+FIN_COMPLEX_PORT
+BOXES:11
 BOX
 toolsbbtk:SaveMHD-Button:Box00
 ISEXEC:FALSE
--147.441101:-6.241300:-900.000000
--101.866101:-16.241300:-900.000000
+-110.966828:-4.496330:-900.000000
+-65.391828:-14.496330:-900.000000
 FIN_BOX
 BOX
 creaMaracasVisu:ViewerNV:Box02
 ISEXEC:FALSE
--42.571926:-8.714791:-900.000000
-18.068074:-18.714791:-900.000000
+-61.126666:-4.994216:-900.000000
+-15.551666:-14.994216:-900.000000
 FIN_BOX
 BOX
 wx:LayoutTab:Box03
 ISEXEC:FALSE
--123.552316:-70.325491:-900.000000
--65.992316:-80.325491:-900.000000
+-14.879280:-104.285815:-900.000000
+30.695720:-114.285815:-900.000000
 FIN_BOX
 BOX
 wx:LayoutSplit:Box04
 ISEXEC:FALSE
--8.153133:-99.950253:-900.000000
-37.421867:-109.950253:-900.000000
+-44.771221:-81.345902:-900.000000
+0.803779:-91.345902:-900.000000
+PORT
+Orientation:"V"
+PORT
+Proportion:"30"
 PORT
-Orientation:"h"
+WinTitle:"Info. image"
 FIN_BOX
 BOX
 vtk:vtkImageDataPointerRelay:Box09
@@ -60,38 +76,111 @@ FIN_BOX
 BOX
 toolsbbtk:ImageVtkPropertiesWidget:Box10
 ISEXEC:FALSE
--102.944756:-25.781758:-900.000000
--31.769756:-35.781758:-900.000000
+-186.562751:-2.876554:-900.000000
+-115.387751:-12.876554:-900.000000
+FIN_BOX
+BOX
+wx:LayoutLine:Box07
+ISEXEC:FALSE
+-112.069068:-52.859982:-900.000000
+-66.494068:-62.859982:-900.000000
+PORT
+Orientation:"H"
+FIN_BOX
+BOX
+vtk:RescaleSlopeIntercept:Box08
+ISEXEC:FALSE
+43.060657:-5.917956:-900.000000
+114.235657:-15.917956:-900.000000
+PORT
+A:"0"
+PORT
+B:"1000"
+PORT
+OutputFormat:"VTK_UNSIGNED_SHORT"
+PORT
+Type:"2"
+FIN_BOX
+BOX
+creaMaracasVisu:ImageChangeInformation:Box11
+ISEXEC:FALSE
+52.887003:-25.570647:-900.000000
+124.062003:-35.570647:-900.000000
+PORT
+NewSpacing:"1 1 1"
 FIN_BOX
-CONNECTIONS:10
+BOX
+creaMaracasVisu:ColorLayerImageView:Box12
+ISEXEC:FALSE
+48.468147:-45.369167:-900.000000
+119.643147:-55.369167:-900.000000
+PORT
+Active:"false"
+FIN_BOX
+BOX
+wx:LayoutLine:Box13
+ISEXEC:FALSE
+53.203629:-68.313438:-900.000000
+110.763629:-78.313438:-900.000000
+PORT
+WinTitle:"Color Layer"
+FIN_BOX
+CONNECTIONS:19
 CONNECTION
-Box00:Widget:Box03:Widget1
+Box02:Widget:Box04:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box02:Widget:Box04:Widget2
+Image:Image:Box09:In
 NumberOfControlPoints:0
 CONNECTION
-Box03:Widget:Box04:Widget1
+Box09:Out:Box00:In
 NumberOfControlPoints:0
 CONNECTION
-Box04:Widget:widget:widget
+Box09:Out:Box10:in
 NumberOfControlPoints:0
 CONNECTION
-Image:Image:Box09:In
+Box09:Out:Box02:In
 NumberOfControlPoints:0
 CONNECTION
-Box09:Out:Box00:In
+Box00:Widget:Box07:Widget2
 NumberOfControlPoints:0
 CONNECTION
-Box09:Out:Box10:in
+Box10:widget:Box07:Widget1
 NumberOfControlPoints:0
 CONNECTION
-Box10:widget:Box03:Widget2
+Box07:Widget:Box04:Widget1
 NumberOfControlPoints:0
 CONNECTION
-Box09:Out:Box02:In
+Box04:Widget:Box03:Widget1
+NumberOfControlPoints:0
+CONNECTION
+Box03:Widget:widget:widget
+NumberOfControlPoints:0
+CONNECTION
+TitleAtribute:TitleAtribute:Box03:WinTitle
+NumberOfControlPoints:0
+CONNECTION
+Box09:Out:Box08:In
+NumberOfControlPoints:0
+CONNECTION
+Box08:Out:Box11:In
+NumberOfControlPoints:0
+CONNECTION
+Box11:Out:Box12:In
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview_01:wxvtkbaseview_01:Box12:WxVtkBaseView
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview_02:wxvtkbaseview_02:Box12:WxVtkBaseView1
+NumberOfControlPoints:0
+CONNECTION
+wxvtkbaseview_03:wxvtkbaseview_03:Box12:WxVtkBaseView2
+NumberOfControlPoints:0
+CONNECTION
+Box12:Widget:Box13:Widget1
 NumberOfControlPoints:0
 CONNECTION
-TitleAtribute:TitleAtribute:Box04:WinTitle
+Box13:Widget:Box03:Widget2
 NumberOfControlPoints:0
 APP_END
index d1ef90820bd7fe0f57ebf2079ee9e2fd9e5a9236..c25a3d97bcc2418df0520de75984950e03836a93 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/ctorres/work/creatools/creainstall/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
+# - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
 # ----------------------------------
 
 include std
@@ -24,27 +24,57 @@ new ViewerNV Box02
 new LayoutTab Box03
 
 new LayoutSplit Box04
-  set Box04.Orientation "h"
+  set Box04.Orientation "V"
+  set Box04.Proportion "30"
+  set Box04.WinTitle "Info. image"
 
 new vtkImageDataPointerRelay Box09
 
 new ImageVtkPropertiesWidget Box10
 
+new LayoutLine Box07
+  set Box07.Orientation "H"
+
+new RescaleSlopeIntercept Box08
+  set Box08.A "0"
+  set Box08.B "1000"
+  set Box08.OutputFormat "VTK_UNSIGNED_SHORT"
+  set Box08.Type "2"
+
+new ImageChangeInformation Box11
+  set Box11.NewSpacing "1 1 1"
+
+new ColorLayerImageView Box12
+  set Box12.Active "false"
+
+new LayoutLine Box13
+  set Box13.WinTitle "Color Layer"
+
 
-connect Box00.Widget Box03.Widget1
 connect Box02.Widget Box04.Widget2
-connect Box03.Widget Box04.Widget1
 connect Box09.Out Box00.In
 connect Box09.Out Box10.in
-connect Box10.widget Box03.Widget2
 connect Box09.Out Box02.In
+connect Box00.Widget Box07.Widget2
+connect Box10.widget Box07.Widget1
+connect Box07.Widget Box04.Widget1
+connect Box04.Widget Box03.Widget1
+connect Box09.Out Box08.In
+connect Box08.Out Box11.In
+connect Box11.Out Box12.In
+connect Box12.Widget Box13.Widget1
+connect Box13.Widget Box03.Widget2
 
 # Complex input ports
 input Image Box09.In " "
-input TitleAtribute Box04.WinTitle " "
+input TitleAtribute Box03.WinTitle " "
+input wxvtkbaseview_01 Box12.WxVtkBaseView " "
+input wxvtkbaseview_02 Box12.WxVtkBaseView1 " "
+input wxvtkbaseview_03 Box12.WxVtkBaseView2 " "
 
 # Complex output ports
-output widget Box04.Widget " "
+output widget Box03.Widget " "
 
+message    
 
 endefine