]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleViewerNV_WindowLevelColor.bbs
Support #1768 CREATIS Licence insertion
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleViewerNV_WindowLevelColor.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.4 BBS BlackBox Script
28 # - /Users/davila/Creatis/All5/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleViewerNV_WindowLevelColor.bbs
29 # ----------------------------------
30
31 # BBTK GEditor Script
32 # ----------------------
33
34 include std
35 include itkvtk
36 include vtk
37 include creaMaracasVisu
38 include wx
39 include std
40
41 author "Author ??"
42 description "Description ??"
43 category "example"
44
45 new LoadHola Box00
46
47 new ViewerNV Box01
48
49 new Slider Box02
50   set Box02.In "1000"
51   set Box02.Max "5000"
52   set Box02.ReactiveOnTrack "true"
53
54 new Slider Box03
55   set Box03.In "1000"
56   set Box03.Max "5000"
57   set Box03.ReactiveOnTrack "true"
58
59 new LayoutLine Box04
60
61 new LayoutSplit Box05
62   set Box05.Orientation "H"
63
64 new MultipleInputs Box06
65
66
67 connect Box00.Out Box01.In
68
69 connect Box03.Out Box01.WindowLevel
70
71 connect Box02.Out Box01.ColorLevel
72
73 connect Box03.Widget Box04.Widget1
74
75 connect Box02.Widget Box04.Widget2
76
77 connect Box01.Widget Box05.Widget1
78
79 connect Box04.Widget Box05.Widget2
80
81 connect Box02.BoxChange Box06.In1
82
83 connect Box03.BoxChange Box06.In2
84
85 connect Box06.BoxChange Box01.BoxExecute
86
87
88
89 # Complex input ports
90 exec Box05