]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
#2847 CreaMiniTools Bug New Normal - Not show the VTK OutputWindow (with warnings...
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / ImagesCompare.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include wx
13 include wxvtk
14 include vtk
15 include PackRecalage
16 include creaImageIO
17 include itk
18 include toolsbbtk
19 include creaVtk
20
21 author "Author ??"
22 description "Description ??"
23 category "<VOID>"
24
25 new creaMaracasVisu:ViewerNV Box03
26
27 new creaMaracasVisu:ViewerNV Box06
28   set Box06.nTypeView 0
29
30 new wx:LayoutSplit Box07
31   set Box07.Orientation h
32   set Box07.Proportion 25
33   set Box07.WinHeight 800
34   set Box07.WinTitle "3D Compare"
35   set Box07.WinWidth 1200
36
37 new wxvtk:IsoSurfaceWidget Box08
38   set Box08.Title "3D Surface"
39
40 new wx:LayoutSplit Box10
41   set Box10.Proportion 75
42   set Box10.WinTitle "3D surface"
43
44 new creaMaracasVisu:ColorLayerImageView Box11
45   set Box11.lstTransparenceBoundaries "0"
46
47 new vtk:vtkImageDataPointerRelay Box13
48
49 new wx:LayoutTab Box15
50
51 new PackRecalage:CompareImagesWidget Box16
52   set Box16.WinTitle "2D Compare"
53
54 new vtk:vtkImageDataPointerRelay Box17
55
56 new wx:LayoutLine Box18
57   set Box18.WinTitle "Color Layer"
58
59 new creaImageIO:ImagesChooserDialogBox Box20
60   set Box20.Title "Image 1"
61
62 new creaImageIO:ImagesChooserDialogBox Box21
63   set Box21.Title "Image 2"
64
65 new itk:anyItkImagePointerRelay Box23
66
67 new itk:anyItkImagePointerRelay Box24
68
69 new toolsbbtk:ImageVtkPropertiesWidget Box26
70
71 new toolsbbtk:ImageVtkPropertiesWidget Box27
72
73 new creaMaracasVisu:ViewerNV Box28
74
75 new creaMaracasVisu:ViewerNV Box29
76
77 new wx:LayoutSplit Box30
78   set Box30.Proportion 87
79
80 new wx:LayoutSplit Box31
81   set Box31.Proportion 87
82
83 new wx:LayoutSplit Box32
84   set Box32.Orientation H
85   set Box32.Proportion "50"
86   set Box32.WinTitle "Image information"
87
88 new creaVtk:OutputWindow Box33
89
90 new wx:LayoutTab Box34
91   set Box34.WinHide 800
92   set Box34.WinWidth 1100
93
94
95 connect Box03.Renderer1 Box08.vtkRenderer
96
97 connect Box08.BoxChange Box03.BoxExecute
98
99 connect Box13.Out Box08.In
100
101 connect Box13.Out Box06.In
102
103 connect Box13.Out Box11.In
104
105 connect Box03.Widget Box07.Widget2
106
107 connect Box10.Widget Box15.Widget1
108
109 connect Box15.Widget Box07.Widget1
110
111 connect Box17.Out Box03.In
112
113 connect Box17.Out Box16.In2
114
115 connect Box13.Out Box16.In1
116
117 connect Box08.Widget Box10.Widget2
118
119 connect Box06.Widget Box10.Widget1
120
121 connect Box11.Widget Box18.Widget1
122
123 connect Box18.Widget Box15.Widget3
124
125 connect Box20.Out Box23.In
126
127 connect Box23.Out Box13.In
128
129 connect Box21.Out Box24.In
130
131 connect Box24.Out Box17.In
132
133 connect Box13.Out Box27.in
134
135 connect Box17.Out Box26.in
136
137 connect Box13.Out Box29.In
138
139 connect Box17.Out Box28.In
140
141 connect Box29.Widget Box30.Widget1
142
143 connect Box27.widget Box30.Widget2
144
145 connect Box28.Widget Box31.Widget1
146
147 connect Box26.widget Box31.Widget2
148
149 connect Box31.Widget Box32.Widget2
150
151 connect Box30.Widget Box32.Widget1
152
153 connect Box07.Widget Box34.Widget1
154
155 connect Box16.Widget Box34.Widget2
156
157 connect Box32.Widget Box34.Widget3
158
159 connect Box03.wxVtkBaseView2 Box11.WxVtkBaseView
160
161 connect Box03.wxVtkBaseView3 Box11.WxVtkBaseView1
162
163 connect Box03.wxVtkBaseView4 Box11.WxVtkBaseView2
164
165
166
167 # Complex input ports
168 exec Box33
169 exec Box34