1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleFillHoles.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"
48 new creaVtk:FillHolesFilter Box15
49 set Box15.HoleSize "500"
51 new vtk:PolyDataToActor Box16
52 set Box16.Colour "1 0 0"
53 set Box16.Representation "1"
58 set Box17.ReactiveOnTrack "true"
63 new wx:LayoutLine Box19
68 set Box20.ReactiveOnTrack "true"
73 new std:MultipleInputs Box22
76 connect Box06.Out Box05.In
78 connect Box05.Widget Box09.Widget2
80 connect Box05.Renderer1 Box11.Renderer
82 connect Box05.Renderer1 Box12.Renderer
84 connect Box13.Out Box14.In
86 connect Box14.Out Box11.In
88 connect Box14.Out Box15.In
90 connect Box15.Out Box16.In
92 connect Box05.Renderer1 Box16.Renderer
94 connect Box11.BoxChange Box16.BoxExecute
96 connect Box16.BoxChange Box12.BoxExecute
98 connect Box17.Out Box18.In1
100 connect Box17.Widget Box19.Widget1
102 connect Box18.Out Box11.Opacity
104 connect Box20.Out Box21.In1
106 connect Box20.Widget Box19.Widget3
108 connect Box19.Widget Box09.Widget1
110 connect Box21.Out Box16.Opacity
112 connect Box20.BoxChange Box22.In2
114 connect Box17.BoxChange Box22.In1
116 connect Box22.BoxChange Box11.BoxExecute
120 # Complex input ports