# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/ctorres/work/creatools/creainstall/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
+# - BaseViewerInfo.bbs
# ----------------------------------
include std
category "<VOID>"
-new SaveMHD-Button Box00
+new toolsbbtk:SaveMHD-Button Box00
-new ViewerNV Box02
+new creaMaracasVisu:ViewerNV Box02
-new LayoutTab Box03
+new wx:LayoutTab Box03
-new LayoutSplit Box04
- set Box04.Orientation "h"
+new vtk:vtkImageDataPointerRelay Box09
-new vtkImageDataPointerRelay Box09
+new toolsbbtk:ImageVtkPropertiesWidget Box10
-new ImageVtkPropertiesWidget Box10
+new wx:LayoutLine Box07
+ set Box07.Orientation "H"
+ set Box07.WinTitle "Info"
+
+new vtk:RescaleSlopeIntercept Box08
+ set Box08.A "0"
+ set Box08.B "90"
+ set Box08.OutputFormat "VTK_UNSIGNED_SHORT"
+ set Box08.Type "2"
+
+new creaMaracasVisu:ImageChangeInformation Box11
+ set Box11.NewSpacing "1 1 1"
+
+new creaMaracasVisu:ColorLayerImageView Box12
+ set Box12.Active "false"
+ set Box12.lstBaseColor "0 0 1 0 1 1 1 1 0 1 0 0"
+
+new wx:LayoutLine Box13
+ set Box13.WinTitle "Color Layer"
+
+new wx:LayoutLine Box14
+ set Box14.Orientation "H"
+ set Box14.WinTitle "View"
-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 Box09.Out Box08.In
+connect Box08.Out Box11.In
+connect Box11.Out Box12.In
+connect Box12.Widget Box13.Widget1
+connect Box07.Widget Box03.Widget3
+connect Box02.Widget Box14.Widget1
+connect Box13.Widget Box03.Widget1
+connect Box14.Widget Box03.Widget2
# Complex input ports
input Image Box09.In " "
-input TitleAtribute Box04.WinTitle " "
+input TitleAtribute Box03.WinTitle " "
+input wxvtkbaseview_03 Box12.WxVtkBaseView2 " "
+input wxvtkbaseview_02 Box12.WxVtkBaseView1 " "
+input wxvtkbaseview_01 Box12.WxVtkBaseView " "
# Complex output ports
-output widget Box04.Widget " "
+output widget Box03.Widget " "
endefine