]> Creatis software - bbtk.git/blobdiff - packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
#2439 BBTK Feature New Normal - New version of BaseViewerInfo with ColorLayer
[bbtk.git] / packages / toolsbbtk / bbs / boxes / BaseViewerInfo.bbs
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