]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/GaussianSmoothing.bbs
#3002 CreaMiniTools Feature New Normal - GaussianSmoothing minitool
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / GaussianSmoothing.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/GaussianSmoothing.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 toolsbbtk
15 include creaImageIO
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 vtk:ImageGaussianSmooth Box02
26
27 new vtk:vtkImageDataPointerRelay Box03
28
29 new creaMaracasVisu:ViewerNV Box05
30   set Box05.WinTitle "dddd"
31
32 new wx:LayoutSplit Box06
33   set Box06.Orientation "H"
34   set Box06.Proportion "20"
35
36 new wx:LayoutLine Box07
37
38 new wx:InputText Box08
39   set Box08.In "0.0"
40   set Box08.Title "StdDevX"
41
42 new wx:InputText Box09
43   set Box09.In "0.0"
44   set Box09.Title "StdDevY"
45
46 new wx:InputText Box10
47   set Box10.In "0.0"
48   set Box10.Title "StdDevZ"
49
50 new wx:LayoutLine Box11
51   set Box11.Orientation "V"
52
53 new wx:CommandButton Box12
54   set Box12.Label "Refresh"
55
56 new toolsbbtk:SaveMHD-Button Box14
57
58 new wx:LayoutTab Box15
59
60 new wx:LayoutLine Box16
61   set Box16.WinTitle "Image"
62
63 new wx:LayoutLine Box17
64   set Box17.WinTitle "Image"
65
66 new toolsbbtk:ImageVtkPropertiesWidget Box19
67
68 new wx:LayoutTab Box20
69   set Box20.WinTitle "Smooth"
70
71 new wx:LayoutTab Box21
72   set Box21.WinTitle "Original"
73
74 new wx:LayoutLine Box22
75   set Box22.WinTitle "Info"
76
77 new toolsbbtk:ImageVtkPropertiesWidget Box23
78
79 new wx:LayoutLine Box24
80   set Box24.WinTitle "Info"
81
82 new creaImageIO:ImagesChooserDialogBox Box25
83
84
85 connect Box03.Out Box01.In
86
87 connect Box03.Out Box02.In
88
89 connect Box02.Out Box05.In
90
91 connect Box07.Widget Box06.Widget1
92
93 connect Box08.Widget Box11.Widget1
94
95 connect Box09.Widget Box11.Widget2
96
97 connect Box10.Widget Box11.Widget3
98
99 connect Box12.Widget Box07.Widget2
100
101 connect Box11.Widget Box07.Widget1
102
103 connect Box14.Widget Box07.Widget3
104
105 connect Box15.Widget Box06.Widget2
106
107 connect Box05.Widget Box17.Widget1
108
109 connect Box01.Widget Box16.Widget1
110
111 connect Box08.Out Box02.StdDevX
112
113 connect Box09.Out Box02.StdDevY
114
115 connect Box10.Out Box02.StdDevZ
116
117 connect Box12.BoxChange Box17.BoxExecute
118
119 connect Box02.Out Box14.In
120
121 connect Box02.Out Box19.in
122
123 connect Box12.BoxChange Box19.boxExecute
124
125 connect Box20.Widget Box15.Widget1
126
127 connect Box21.Widget Box15.Widget2
128
129 connect Box19.widget Box22.Widget1
130
131 connect Box23.widget Box24.Widget1
132
133 connect Box17.Widget Box20.Widget1
134
135 connect Box22.Widget Box20.Widget2
136
137 connect Box16.Widget Box21.Widget1
138
139 connect Box24.Widget Box21.Widget2
140
141 connect Box25.Out Box03.In
142
143 connect Box03.Out Box23.in
144
145 connect Box25.FileName Box23.FileName
146
147
148
149 # Complex input ports
150 exec Box06