1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
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
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.
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
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 # ------------------------------------------------------------------------ */
27 author "???@creatis.insa-lyon.fr"
38 set gimm0.BoxProcessMode "Reactive"
40 set gimm1.BoxProcessMode "Reactive"
43 connect gimm0.BoxChange view0.BoxExecute
44 set view0.nTypeView "6"
45 connect gimm0.Out view0.In
48 connect gimm0.BoxChange view1.BoxExecute
49 set view1.nTypeView "-1"
50 connect gimm0.Out view1.In
53 connect gimm1.BoxChange view2.BoxExecute
54 set view2.nTypeView "-1"
55 connect gimm1.Out view2.In
57 new VolumeRendering volrend
58 connect view0.BoxChange volrend.BoxExecute
59 connect view0.Renderer1 volrend.Renderer
62 connect view0.BoxChange irmview.BoxExecute
63 connect view0.Renderer1 irmview.Renderer
65 new CommandButton commandbutton0
66 connect commandbutton0.BoxChange gimm0.BoxExecute
67 set commandbutton0.Label "Load image1"
69 new CommandButton commandbutton1
70 connect commandbutton1.BoxChange gimm1.BoxExecute
71 set commandbutton1.Label "Load image2"
73 new LayoutLine layoutline0
74 set layoutline0.Orientation V
75 connect commandbutton0.Widget layoutline0.Widget1
76 connect commandbutton1.Widget layoutline0.Widget2
77 connect irmview.Widget layoutline0.Widget3
78 connect volrend.Widget layoutline0.Widget4
80 new LayoutSplit layoutline1
81 set layoutline1.Orientation H
82 connect view0.Widget layoutline1.Widget1
83 new LayoutLine layoutLine1o1
84 connect view1.Widget layoutLine1o1.Widget1
85 connect view2.Widget layoutLine1o1.Widget2
86 connect layoutLine1o1.Widget layoutline1.Widget2
88 new LayoutSplit mainLayoutSplit
89 set mainLayoutSplit.Orientation H
90 connect layoutline0.Widget mainLayoutSplit.Widget1
91 connect layoutline1.Widget mainLayoutSplit.Widget2
93 new ViewerNV viewimage0
94 set viewimage0.nTypeView "6 0 1 2"
95 connect gimm0.Out viewimage0.In
96 connect gimm0.BoxChange viewimage0.BoxExecute
97 new ViewerNV viewimage1
98 set viewimage1.nTypeView "6 0 1 2"
99 connect gimm1.Out viewimage1.In
100 connect gimm1.BoxChange viewimage1.BoxExecute
102 new LayoutTab mainLayoutTab
103 connect mainLayoutSplit.Widget mainLayoutTab.Widget1
104 connect viewimage0.Widget mainLayoutTab.Widget2
105 connect viewimage1.Widget mainLayoutTab.Widget3