]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/crop.bbs
Feature #1769 Add licence terms for all files.
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / crop.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/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/crop.bbs
29 # ----------------------------------
30
31 # BBTK GEditor Script
32 # ----------------------
33
34 include std
35 include itkvtk
36 include creaMaracasVisu
37 include wx
38 include creaImageIO
39 include vtk
40 include toolsbbtk
41
42 author "Author ??"
43 description "Description ??"
44 category "<VOID>"
45
46 new ViewerNV Box03
47   set Box03.nTypeView "6 1 2 -1"
48
49 new ContourVOI Box05
50
51 new LayoutSplit Box06
52   set Box06.Proportion 15
53
54 new LayoutLine Box07
55
56 new CommandButton Box08
57   set Box08.Label "Run Crop"
58
59 new ViewerNV Box09
60         set Box09.nTypeView "6 1 2 -1"
61
62 new ImageChangeInformation Box10
63
64 new LayoutSplit Box11
65   set Box11.Proportion 15
66
67 new ImagesChooserDialogBox Box13
68
69 new OutputText Box14
70   set Box14.Title "Index"
71
72 new OutputText Box15
73   set Box15.Title "Size"
74
75 new LayoutLine Box16
76
77 new ExtractVtkImageFilter Box25
78
79 new SaveMHD_infoCrop-Button Box26
80
81
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
107
108 exec Box06