]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/UnitLayerPaint.bbs
78fedf933f8947d5395d61300942967ba051d310
[creaMaracasVisu.git] / bbtk / bbs / boxes / UnitLayerPaint.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/All/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 ViewerNV Box09
22   set Box09.nTypeView "0"
23
24 new ManualPaint Box11
25   set Box11.WinTitle "Paint"
26
27 new LayoutLine Box13
28   set Box13.Orientation "H"
29
30 new LayoutTab Box15
31
32 new LayoutTab Box16
33
34 new LayoutLine Box17
35   set Box17.WinTitle "Color"
36
37 new LayoutLine Box18
38   set Box18.WinTitle "Paint"
39
40 new LayoutSplit Box19
41   set Box19.Proportion "30"
42
43 new SaveMHD-Button Box20
44
45 new 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
50 new vtkImageDataPointerRelay Box23
51
52 new LayoutTab Box24
53   set Box24.WinWidth "0"
54
55 new ImageVtkPropertiesWidget Box25
56
57 new MagicBox Box26
58
59 new MagicBox Box27
60
61 new MagicBox Box28
62
63
64 connect Box15.Widget Box13.Widget1
65 connect Box16.Widget Box13.Widget2
66 connect Box17.Widget Box15.Widget1
67 connect Box11.Widget Box18.Widget1
68 connect Box18.Widget Box16.Widget1
69 connect Box21.Widget Box17.Widget1
70 connect Box23.Out Box21.In
71 connect Box23.Out Box20.In
72 connect Box23.Out Box11.In
73 connect Box23.Out Box09.In
74 connect Box13.Widget Box24.Widget1
75 connect Box23.Out Box25.in
76 connect Box26.Out Box21.WxVtkBaseView
77 connect Box26.Out Box11.WxVtkBaseView1
78 connect Box27.Out Box21.WxVtkBaseView1
79 connect Box27.Out Box11.WxVtkBaseView2
80 connect Box28.Out Box21.WxVtkBaseView2
81 connect Box28.Out Box11.WxVtkBaseView3
82 connect Box20.Widget Box24.Widget3
83 connect Box25.widget Box24.Widget2
84 connect Box24.Widget Box19.Widget2
85 connect Box09.Widget Box19.Widget1
86
87 # Complex input ports
88 input InputImage Box23.In " "
89 input wxVtkBaseView_01 Box26.In " "
90 input wxVtkBaseView_02 Box27.In " "
91 input wxVtkBaseView_03 Box28.In " "
92 input TitleModule Box19.WinTitle " "
93
94 # Complex output ports
95 output OutWidget Box19.Widget " "
96
97
98 endefine