]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/imageVtkPropertiesWidget.bbs
#3515 Add ext to ImagaVtkProperties box
[bbtk.git] / packages / toolsbbtk / bbs / boxes / imageVtkPropertiesWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.6 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 new wx:OutputText Box23
64   set Box23.Title "Extent"
65
66
67 connect Box09.Components Box10.In
68 connect Box09.MinMax Box26.In
69 connect Box09.Size Box17.In
70 connect Box09.Spacing Box20.In
71 connect Box09.TypeName Box22.In
72 connect Box02.Widget Box11.Widget1
73 connect Box10.Widget Box11.Widget2
74 connect Box17.Widget Box11.Widget3
75 connect Box20.Widget Box11.Widget4
76 connect Box22.Widget Box11.Widget5
77 connect Box26.Widget Box11.Widget6
78 connect Box09.Dimension Box02.In
79 connect Box14.Out Box10.BoxExecute
80 connect Box14.Out Box02.BoxExecute
81 connect Box14.Out Box17.BoxExecute
82 connect Box14.Out Box20.BoxExecute
83 connect Box14.Out Box22.BoxExecute
84 connect Box14.Out Box13.BoxExecute
85 connect Box14.BoxChange Box09.BoxExecute
86 connect Box14.Out Box26.BoxExecute
87 connect Box13.Widget Box11.Widget9
88 connect Box15.Widget Box11.Widget7
89 connect Box14.Out Box15.BoxExecute
90 connect Box09.Origin Box18.In
91 connect Box09.Origin Box19.In
92 connect Box09.Origin Box21.In
93 connect Box21.Out Box16.In5
94 connect Box18.Out Box16.In1
95 connect Box19.Out Box16.In3
96 connect Box16.Out Box15.In
97 connect Box23.Widget Box11.Widget8
98 connect Box09.Extent Box23.In
99 connect Box14.Out Box23.BoxExecute
100
101 # Complex input ports
102 input in Box09.In " "
103 input FileName Box13.In " "
104 input boxExecute Box14.In " "
105
106 # Complex output ports
107 output widget Box11.Widget " "
108 output Dimensions Box09.Dimension " "
109 output MinMax Box09.MinMax " "
110 output Size Box09.Size " "
111 output Spacing Box09.Spacing " "
112 output TypeName Box09.TypeName " "
113 output origin Box09.Origin " "
114 output extent Box09.Extent " "
115
116
117 endefine