]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/ImageConvolution_Widget.bbs
#3467 ImageConvolution_Widget Complex Box
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / ImageConvolution_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/ImageConvolution_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include PackRecalage
9 include wx
10 include std
11
12 define ImageConvolution_Widget PackRecalage
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new PackRecalage:ImageConvolution Box00
20
21 new wx:LayoutLine Box01
22   set Box01.Orientation "H"
23
24 new wx:Slider Box02
25   set Box02.In "-12000"
26   set Box02.Max "12000"
27   set Box02.Min "-12000"
28   set Box02.ReactiveOnTrack "false"
29
30 new wx:CheckBox Box03
31   set Box03.Title "Convolution"
32
33 new std:Div Box04
34   set Box04.In2 "100"
35
36 new std:MagicBox Box07
37
38 new std:GetVectorStringElement Box10
39
40 new std:GetVectorStringElement Box11
41
42 new std:MagicBox Box12
43
44 new std:MagicBox Box13
45
46
47 connect Box03.Out Box00.On
48 connect Box03.Widget Box01.Widget4
49 connect Box02.Out Box04.In1
50 connect Box04.Out Box00.Factor
51 connect Box07.Out Box00.In
52 connect Box02.BoxChange Box00.BoxExecute
53 connect Box03.Out Box10.I
54 connect Box03.Out Box11.I
55 connect Box12.Out Box10.In
56 connect Box13.Out Box11.In
57 connect Box02.Widget Box01.Widget2
58
59 # Complex input ports
60 input _image Box07.In " "
61 input _lstColorLevel Box12.In " "
62 input _lstWindowLevel Box13.In " "
63
64 # Complex output ports
65 output _widget Box01.Widget " "
66 output _colorlevel Box10.Out " "
67 output _windowlevel Box11.Out " "
68 output _outImage Box00.Out " "
69 output _execCheckBox Box03.BoxChange " "
70
71
72 endefine