]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs
Feature #1769 Add licence terms for all files.
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / imageToolsMenu.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.3 BBS BlackBox Script (Complex Box)
28 # - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/imageToolsMenu.bbs
29 # ----------------------------------
30
31 include std
32 include itkvtk
33 include wx
34 include std
35 include creaMiniToolsBase
36
37 define ImageToolsMenu creaMiniTools
38
39 author "Author ??"
40 description "Description ??"
41
42 category "<VOID>"
43
44 new CommandButton Box00
45   set Box00.Label "Image Writer"
46
47 new CommandButton Box02
48   set Box02.Label "Viewer NV"
49
50 new ExecSystemCommand Box04
51   set Box04.In "bbi creaMiniTools/appli/imageWriterExample.bbs &"
52
53 new ExecSystemCommand Box06
54   set Box06.In "bbi creaMiniTools/appli/viewerNVExample.bbs &"
55
56 new ExecSystemCommand Box09
57   set Box09.In "bbi creaMiniTools/appli/synchro2ImageExample.bbs &"
58
59 new CommandButton Box10
60   set Box10.Label "Synchronize 2 Images"
61
62 new CommandButton Box11
63   set Box11.Label "Manual paint"
64
65 new ExecSystemCommand Box12
66   set Box12.In "bbi creaMiniTools/appli/manualPaint.bbs &"
67
68 new CommandButton Box13
69   set Box13.Label "Extract Planes"
70
71 new ExecSystemCommand Box14
72   set Box14.In "bbi creaMiniTools/appli/SaveImagePlanes.bbs &"
73
74 new LayoutTab Box15
75   set Box15.WinTitle "Images Tools"
76
77 new LayoutLine Box18
78
79 new LayoutLine Box19
80
81 new RegistrationMenu Box20
82
83 new RescaleSlopeInterceptMenu Box21
84
85 new CommandButton Box22
86   set Box22.Label "Resampling Image"
87
88 new ExecSystemCommand Box23
89   set Box23.In "bbi creaMiniTools/appli/resampling.bbs &"
90
91 new CommandButton Box25
92   set Box25.Label "Crop image"
93
94 new ExecSystemCommand Box26
95   set Box26.In "bbi creaMiniTools/appli/crop.bbs &"
96
97 new LayoutCenter Box27
98   set Box27.WinTitle "Viewers"
99
100 new LayoutCenter Box28
101   set Box28.WinTitle "Modify image"
102
103 new CommandButton Box29
104   set Box29.Label "Flip Image Y"
105
106 new ExecSystemCommand Box30
107   set Box30.In "bbi creaMiniTools/appli/flipImageY.bbs &"
108
109
110 connect Box00.BoxChange Box04.BoxExecute
111 connect Box02.BoxChange Box06.BoxExecute
112 connect Box10.BoxChange Box09.BoxExecute
113 connect Box11.BoxChange Box12.BoxExecute
114 connect Box13.BoxChange Box14.BoxExecute
115 connect Box02.Widget Box18.Widget1
116 connect Box10.Widget Box18.Widget2
117 connect Box11.Widget Box19.Widget2
118 connect Box00.Widget Box19.Widget1
119 connect Box20.widget Box15.Widget3
120 connect Box21.widget Box15.Widget4
121 connect Box22.Widget Box19.Widget3
122 connect Box22.BoxChange Box23.BoxExecute
123 connect Box25.Widget Box19.Widget4
124 connect Box25.BoxChange Box26.BoxExecute
125 connect Box18.Widget Box27.Widget2
126 connect Box27.Widget Box15.Widget1
127 connect Box19.Widget Box28.Widget2
128 connect Box28.Widget Box15.Widget2
129 connect Box13.Widget Box19.Widget5
130 connect Box29.Widget Box19.Widget6
131 connect Box29.BoxChange Box30.BoxExecute
132
133 exec Box15
134
135 # Complex input ports
136
137 # Complex output ports
138 output widget Box15.Widget " "
139
140 endefine