1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C11/creatools_source/creaMaracasVisu/bbtk/bbs/appli/ExampleSliceImage-3DVisu.bbs
4 # ----------------------------------
7 # ----------------------
11 include creaMaracasVisu
18 description "Description ??"
21 new creaMaracasVisu:SliceImage-3DVisu Box00
22 set Box00.ColorBorder "0 0 0"
23 set Box00.Direction "0"
24 set Box00.SliceOpacity "50"
25 set Box00.WindowColorLevel "2500 1000"
27 new vtk:LoadHola Box01
29 new creaMaracasVisu:ViewerNV Box02
32 set Box03.Label "true"
33 set Box03.ReactiveOnTrack "true"
34 set Box03.Title "Slice Y"
36 new creaVtk:OutputWindow Box05
38 new wx:LayoutSplit Box06
39 set Box06.Orientation "H"
41 new wx:LayoutLine Box07
43 new vtk:UpdateRender Box08
44 set Box08.Active "true"
48 set Box10.Label "true"
50 set Box10.ReactiveOnTrack "true"
51 set Box10.Title "Opacity"
56 new std:MultipleInputs Box13
58 new creaMaracasVisu:SliceImage-3DVisu Box14
59 set Box14.ColorBorder "0 0 0"
60 set Box14.Direction "0"
61 set Box14.SliceOpacity "50"
62 set Box14.WindowColorLevel "2500 1000"
65 set Box15.Label "true"
66 set Box15.ReactiveOnTrack "true"
67 set Box15.Title "Slice Z"
70 set Box16.Label "true"
71 set Box16.ReactiveOnTrack "true"
72 set Box16.Title "Slice X"
74 new creaMaracasVisu:SliceImage-3DVisu Box17
75 set Box17.ColorBorder "0 0 0"
76 set Box17.Direction "0"
77 set Box17.SliceOpacity "50"
78 set Box17.WindowColorLevel "2500 1000"
80 new wx:RadioButton Box18
86 connect Box01.Out Box02.In
88 connect Box02.Renderer1 Box00.Render
90 connect Box02.Widget Box06.Widget2
92 connect Box07.Widget Box06.Widget1
94 connect Box03.Out Box00.SliceDeep
96 connect Box02.Renderer1 Box08.Renderer
98 connect Box10.Out Box11.In1
100 connect Box11.Out Box00.SliceOpacity
102 connect Box01.Out Box00.Image
104 connect Box15.Out Box14.SliceDeep
106 connect Box11.Out Box14.SliceOpacity
108 connect Box10.Widget Box07.Widget8
110 connect Box03.Widget Box07.Widget4
112 connect Box01.Out Box14.Image
114 connect Box14.BoxChangeImageSlice Box13.In1
116 connect Box00.BoxChangeImageSlice Box13.In3
118 connect Box17.BoxChangeImageSlice Box13.In5
120 connect Box01.Out Box17.Image
122 connect Box16.Out Box17.SliceDeep
124 connect Box11.Out Box17.SliceOpacity
126 connect Box02.Renderer1 Box14.Render
128 connect Box02.Renderer1 Box17.Render
130 connect Box13.BoxChange Box08.BoxExecute
132 connect Box15.Widget Box07.Widget6
134 connect Box18.Out Box14.Direction
136 connect Box18.Out Box00.Direction
138 connect Box18.Out Box17.Direction
140 connect Box16.Widget Box07.Widget2
142 connect Box18.Widget Box07.Widget1
146 # Complex input ports