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 # ------------------------------------------------------------------------ */
26 # ----------------------------------
27 # - BBTKGEditor v 1.2 BBS BlackBox Script
28 # - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/crop.bbs
29 # ----------------------------------
32 # ----------------------
36 include creaMaracasVisu
43 description "Description ??"
47 set Box03.nTypeView "6 1 2 -1"
52 set Box06.Proportion 15
56 new CommandButton Box08
57 set Box08.Label "Run Crop"
60 set Box09.nTypeView "6 1 2 -1"
62 new ImageChangeInformation Box10
65 set Box11.Proportion 15
67 new ImagesChooserDialogBox Box13
70 set Box14.Title "Index"
73 set Box15.Title "Size"
77 new ExtractVtkImageFilter Box25
79 new SaveMHD_infoCrop-Button Box26
82 connect Box03.Widget Box06.Widget2
83 connect Box05.Widget Box07.Widget1
84 connect Box08.Widget Box07.Widget2
85 connect Box07.Widget Box06.Widget1
86 connect Box08.BoxChange Box05.BoxExecute
87 connect Box10.Out Box09.In
88 connect Box09.Widget Box11.Widget2
89 connect Box08.BoxChange Box11.BoxExecute
90 connect Box13.Out Box05.In
91 connect Box13.Out Box03.In
92 connect Box03.wxVtkBaseView4 Box05.wxVtkBaseView
93 connect Box05.Index Box14.In
94 connect Box05.Size Box15.In
95 connect Box14.Widget Box16.Widget1
96 connect Box15.Widget Box16.Widget2
97 connect Box16.Widget Box11.Widget1
98 connect Box05.Index Box25.Index
99 connect Box05.Size Box25.Size
100 connect Box13.Out Box25.In
101 connect Box25.Out Box10.In
102 connect Box08.BoxChange Box25.BoxExecute
103 connect Box10.Out Box26.In
104 connect Box05.Size Box26.Size
105 connect Box05.Index Box26.Index
106 connect Box26.Widget Box16.Widget3