]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs
#3073 BBTK Bug New Normal - message documentation in boxes
[bbtk.git] / packages / toolsbbtk / bbs / boxes / imageVtkPropertiesWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - imageVtkPropertiesWidget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include vtk
10 include std
11
12 define ImageVtkPropertiesWidget toolsbbtk
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new wx:OutputText Box02
20   set Box02.Title "Dimensions"
21
22 new wx:OutputText Box17
23   set Box17.Title "Size"
24
25 new wx:OutputText Box20
26   set Box20.Title "Spacing"
27
28 new wx:OutputText Box22
29   set Box22.Title "TypeName"
30
31 new wx:OutputText Box26
32   set Box26.Title "Min Max"
33
34 new vtk:ImageVtkProperties Box09
35
36 new wx:OutputText Box10
37   set Box10.Title "Components"
38
39 new wx:LayoutLine Box11
40   set Box11.WinTitle "Image properties"
41
42 new wx:OutputText Box13
43   set Box13.Title "Name"
44
45 new std:MagicBox Box14
46
47
48 connect Box09.Components Box10.In
49 connect Box09.MinMax Box26.In
50 connect Box09.Size Box17.In
51 connect Box09.Spacing Box20.In
52 connect Box09.TypeName Box22.In
53 connect Box02.Widget Box11.Widget1
54 connect Box10.Widget Box11.Widget2
55 connect Box17.Widget Box11.Widget3
56 connect Box20.Widget Box11.Widget4
57 connect Box22.Widget Box11.Widget5
58 connect Box26.Widget Box11.Widget6
59 connect Box09.Dimension Box02.In
60 connect Box13.Widget Box11.Widget7
61 connect Box14.Out Box10.BoxExecute
62 connect Box14.Out Box02.BoxExecute
63 connect Box14.Out Box17.BoxExecute
64 connect Box14.Out Box20.BoxExecute
65 connect Box14.Out Box22.BoxExecute
66 connect Box14.Out Box13.BoxExecute
67 connect Box14.BoxChange Box09.BoxExecute
68 connect Box14.Out Box26.BoxExecute
69
70 # Complex input ports
71 input in Box09.In " "
72 input FileName Box13.In " "
73 input boxExecute Box14.In " "
74
75 # Complex output ports
76 output widget Box11.Widget " "
77 output Dimensions Box09.Dimension " "
78 output MinMax Box09.MinMax " "
79 output Size Box09.Size " "
80 output Spacing Box09.Spacing " "
81 output TypeName Box09.TypeName " "
82
83
84 endefine