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 # ------------------------------------------------------------------------ */
27 # ----------------------------------
28 # - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
29 # - /home/jpr/Creatis/All/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/bbSlidersForSize.bbs
30 # ----------------------------------
38 define SlidersForSize toolsbbtk
40 author "jean-pierre.roux@creatis.univ-lyon1.fr"
41 description "Display 6 sliders for sizes of 3D image"
43 category "complex box, widget"
45 new ImageProperties mc
47 new GetVectorIntElement gveX
50 new GetVectorIntElement gveY
53 new GetVectorIntElement gveZ
91 new MultipleInputs mi1
105 connect mc.Size gveX.In
106 connect mc.Size gveY.In
107 connect mc.Size gveZ.In
108 connect gveX.Out xMin.Max
109 connect mb.Out xMin.ReactiveOnTrack
110 connect mb.Out xMax.ReactiveOnTrack
111 connect gveY.Out yMin.Max
112 connect mb.Out yMin.ReactiveOnTrack
113 connect mb.Out yMax.ReactiveOnTrack
114 connect mb.Out zMin.ReactiveOnTrack
115 connect xMin.BoxChange mi1.In1
116 connect xMax.BoxChange mi1.In2
117 connect yMin.BoxChange mi1.In3
118 connect yMax.BoxChange mi1.In4
119 connect zMin.BoxChange mi1.In5
120 connect gveZ.Out zMin.Max
121 connect xMin.Widget Box13.Widget1
122 connect xMax.Widget Box13.Widget2
123 connect yMin.Widget Box13.Widget3
124 connect yMax.Widget Box13.Widget4
125 connect zMin.Widget Box13.Widget5
126 connect zMax.Widget Box13.Widget6
127 connect mb.Out zMax.ReactiveOnTrack
128 connect gveX.Out Box16.In1
129 connect Box15.Out yMax.Max
130 connect gveY.Out Box15.In1
131 connect gveZ.Out Box14.In1
132 connect Box15.Out yMax.In
133 connect Box16.Out xMax.In
134 connect Box16.Out xMax.Max
135 connect Box14.Out zMax.In
136 connect Box14.Out zMax.Max
137 connect zMax.BoxChange mi1.In6
140 # Complex input ports
142 input ReactiveOnTrack mb.In " "
144 # Complex output ports
145 output XMin xMin.Out " "
146 output XMax xMax.Out " "
147 output YMin yMin.Out " "
148 output YMax yMax.Out " "
149 output ZMin zMin.Out " "
150 output ZMax zMax.Out " "
151 output Wigdet Box13.Widget " "
152 output BoxChange mi1.BoxChange " "