]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs
ec0bb530b9728018772fb9d59208ede45c39de56
[bbtk.git] / packages / toolsbbtk / bbs / boxes / imageVtkPropertiesWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script (Complex Box)
3 # - /Users/davila/Creatis/C23/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/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 "(C++,Python) 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 new wx:OutputText Box15
48   set Box15.Title "Origin"
49
50 new std:ConcatStrings Box16
51   set Box16.In2 "  "
52   set Box16.In4 "  "
53
54 new std:GetVectorDoubleElement Box18
55   set Box18.I "0"
56
57 new std:GetVectorDoubleElement Box19
58   set Box19.I "1"
59
60 new std:GetVectorDoubleElement Box21
61   set Box21.I "2"
62
63
64 connect Box09.Components Box10.In
65 connect Box09.MinMax Box26.In
66 connect Box09.Size Box17.In
67 connect Box09.Spacing Box20.In
68 connect Box09.TypeName Box22.In
69 connect Box02.Widget Box11.Widget1
70 connect Box10.Widget Box11.Widget2
71 connect Box17.Widget Box11.Widget3
72 connect Box20.Widget Box11.Widget4
73 connect Box22.Widget Box11.Widget5
74 connect Box26.Widget Box11.Widget6
75 connect Box09.Dimension Box02.In
76 connect Box14.Out Box10.BoxExecute
77 connect Box14.Out Box02.BoxExecute
78 connect Box14.Out Box17.BoxExecute
79 connect Box14.Out Box20.BoxExecute
80 connect Box14.Out Box22.BoxExecute
81 connect Box14.Out Box13.BoxExecute
82 connect Box14.BoxChange Box09.BoxExecute
83 connect Box14.Out Box26.BoxExecute
84 connect Box13.Widget Box11.Widget9
85 connect Box15.Widget Box11.Widget7
86 connect Box14.Out Box15.BoxExecute
87 connect Box09.Origin Box18.In
88 connect Box09.Origin Box19.In
89 connect Box09.Origin Box21.In
90 connect Box21.Out Box16.In5
91 connect Box18.Out Box16.In1
92 connect Box19.Out Box16.In3
93 connect Box16.Out Box15.In
94
95 # Complex input ports
96 input in Box09.In " "
97 input FileName Box13.In " "
98 input boxExecute Box14.In " "
99
100 # Complex output ports
101 output widget Box11.Widget " "
102 output Dimensions Box09.Dimension " "
103 output MinMax Box09.MinMax " "
104 output Size Box09.Size " "
105 output Spacing Box09.Spacing " "
106 output TypeName Box09.TypeName " "
107 output origin Box09.Origin " "
108
109
110 endefine