1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleBooleanOperationPolyDataFilter.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
17 description "Description ??"
20 new vtk:LoadHola Box00
22 new creaMaracasVisu:ViewerNV Box01
24 new creaVtk:BooleanOperationPolyDataFilter Box02
25 set Box02.Operation "2"
27 new vtk:SphereSource Box03
28 set Box03.CenterX "50"
29 set Box03.CenterY "50"
30 set Box03.CenterZ "50"
33 new vtk:SphereSource Box04
34 set Box04.CenterX "60"
35 set Box04.CenterY "60"
36 set Box04.CenterZ "60"
39 new wx:LayoutSplit Box05
40 set Box05.Orientation "H"
42 new wx:CommandButton Box06
45 new vtk:PolyDataToActor Box07
48 connect Box00.Out Box01.In
50 connect Box01.Widget Box05.Widget2
52 connect Box06.Widget Box05.Widget1
54 connect Box02.Out Box07.In
56 connect Box01.Renderer1 Box07.Renderer
58 connect Box06.BoxChange Box07.BoxExecute
60 connect Box04.Out Box02.In1
62 connect Box03.Out Box02.In2