]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/UnitLayerPaint.bbs
4552892c669eacc179170dc84e30ab34c987521b
[creaMaracasVisu.git] / bbtk / bbs / boxes / UnitLayerPaint.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/UnitLayerPaint.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaMaracasVisu
9 include wx
10 include toolsbbtk
11 include vtk
12 include std
13
14 define UnitLayerPaint creaMaracasVisu
15
16 author "Author ??"
17 description "Description ??"
18
19 category "<VOID>"
20
21 new creaMaracasVisu:ViewerNV Box09
22   set Box09.nTypeView "0"
23
24 new creaMaracasVisu:ManualPaint Box11
25   set Box11.WinTitle "Paint"
26
27 new wx:LayoutLine Box13
28   set Box13.Orientation "H"
29
30 new wx:LayoutTab Box15
31
32 new wx:LayoutTab Box16
33
34 new wx:LayoutLine Box17
35   set Box17.WinTitle "Color"
36
37 new wx:LayoutLine Box18
38   set Box18.WinTitle "Paint"
39
40 new wx:LayoutSplit Box19
41   set Box19.Proportion "30"
42
43 new toolsbbtk:SaveMHD-Button Box20
44
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"
50
51 new vtk:vtkImageDataPointerRelay Box23
52
53 new wx:LayoutTab Box24
54   set Box24.WinWidth "0"
55
56 new toolsbbtk:ImageVtkPropertiesWidget Box25
57
58 new std:MagicBox Box26
59
60 new std:MagicBox Box27
61
62 new std:MagicBox Box28
63
64
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
87
88 # Complex input ports
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 " "
94
95 # Complex output ports
96 output OutWidget Box19.Widget " "
97
98 message    
99
100 endefine