]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/ImageTool.bbs
e63e3c0d72ae616e9a91b39ee0953347133039bd
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / ImageTool.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/ImageTool.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 creaMiniToolsBase
40 include creaMiniTools
41 include std
42 include toolsbbtk
43
44 author "info-dev@creatis.insa-lyon.fr"
45 description "Show N Points"
46 category "demo"
47
48 new ViewerNV viewer
49   set viewer.nTypeView "5 1 2 0"
50
51 new ShowNPoints showNpoints
52   set showNpoints.Radio "10"
53   set showNpoints.WinTitle "N-Points"
54
55 new LayoutSplit main
56   set main.Orientation "H"
57
58 new ImagesChooserDialogBox Box04
59
60 new LayoutTab Box06
61   set Box06.WinTitle Image
62
63 new ColorLayerImageView Box10
64   set Box10.WinTitle "Image Layer"
65
66 new ManualPaint Box11
67   set Box11.WinTitle "Paint"
68
69 new LayoutTab Box12
70   set Box12.WinTitle Filters
71
72 new LayoutTab Box13
73
74 new SaveMHD-Button Box21
75
76 new ThresholdWidget Box22
77
78 new ConnectivityWidget Box16
79
80 new LayoutLine Box18
81   set Box18.WinTitle "show N-Points"
82
83 new LayoutLine Box19
84   set Box19.WinTitle "Save MHD"
85
86 new LayoutLine Box20
87   set Box20.WinTitle "Layer Image"
88
89 new LayoutLine Box23
90   set Box23.Orientation H
91   set Box23.WinTitle "ManualPaint"
92
93 new CutModule2 Box24
94
95 new MultipleInputs Box25
96
97 new ErodeWidget Box26
98
99 new DilateWidget Box27
100
101 new ImageVtkPropertiesWidget Box28
102
103
104 connect viewer.Renderer1 showNpoints.Renderer
105 connect viewer.Point showNpoints.In
106 connect viewer.BoxChange showNpoints.BoxExecute
107 connect viewer.Widget main.Widget2
108 connect Box04.Out showNpoints.Image
109 connect Box04.Out viewer.In
110 connect viewer.wxVtkBaseView4 Box10.WxVtkBaseView
111 connect viewer.BoxChange Box11.BoxExecute
112 connect Box04.Out Box11.In
113 connect viewer.wxVtkBaseView2 Box11.WxVtkBaseView1
114 connect viewer.wxVtkBaseView3 Box11.WxVtkBaseView2
115 connect viewer.wxVtkBaseView4 Box11.WxVtkBaseView4
116 connect Box06.Widget Box13.Widget1
117 connect Box13.Widget main.Widget1
118 connect Box12.Widget Box13.Widget2
119 connect Box04.Out Box21.In
120 connect Box04.Out Box22.In
121 connect Box22.Widget Box12.Widget1
122 connect Box16.Widget Box12.Widget2
123 connect Box04.Out Box16.In
124 connect Box18.Widget Box06.Widget1
125 connect showNpoints.Widget Box18.Widget1
126 connect Box21.Widget Box19.Widget1
127 connect Box19.Widget Box06.Widget2
128 connect Box10.Widget Box20.Widget1
129 connect Box20.Widget Box06.Widget3
130 connect Box11.Widget Box23.Widget1
131 connect Box23.Widget Box06.Widget4
132 connect Box24.Widget Box23.Widget2
133 connect viewer.BoxChange Box24.BoxExecute
134 connect Box04.Out Box24.In
135 connect viewer.Interactor1 Box24.Interactor
136 connect viewer.Renderer1 Box24.Renderer
137 connect viewer.Renderer1 Box22.vtkRenderer
138 connect viewer.Renderer1 Box16.vtkRenderer
139 connect Box16.BoxChange Box25.In2
140 connect Box22.BoxChange Box25.In1
141 connect Box27.Widget Box12.Widget3
142 connect Box27.BoxChange Box25.In3
143 connect Box26.BoxChange Box25.In4
144 connect Box26.Widget Box12.Widget4
145 connect viewer.Renderer1 Box27.vtkRenderer
146 connect viewer.Renderer1 Box26.vtkRenderer
147 connect Box04.Out Box26.In
148 connect Box04.Out Box27.In
149 connect viewer.Point Box16.point
150 connect Box25.Out viewer.BoxExecute
151 connect Box28.widget Box06.Widget5
152 connect Box04.Out Box28.in
153
154 exec main