]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/flipImageY.bbs
2071 Feature Viewer with volume rendering and viewer...
[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 "Flip around X axis"
27   set Box02.In1 "Flip around Y axis"
28   set Box02.In2 "Flip around Z axis"
29   set Box02.In3 "0riginal image"
30
31 new ViewerNV Box03
32   set Box03.nTypeView "6 1 2 0"
33
34 new ViewerNV Box04
35   set Box04.nTypeView "6 1 2 0"
36
37 new LayoutSplit Box06
38   set Box06.Proportion "20"
39
40 new StringSelect Box07
41   set Box07.In0 "X"
42   set Box07.In1 "Y"
43   set Box07.In2 "Z"
44   set Box07.In3 "O"
45
46 new LayoutLine Box08
47   set Box08.Orientation "H"
48
49 new SaveMHD-Button Box10
50
51 new ImagesChooserDialogBox Box12
52
53 new LayoutCenter Box13
54
55 new LayoutTab Box14
56
57 new LayoutLine Box15
58   set Box15.WinTitle "Original"
59
60 new LayoutLine Box16
61   set Box16.WinTitle "Flip"
62
63 new ImageVtkPropertiesWidget Box17
64
65
66 connect Box01.Out Box04.In
67
68 connect Box07.Out Box01.Axis
69
70 connect Box02.Out Box07.In
71
72 connect Box02.BoxChange Box07.BoxExecute
73
74 connect Box02.BoxChange Box01.BoxExecute
75
76 connect Box08.Widget Box06.Widget1
77
78 connect Box01.Out Box10.In
79
80 connect Box12.Out Box03.In
81
82 connect Box12.Out Box01.In
83
84 connect Box10.Widget Box08.Widget2
85
86 connect Box02.Widget Box13.Widget2
87
88 connect Box13.Widget Box08.Widget1
89
90 connect Box03.Widget Box15.Widget1
91
92 connect Box15.Widget Box14.Widget1
93
94 connect Box16.Widget Box14.Widget2
95
96 connect Box01.BoxChange Box04.BoxExecute
97
98 connect Box17.widget Box14.Widget3
99
100 connect Box12.Out Box17.in
101
102 connect Box04.Widget Box06.Widget2
103
104 connect Box06.Widget Box16.Widget1
105
106
107
108 # Complex input ports
109 exec Box14