1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script
3 # - /Users/davila/Creatis/C23/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleMarchingCubes2.bbs
4 # ----------------------------------
7 # ----------------------
12 include creaMaracasVisu
18 description "Description ??"
21 new vtk:LoadHola Box00
23 new creaMaracasVisu:ViewerNV Box01
25 new creaMaracasVisu:PolyDataToActor_Widget Box02
27 new creaVtk:MarchingCubes2 Box03
29 new wx:LayoutSplit Box04
30 set Box04.Orientation "H"
32 new wx:LayoutLine Box05
36 new std:MultipleInputs Box07
40 set Box10.Label "true"
42 set Box10.ReactiveOnTrack "true"
43 set Box10.Title "Isovalue"
46 connect Box00.Out Box01.In
48 connect Box00.Out Box03.In
50 connect Box01.Widget Box04.Widget2
52 connect Box03.Out Box02.polydata
54 connect Box01.Renderer1 Box02.render
56 connect Box02.widget Box05.Widget3
58 connect Box05.Widget Box04.Widget1
60 connect Box06.Widget Box05.Widget1
62 connect Box06.Out Box03.Active
64 connect Box06.BoxChange Box07.In1
66 connect Box01.BoxChange Box07.In2
68 connect Box07.BoxChange Box02.boxexecute
70 connect Box10.Out Box03.Value
72 connect Box10.Widget Box05.Widget2