]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
Feature #1769 Add licence terms for all files.
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / ImagesCompare.bbs
1 # ---------------------------------------------------------------------
2 #
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
4 #                        pour la Sant�)
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
8 #
9 #  This software is governed by the CeCILL-B license under French law and
10 #  abiding by the rules of distribution of free software. You can  use,
11 #  modify and/ or redistribute the software under the terms of the CeCILL-B
12 #  license as circulated by CEA, CNRS and INRIA at the following URL
13 #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 #  or in the file LICENSE.txt.
15 #
16 #  As a counterpart to the access to the source code and  rights to copy,
17 #  modify and redistribute granted by the license, users are provided only
18 #  with a limited warranty  and the software's author,  the holder of the
19 #  economic rights,  and the successive licensors  have only  limited
20 #  liability.
21 #
22 #  The fact that you are presently reading this means that you have had
23 #  knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
25
26 # ----------------------------------
27 # - BBTKGEditor v 1.2 BBS BlackBox Script
28 # - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/ImagesCompare.bbs
29 # ----------------------------------
30
31 # BBTK GEditor Script
32 # ----------------------
33
34 include std
35 include itkvtk
36 include creaMaracasVisu
37 include wx
38 include wxvtk
39 include vtk
40 include PackRecalage
41 include creaImageIO
42 include itk
43 include toolsbbtk
44
45 author "Author ??"
46 description "Description ??"
47 category "<VOID>"
48
49 new ViewerNV Box03
50
51 new ViewerNV Box06
52   set Box06.nTypeView 0
53
54 new LayoutSplit Box07
55   set Box07.Orientation h
56   set Box07.Proportion 25
57   set Box07.WinHeight 800
58   set Box07.WinTitle "3D Compare"
59   set Box07.WinWidth 1200
60
61 new IsoSurfaceWidget Box08
62   set Box08.Title "3D Surface"
63
64 new LayoutSplit Box10
65   set Box10.Proportion 75
66   set Box10.WinTitle "3D surface"
67
68 new ColorLayerImageView Box11
69
70 new vtkImageDataPointerRelay Box13
71
72 new LayoutTab Box15
73
74 new CompareImagesWidget Box16
75   set Box16.WinTitle "2D Compare"
76
77 new vtkImageDataPointerRelay Box17
78
79 new LayoutLine Box18
80   set Box18.WinTitle "Color Layer"
81
82 new LayoutTab Box19
83   set Box19.WinHide 800
84   set Box19.WinWidth 1100
85
86 new ImagesChooserDialogBox Box20
87   set Box20.Title "Image 1"
88
89 new ImagesChooserDialogBox Box21
90   set Box21.Title "Image 2"
91
92 new anyItkImagePointerRelay Box23
93
94 new anyItkImagePointerRelay Box24
95
96 new ImageVtkPropertiesWidget Box26
97
98 new ImageVtkPropertiesWidget Box27
99
100 new ViewerNV Box28
101
102 new ViewerNV Box29
103
104 new LayoutSplit Box30
105   set Box30.Proportion 87
106
107 new LayoutSplit Box31
108   set Box31.Proportion 87
109
110 new LayoutSplit Box32
111   set Box32.Orientation H
112   set Box32.Proportion "50"
113   set Box32.WinTitle "Image information"
114
115
116 connect Box03.Renderer1 Box08.vtkRenderer
117 connect Box08.BoxChange Box03.BoxExecute
118 connect Box13.Out Box08.In
119 connect Box13.Out Box06.In
120 connect Box13.Out Box11.In
121 connect Box03.wxVtkBaseView4 Box11.WxVtkBaseView
122 connect Box03.Widget Box07.Widget2
123 connect Box10.Widget Box15.Widget1
124 connect Box15.Widget Box07.Widget1
125 connect Box17.Out Box03.In
126 connect Box17.Out Box16.In2
127 connect Box13.Out Box16.In1
128 connect Box08.Widget Box10.Widget2
129 connect Box06.Widget Box10.Widget1
130 connect Box11.Widget Box18.Widget1
131 connect Box18.Widget Box15.Widget3
132 connect Box16.Widget Box19.Widget2
133 connect Box07.Widget Box19.Widget1
134 connect Box20.Out Box23.In
135 connect Box23.Out Box13.In
136 connect Box21.Out Box24.In
137 connect Box24.Out Box17.In
138 connect Box13.Out Box27.in
139 connect Box17.Out Box26.in
140 connect Box13.Out Box29.In
141 connect Box17.Out Box28.In
142 connect Box29.Widget Box30.Widget1
143 connect Box27.widget Box30.Widget2
144 connect Box28.Widget Box31.Widget1
145 connect Box26.widget Box31.Widget2
146 connect Box31.Widget Box32.Widget2
147 connect Box30.Widget Box32.Widget1
148 connect Box32.Widget Box19.Widget3
149
150 exec Box19