# --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image # pour la SantÈ) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # Previous Authors : Laurent Guigues, Jean-Pierre Roux # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil # # This software is governed by the CeCILL-B license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL-B # license as circulated by CEA, CNRS and INRIA at the following URL # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # or in the file LICENSE.txt. # # As a counterpart to the access to the source code and rights to copy, # modify and redistribute granted by the license, users are provided only # with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ description "? ? ? " author "???@creatis.insa-lyon.fr" category "demo" load vtk load wxvtk load creaMaracasVisu load std load wx load creaImageIO new Gimmick gimm0 set gimm0.BoxProcessMode "Reactive" new Gimmick gimm1 set gimm1.BoxProcessMode "Reactive" new ViewerNV view0 connect gimm0.BoxChange view0.BoxExecute set view0.nTypeView "6" connect gimm0.Out view0.In new ViewerNV view1 connect gimm0.BoxChange view1.BoxExecute set view1.nTypeView "-1" connect gimm0.Out view1.In new ViewerNV view2 connect gimm1.BoxChange view2.BoxExecute set view2.nTypeView "-1" connect gimm1.Out view2.In new VolumeRendering volrend connect view0.BoxChange volrend.BoxExecute connect view0.Renderer1 volrend.Renderer new IRMViewer irmview connect view0.BoxChange irmview.BoxExecute connect view0.Renderer1 irmview.Renderer new CommandButton commandbutton0 connect commandbutton0.BoxChange gimm0.BoxExecute set commandbutton0.Label "Load image1" new CommandButton commandbutton1 connect commandbutton1.BoxChange gimm1.BoxExecute set commandbutton1.Label "Load image2" new LayoutLine layoutline0 set layoutline0.Orientation V connect commandbutton0.Widget layoutline0.Widget1 connect commandbutton1.Widget layoutline0.Widget2 connect irmview.Widget layoutline0.Widget3 connect volrend.Widget layoutline0.Widget4 new LayoutSplit layoutline1 set layoutline1.Orientation H connect view0.Widget layoutline1.Widget1 new LayoutLine layoutLine1o1 connect view1.Widget layoutLine1o1.Widget1 connect view2.Widget layoutLine1o1.Widget2 connect layoutLine1o1.Widget layoutline1.Widget2 new LayoutSplit mainLayoutSplit set mainLayoutSplit.Orientation H connect layoutline0.Widget mainLayoutSplit.Widget1 connect layoutline1.Widget mainLayoutSplit.Widget2 new ViewerNV viewimage0 set viewimage0.nTypeView "6 0 1 2" connect gimm0.Out viewimage0.In connect gimm0.BoxChange viewimage0.BoxExecute new ViewerNV viewimage1 set viewimage1.nTypeView "6 0 1 2" connect gimm1.Out viewimage1.In connect gimm1.BoxChange viewimage1.BoxExecute new LayoutTab mainLayoutTab connect mainLayoutSplit.Widget mainLayoutTab.Widget1 connect viewimage0.Widget mainLayoutTab.Widget2 connect viewimage1.Widget mainLayoutTab.Widget3 exec mainLayoutTab