1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/UnitLayerPaint.bbs
4 # ----------------------------------
8 include creaMaracasVisu
14 define UnitLayerPaint creaMaracasVisu
17 description "Description ??"
21 new creaMaracasVisu:ViewerNV Box09
22 set Box09.nTypeView "0"
24 new creaMaracasVisu:ManualPaint Box11
25 set Box11.WinTitle "Paint"
27 new wx:LayoutLine Box13
28 set Box13.Orientation "H"
30 new wx:LayoutTab Box15
32 new wx:LayoutTab Box16
34 new wx:LayoutLine Box17
35 set Box17.WinTitle "Color"
37 new wx:LayoutLine Box18
38 set Box18.WinTitle "Paint"
40 new wx:LayoutSplit Box19
41 set Box19.Proportion "30"
43 new toolsbbtk:SaveMHD-Button Box20
45 new creaMaracasVisu:ColorLayerImageView Box21
46 set Box21.WinTitle "Color"
47 set Box21.lstBaseColor "1 0 0 1 1 0 0 0 1"
48 set Box21.lstGreyLevelBoundaries "500 1500 2500 5000"
49 set Box21.lstTransparenceBoundaries "0"
51 new vtk:vtkImageDataPointerRelay Box23
53 new wx:LayoutTab Box24
54 set Box24.WinWidth "0"
56 new toolsbbtk:ImageVtkPropertiesWidget Box25
58 new std:MagicBox Box26
60 new std:MagicBox Box27
62 new std:MagicBox Box28
65 connect Box15.Widget Box13.Widget1
66 connect Box16.Widget Box13.Widget2
67 connect Box17.Widget Box15.Widget1
68 connect Box11.Widget Box18.Widget1
69 connect Box18.Widget Box16.Widget1
70 connect Box21.Widget Box17.Widget1
71 connect Box23.Out Box21.In
72 connect Box23.Out Box20.In
73 connect Box23.Out Box11.In
74 connect Box23.Out Box09.In
75 connect Box13.Widget Box24.Widget1
76 connect Box23.Out Box25.in
77 connect Box26.Out Box21.WxVtkBaseView
78 connect Box26.Out Box11.WxVtkBaseView1
79 connect Box27.Out Box21.WxVtkBaseView1
80 connect Box27.Out Box11.WxVtkBaseView2
81 connect Box28.Out Box21.WxVtkBaseView2
82 connect Box28.Out Box11.WxVtkBaseView3
83 connect Box20.Widget Box24.Widget3
84 connect Box25.widget Box24.Widget2
85 connect Box24.Widget Box19.Widget2
86 connect Box09.Widget Box19.Widget1
89 input InputImage Box23.In " "
90 input wxVtkBaseView_01 Box26.In " "
91 input wxVtkBaseView_02 Box27.In " "
92 input wxVtkBaseView_03 Box28.In " "
93 input TitleModule Box19.WinTitle " "
95 # Complex output ports
96 output OutWidget Box19.Widget " "