]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/imageItkPropertiesWidget.bbs
#3472 merge vtk8itk5wx3-mingw64
[bbtk.git] / packages / toolsbbtk / bbs / boxes / imageItkPropertiesWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C10/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/imageItkPropertiesWidget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include itk
9 include wx
10 include std
11
12 define ImageItkPropertiesWidget toolsbbtk
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new itk:ImageProperties Box00
20
21 new wx:OutputText Box02
22   set Box02.Title "Dimension"
23
24 new wx:OutputText Box14
25   set Box14.Title "Index"
26
27 new wx:LayoutLine Box15
28   set Box15.WinTitle "Image Properties"
29
30 new wx:OutputText Box17
31   set Box17.Title "Size"
32
33 new wx:OutputText Box20
34   set Box20.Title "Spacing"
35
36 new wx:OutputText Box22
37   set Box22.Title "TypeName"
38
39 new wx:OutputText Box26
40   set Box26.Title "Min Max"
41
42 new wx:OutputText Box09
43   set Box09.Title "Origin"
44
45 new std:ConcatStrings Box10
46   set Box10.In2 "  "
47   set Box10.In4 "  "
48
49 new std:GetVectorDoubleElement Box11
50   set Box11.I "0"
51
52 new std:GetVectorDoubleElement Box12
53   set Box12.I "1"
54
55 new std:GetVectorDoubleElement Box13
56   set Box13.I "2"
57
58 new wx:OutputText Box16
59   set Box16.Title "Name"
60
61
62 connect Box00.Dimension Box02.In
63 connect Box00.Index Box14.In
64 connect Box00.Size Box17.In
65 connect Box00.TypeName Box22.In
66 connect Box00.MinMax Box26.In
67 connect Box00.Spacing Box20.In
68 connect Box02.Widget Box15.Widget1
69 connect Box14.Widget Box15.Widget2
70 connect Box17.Widget Box15.Widget3
71 connect Box20.Widget Box15.Widget4
72 connect Box22.Widget Box15.Widget5
73 connect Box09.Widget Box15.Widget6
74 connect Box00.Origin Box13.In
75 connect Box00.Origin Box12.In
76 connect Box00.Origin Box11.In
77 connect Box11.Out Box10.In1
78 connect Box12.Out Box10.In3
79 connect Box13.Out Box10.In5
80 connect Box10.Out Box09.In
81 connect Box26.Widget Box15.Widget7
82 connect Box16.Widget Box15.Widget9
83
84 # Complex input ports
85 input in Box00.In " "
86 input FileName Box16.In " "
87
88 # Complex output ports
89 output widget Box15.Widget " "
90 output Dimensions Box00.Dimension " "
91 output Index Box00.Index " "
92 output MinMax Box00.MinMax " "
93 output Size Box00.Size " "
94 output Spacing Box00.Spacing " "
95 output TypeName Box00.TypeName " "
96 output origin Box00.Origin " "
97
98
99 endefine