]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
40c93ffcb80a29420eac536e954e5fea5d166b90
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / ImagesCompare.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script
3 # - /Users/davila/Creatis/All5/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
20 author "Author ??"
21 description "Description ??"
22 category "<VOID>"
23
24 new ViewerNV Box03
25
26 new ViewerNV Box06
27   set Box06.nTypeView 0
28
29 new LayoutSplit Box07
30   set Box07.Orientation h
31   set Box07.Proportion 25
32   set Box07.WinHeight 800
33   set Box07.WinTitle "3D Compare"
34   set Box07.WinWidth 1200
35
36 new IsoSurfaceWidget Box08
37   set Box08.Title "3D Surface"
38
39 new LayoutSplit Box10
40   set Box10.Proportion 75
41   set Box10.WinTitle "3D surface"
42
43 new ColorLayerImageView Box11
44
45 new vtkImageDataPointerRelay Box13
46
47 new LayoutTab Box15
48
49 new CompareImagesWidget Box16
50   set Box16.WinTitle "2D Compare"
51
52 new vtkImageDataPointerRelay Box17
53
54 new LayoutLine Box18
55   set Box18.WinTitle "Color Layer"
56
57 new LayoutTab Box19
58   set Box19.WinHide 800
59   set Box19.WinWidth 1100
60
61 new ImagesChooserDialogBox Box20
62   set Box20.Title "Image 1"
63
64 new ImagesChooserDialogBox Box21
65   set Box21.Title "Image 2"
66
67 new anyItkImagePointerRelay Box23
68
69 new anyItkImagePointerRelay Box24
70
71 new ImageVtkPropertiesWidget Box26
72
73 new ImageVtkPropertiesWidget Box27
74
75 new ViewerNV Box28
76
77 new ViewerNV Box29
78
79 new LayoutSplit Box30
80   set Box30.Proportion 87
81
82 new LayoutSplit Box31
83   set Box31.Proportion 87
84
85 new LayoutSplit Box32
86   set Box32.Orientation H
87   set Box32.Proportion "50"
88   set Box32.WinTitle "Image information"
89
90
91 connect Box03.Renderer1 Box08.vtkRenderer
92 connect Box08.BoxChange Box03.BoxExecute
93 connect Box13.Out Box08.In
94 connect Box13.Out Box06.In
95 connect Box13.Out Box11.In
96 connect Box03.wxVtkBaseView4 Box11.WxVtkBaseView
97 connect Box03.Widget Box07.Widget2
98 connect Box10.Widget Box15.Widget1
99 connect Box15.Widget Box07.Widget1
100 connect Box17.Out Box03.In
101 connect Box17.Out Box16.In2
102 connect Box13.Out Box16.In1
103 connect Box08.Widget Box10.Widget2
104 connect Box06.Widget Box10.Widget1
105 connect Box11.Widget Box18.Widget1
106 connect Box18.Widget Box15.Widget3
107 connect Box16.Widget Box19.Widget2
108 connect Box07.Widget Box19.Widget1
109 connect Box20.Out Box23.In
110 connect Box23.Out Box13.In
111 connect Box21.Out Box24.In
112 connect Box24.Out Box17.In
113 connect Box13.Out Box27.in
114 connect Box17.Out Box26.in
115 connect Box13.Out Box29.In
116 connect Box17.Out Box28.In
117 connect Box29.Widget Box30.Widget1
118 connect Box27.widget Box30.Widget2
119 connect Box28.Widget Box31.Widget1
120 connect Box26.widget Box31.Widget2
121 connect Box31.Widget Box32.Widget2
122 connect Box30.Widget Box32.Widget1
123 connect Box32.Widget Box19.Widget3
124
125 exec Box19