]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleMeshCutByAxis.bbs
Bug Modified pipeline
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleMeshCutByAxis.bbs
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 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13 include wx
14 include std
15 include creaVtk
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new vtk:LoadHola Box00
22
23 new creaMaracasVisu:ViewerNV Box01
24   set Box01.nTypeView "6 1 2 0"
25
26 new wx:LayoutSplit Box02
27   set Box02.Orientation "H"
28
29 new wx:LayoutLine Box03
30
31 new vtk:PolyDataToActor Box05
32   set Box05.Colour "1 0 0"
33
34 new wx:Slider Box06
35   set Box06.In "100"
36   set Box06.Max "100"
37   set Box06.Min "0"
38   set Box06.ReactiveOnTrack "true"
39
40 new std:Div Box07
41   set Box07.In2 "100"
42
43 new creaVtk:MeshCutByAxis Box08
44   set Box08.InsideVol "true"
45   set Box08.Point "30 30 30"
46
47 new vtk:MarchingCubes Box14
48   set Box14.Value "500"
49
50 new wx:RadioButton Box17
51   set Box17.In0 "Inside"
52   set Box17.In1 "Outside"
53
54 new vtk:ImageVtkProperties Box18
55
56 new std:MathOperationVector Box19
57   set Box19.Type "2"
58
59
60 connect Box00.Out Box01.In
61
62 connect Box01.Widget Box02.Widget2
63
64 connect Box03.Widget Box02.Widget1
65
66 connect Box01.Renderer1 Box05.Renderer
67
68 connect Box06.Widget Box03.Widget1
69
70 connect Box06.Out Box07.In1
71
72 connect Box07.Out Box05.Opacity
73
74 connect Box08.Out Box05.In
75
76 connect Box01.BoxChange Box08.BoxExecute
77
78 connect Box01.BoxChange Box05.BoxExecute
79
80 connect Box00.Out Box14.In
81
82 connect Box14.Out Box08.In
83
84 connect Box17.Widget Box03.Widget2
85
86 connect Box17.Out Box08.InsideVol
87
88 connect Box00.Out Box18.In
89
90 connect Box18.Spacing Box19.In1
91
92 connect Box01.Point Box19.In0
93
94 connect Box19.Out Box08.Point
95
96
97
98 # Complex input ports
99 exec Box02