]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleMarchingCubes2.bbs
#3499 boxes ImageGaussianSmooth2 MarchingCubes2
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleMarchingCubes2.bbs
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 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13 include creaVtk
14 include wx
15 include std
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new vtk:LoadHola Box00
22
23 new creaMaracasVisu:ViewerNV Box01
24
25 new creaMaracasVisu:PolyDataToActor_Widget Box02
26
27 new creaVtk:MarchingCubes2 Box03
28
29 new wx:LayoutSplit Box04
30   set Box04.Orientation "H"
31
32 new wx:LayoutLine Box05
33
34 new wx:CheckBox Box06
35
36 new std:MultipleInputs Box07
37
38 new wx:Slider Box10
39   set Box10.In "1200"
40   set Box10.Label "true"
41   set Box10.Max "2000"
42   set Box10.ReactiveOnTrack "true"
43   set Box10.Title "Isovalue"
44
45
46 connect Box00.Out Box01.In
47
48 connect Box00.Out Box03.In
49
50 connect Box01.Widget Box04.Widget2
51
52 connect Box03.Out Box02.polydata
53
54 connect Box01.Renderer1 Box02.render
55
56 connect Box02.widget Box05.Widget3
57
58 connect Box05.Widget Box04.Widget1
59
60 connect Box06.Widget Box05.Widget1
61
62 connect Box06.Out Box03.Active
63
64 connect Box06.BoxChange Box07.In1
65
66 connect Box01.BoxChange Box07.In2
67
68 connect Box07.BoxChange Box02.boxexecute
69
70 connect Box10.Out Box03.Value
71
72 connect Box10.Widget Box05.Widget2
73
74
75
76 # Complex input ports
77 exec Box04