1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleStripper.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
18 description "Description ??"
21 new creaVtk:Stripper Box03
23 new creaMaracasVisu:ViewerNV Box05
25 new vtk:LoadHola Box06
27 new creaVtk:OutputWindow Box08
29 new wx:LayoutSplit Box09
30 set Box09.Orientation "H"
32 new vtk:PolyDataToActor Box11
33 set Box11.Representation "2"
35 new vtk:UpdateRender Box12
36 set Box12.Active "true"
38 new vtk:SphereSource Box13
39 set Box13.PhiResolution "20"
41 set Box13.ThetaResolution "20"
43 new creaVtk:MeshCutByAxis Box14
44 set Box14.InsideVol "false"
45 set Box14.Point "0 0 0"
47 new vtk:PolyDataToActor Box16
48 set Box16.Colour "1 0 0"
49 set Box16.Representation "1"
53 set Box17.Label "true"
55 set Box17.ReactiveOnTrack "true"
56 set Box17.Title "Surface"
61 new wx:LayoutLine Box19
65 set Box20.Label "true"
67 set Box20.ReactiveOnTrack "true"
68 set Box20.Title "Surface + cutter"
73 new std:MultipleInputs Box22
75 new creaVtk:Cutter Box24
77 new creaVtk:Plane Box25
78 set Box25.Origin "0 0 10"
80 new vtk:PolyDataToActor Box26
81 set Box26.Colour "0 1 1"
82 set Box26.Representation "1"
86 set Box27.Label "true"
88 set Box27.ReactiveOnTrack "true"
89 set Box27.Title "Surface + cutter + stripper"
95 connect Box06.Out Box05.In
97 connect Box05.Widget Box09.Widget2
99 connect Box05.Renderer1 Box11.Renderer
101 connect Box05.Renderer1 Box12.Renderer
103 connect Box13.Out Box14.In
105 connect Box14.Out Box11.In
107 connect Box05.Renderer1 Box16.Renderer
109 connect Box11.BoxChange Box16.BoxExecute
111 connect Box17.Out Box18.In1
113 connect Box17.Widget Box19.Widget1
115 connect Box18.Out Box11.Opacity
117 connect Box20.Out Box21.In1
119 connect Box20.Widget Box19.Widget3
121 connect Box19.Widget Box09.Widget1
123 connect Box21.Out Box16.Opacity
125 connect Box20.BoxChange Box22.In2
127 connect Box17.BoxChange Box22.In1
129 connect Box22.BoxChange Box11.BoxExecute
131 connect Box14.Out Box24.In
133 connect Box25.Out Box24.ImplicitFunction
135 connect Box24.Out Box16.In
137 connect Box24.Out Box03.In
139 connect Box05.Renderer1 Box26.Renderer
141 connect Box03.Out Box26.In
143 connect Box16.BoxChange Box26.BoxExecute
145 connect Box26.BoxChange Box12.BoxExecute
147 connect Box27.Out Box28.In1
149 connect Box27.Widget Box19.Widget6
151 connect Box27.BoxChange Box22.In6
153 connect Box28.Out Box26.Opacity
157 # Complex input ports