1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
4 # ----------------------------------
9 include creaMaracasVisu
13 define BaseViewerInfo toolsbbtk
16 description "Description ??"
20 new SaveMHD-Button Box00
26 new vtkImageDataPointerRelay Box09
28 new ImageVtkPropertiesWidget Box10
31 set Box07.Orientation "H"
32 set Box07.WinTitle "Info"
34 new RescaleSlopeIntercept Box08
37 set Box08.OutputFormat "VTK_UNSIGNED_SHORT"
40 new ImageChangeInformation Box11
41 set Box11.NewSpacing "1 1 1"
43 new ColorLayerImageView Box12
44 set Box12.Active "false"
45 set Box12.lstBaseColor "0 0 1 0 1 1 1 1 0 1 0 0"
48 set Box13.WinTitle "Color Layer"
51 set Box14.Orientation "H"
52 set Box14.WinTitle "View"
55 connect Box09.Out Box00.In
56 connect Box09.Out Box10.in
57 connect Box09.Out Box02.In
58 connect Box00.Widget Box07.Widget2
59 connect Box10.widget Box07.Widget1
60 connect Box09.Out Box08.In
61 connect Box08.Out Box11.In
62 connect Box11.Out Box12.In
63 connect Box12.Widget Box13.Widget1
64 connect Box07.Widget Box03.Widget3
65 connect Box02.Widget Box14.Widget1
66 connect Box13.Widget Box03.Widget1
67 connect Box14.Widget Box03.Widget2
70 input Image Box09.In " "
71 input TitleAtribute Box03.WinTitle " "
72 input wxvtkbaseview_03 Box12.WxVtkBaseView2 " "
73 input wxvtkbaseview_02 Box12.WxVtkBaseView1 " "
74 input wxvtkbaseview_01 Box12.WxVtkBaseView " "
76 # Complex output ports
77 output widget Box03.Widget " "