1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C11/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleMeshCutByAxis.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
18 description "Description ??"
21 new vtk:LoadHola Box00
23 new creaMaracasVisu:ViewerNV Box01
24 set Box01.nTypeView "6 1 2 0"
26 new wx:LayoutSplit Box02
27 set Box02.Orientation "H"
29 new wx:LayoutLine Box03
31 new vtk:PolyDataToActor Box05
32 set Box05.Colour "1 0 0"
38 set Box06.ReactiveOnTrack "true"
43 new creaVtk:MeshCutByAxis Box08
44 set Box08.InsideVol "true"
45 set Box08.Point "30 30 30"
47 new vtk:MarchingCubes Box14
50 new wx:RadioButton Box17
51 set Box17.In0 "Inside"
52 set Box17.In1 "Outside"
54 new vtk:ImageVtkProperties Box18
56 new std:MathOperationVector Box19
60 connect Box00.Out Box01.In
62 connect Box01.Widget Box02.Widget2
64 connect Box03.Widget Box02.Widget1
66 connect Box01.Renderer1 Box05.Renderer
68 connect Box06.Widget Box03.Widget1
70 connect Box06.Out Box07.In1
72 connect Box07.Out Box05.Opacity
74 connect Box08.Out Box05.In
76 connect Box01.BoxChange Box08.BoxExecute
78 connect Box01.BoxChange Box05.BoxExecute
80 connect Box00.Out Box14.In
82 connect Box14.Out Box08.In
84 connect Box17.Widget Box03.Widget2
86 connect Box17.Out Box08.InsideVol
88 connect Box00.Out Box18.In
90 connect Box18.Spacing Box19.In1
92 connect Box01.Point Box19.In0
94 connect Box19.Out Box08.Point