]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/bbs/appli/demoPresentacion.bbs
2498 BBTK FeatureNewNormal wt-version PackageWt
[creaWT.git] / wt / bbtk_wt_PKG / bbs / appli / demoPresentacion.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/gonzalez/Documents/CREATOOLS/wt_library/wt/bbtk_wt_PKG/bbs/appli/demoPresentacion.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include itk
13 include std
14 include wt
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new LoadHola Box00
21
22 new BinaryThresholdImageFilter Box02
23   set Box02.InsideValue "255"
24   set Box02.LowerThreshold "1250"
25   set Box02.OutsideValue "0"
26   set Box02.UpperThreshold "1500"
27
28 new MarchingCubes Box05
29   set Box05.ComputeNormalsOn "true"
30   set Box05.ComputeScalarsOn "false"
31   set Box05.Value "128"
32
33 new ImageContinuousErode3D Box06
34   set Box06.KernelSizeX "3"
35   set Box06.KernelSizeY "3"
36   set Box06.KernelSizeZ "3"
37
38 new SegmentationConnectivity Box09
39   set Box09.PositionXYZ "73 101 93"
40   set Box09.ThresholdMinMax "200 300"
41
42 new ConcatStrings Box08
43   set Box08.In1 "/home/gonzalez/Documents/pruebaResources/"
44
45 new ConcatStrings Box10
46   set Box10.In1 "holaPP"
47   set Box10.In3 "_"
48   set Box10.In5 ".vtk"
49
50 new ViewerNVWeb Box12
51   set Box12.ImagePath "hola.nii"
52
53 new AddObjectToViewerWeb Box13
54
55 new PolyDataWriter Box14
56
57 new Slider Box15
58   set Box15.In "1250"
59   set Box15.Max "1449"
60   set Box15.Min "500"
61   set Box15.Title "LowerThreshold"
62
63 new Slider Box16
64   set Box16.In "1500"
65   set Box16.Max "2500"
66   set Box16.Min "1450"
67   set Box16.Title "UpperThresHold"
68
69 new LayoutLine Box17
70
71 new CommandButton Box20
72   set Box20.Label "Telecharger"
73
74 new CommandButton Box21
75   set Box21.Label "Suavegarder "
76
77
78 connect Box00.Out Box02.In
79
80 connect Box02.Out Box06.In
81
82 connect Box06.Out Box09.In
83
84 connect Box09.Out Box05.In
85
86 connect Box05.Out Box14.In
87
88 connect Box10.Out Box08.In2
89
90 connect Box08.Out Box14.Filename
91
92 connect Box15.Out Box10.In2
93
94 connect Box15.Out Box02.LowerThreshold
95
96 connect Box16.Out Box02.UpperThreshold
97
98 connect Box16.Out Box10.In4
99
100 connect Box10.Out Box13.Mesh
101
102 connect Box12.viewer1 Box13.Viewer3D
103
104 connect Box12.Widget Box17.Widget1
105
106 connect Box13.Widget Box17.Widget9
107
108 connect Box15.Widget Box17.Widget2
109
110 connect Box16.Widget Box17.Widget3
111
112 connect Box20.BoxChange Box13.BoxExecute
113
114 connect Box20.Widget Box17.Widget4
115
116 connect Box21.BoxChange Box14.BoxExecute
117
118 connect Box21.Widget Box17.Widget5
119
120
121
122 # Complex input ports
123 exec Box17