# --------------------------------------------------------------------- # # 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. # ------------------------------------------------------------------------ */ # ---------------------------------- # - BBTKGEditor v 1.2 BBS BlackBox Script # - /Users/davila/Creatis/All2/creatools_install/share/bbtk/bbs/creaMiniTools/appli/synchro2ImageExample.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include wxvtk include wx include itk include std include creaImageIO include creaMaracasVisu author "Author ??" description "Description ??" category "" new Viewer2D viewer1 new Viewer2D viewer2 new Slider slider set slider.ReactiveOnTrack "1" set slider.Title "Slice number" new LayoutSplit layout set layout.Proportion "10" new LayoutLine layout_line set layout_line.Orientation "H" new ImageProperties imProperties new GetVectorIntElement imSize set imSize.I "2" new Add add set add.In1 "-1" new ImagesChooserDialogBox Box12 new ImagesChooserDialogBox Box13 new LayoutTab Box10 new ViewerNV Box11 set Box11.nTypeView "5 0" new ColorLayerImageView Box15 new LayoutSplit Box16 set Box16.Orientation H connect slider.Out viewer1.Slice connect slider.BoxChange viewer1.BoxExecute connect slider.Out viewer2.Slice connect slider.BoxChange viewer2.BoxExecute connect slider.Widget layout.Widget1 connect layout_line.Widget layout.Widget2 connect viewer1.Widget layout_line.Widget1 connect viewer2.Widget layout_line.Widget2 connect imProperties.Size imSize.In connect imSize.Out add.In2 connect add.Out slider.Max connect Box12.Out imProperties.In connect Box12.Out viewer1.In connect Box13.Out viewer2.In connect layout.Widget Box10.Widget1 connect Box16.Widget Box10.Widget2 connect Box15.Widget Box16.Widget1 connect Box11.Widget Box16.Widget2 connect Box13.Out Box11.In connect Box11.wxVtkBaseView2 Box15.WxVtkBaseView connect Box12.Out Box15.In exec Box10