]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs
2019 FeaturFlip X Y Z
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / flipImageY.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/All/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include wx
13 include creaMaracasVisu
14 include std
15 include toolsbbtk
16 include creaImageIO
17
18 author "Author ??"
19 description "Description ??"
20 category "<VOID>"
21
22 new Flip Box01
23
24 new RadioButton Box02
25   set Box02.In "1"
26   set Box02.In0 "X"
27   set Box02.In1 "Y"
28   set Box02.In2 "Z"
29
30 new ViewerNV Box03
31   set Box03.nTypeView "6 1 2 0"
32
33 new ViewerNV Box04
34   set Box04.nTypeView "6 1 2 0"
35
36 new LayoutSplit Box06
37   set Box06.Proportion "20"
38
39 new StringSelect Box07
40   set Box07.In0 "X"
41   set Box07.In1 "Y"
42   set Box07.In2 "Z"
43
44 new LayoutLine Box08
45   set Box08.Orientation "H"
46
47 new SaveMHD-Button Box10
48
49 new ImagesChooserDialogBox Box12
50
51 new LayoutCenter Box13
52
53 new LayoutTab Box14
54
55 new LayoutLine Box15
56   set Box15.WinTitle "Original"
57
58 new LayoutLine Box16
59   set Box16.WinTitle "Flip"
60
61 new ImageVtkPropertiesWidget Box17
62
63
64 connect Box01.Out Box04.In
65
66 connect Box07.Out Box01.Axis
67
68 connect Box02.Out Box07.In
69
70 connect Box02.BoxChange Box07.BoxExecute
71
72 connect Box02.BoxChange Box01.BoxExecute
73
74 connect Box08.Widget Box06.Widget1
75
76 connect Box01.Out Box10.In
77
78 connect Box12.Out Box03.In
79
80 connect Box12.Out Box01.In
81
82 connect Box10.Widget Box08.Widget2
83
84 connect Box02.Widget Box13.Widget2
85
86 connect Box13.Widget Box08.Widget1
87
88 connect Box03.Widget Box15.Widget1
89
90 connect Box15.Widget Box14.Widget1
91
92 connect Box16.Widget Box14.Widget2
93
94 connect Box01.BoxChange Box04.BoxExecute
95
96 connect Box17.widget Box14.Widget3
97
98 connect Box12.Out Box17.in
99
100 connect Box04.Widget Box06.Widget2
101
102 connect Box06.Widget Box16.Widget1
103
104
105
106 # Complex input ports
107 exec Box14