]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg
#2658 BBTK Bug New Normal - Unitary Operation
[bbtk.git] / packages / toolsbbtk / bbs / boxes / SaveMHD-Button.bbg
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 # ----------------------------------
28 # - BBTKGEditor v 1.3 BBG BlackBox Diagram file
29 # - /Users/davila/Creatis/All5/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/SaveMHD-Button.bbg
30 # ----------------------------------
31
32 APP_START
33 CATEGORY:read/write widget
34 DESCRIPTION:Button that saves the input vtkImageData as a MHD file
35 AUTHOR:info-team at creatis.insa-lyon.fr
36 COMPLEXBOX:TRUE
37 COMPLEXBOXNAME:SaveMHD-Button
38 PACKAGENAME:toolsbbtk
39 COMPLEXINPUTS:1
40 COMPLEX_PORT
41 In
42 -75.009417:12.908981:-900.000000
43 FIN_COMPLEX_PORT
44 COMPLEXOUTPUTS:2
45 COMPLEX_PORT
46 Widget
47 -111.247984:-117.548664:-900.000000
48 FIN_COMPLEX_PORT
49 COMPLEX_PORT
50 BoxChange
51 -93.078721:-118.537889:-900.000000
52 FIN_COMPLEX_PORT
53 BOXES:4
54 BOX
55 wx:CommandButton:Box00
56 ISEXEC:FALSE
57 -118.250801:-14.140786:-900.000000
58 -72.675801:-24.140786:-900.000000
59 PORT
60 Label:"Save Image (*.mhd)"
61 PORT
62 WinTitle:"Save Img."
63 FIN_BOX
64 BOX
65 vtk:MetaImageWriter:Box01
66 ISEXEC:FALSE
67 -102.332504:-77.410838:-900.000000
68 -56.757504:-87.410838:-900.000000
69 FIN_BOX
70 BOX
71 wx:FileSelector:Box02
72 ISEXEC:FALSE
73 -95.626639:-48.941097:-900.000000
74 -50.051639:-58.941097:-900.000000
75 PORT
76 BoxProcessMode:Always
77 PORT
78 OpenSave:Save
79 FIN_BOX
80 BOX
81 wx:LayoutLine:Box03
82 ISEXEC:FALSE
83 -133.745102:-96.440218:-900.000000
84 -76.185102:-106.440218:-900.000000
85 PORT
86 WinTitle:"Save MHD"
87 FIN_BOX
88 CONNECTIONS:6
89 CONNECTION
90 Box00:BoxChange:Box01:BoxExecute
91 NumberOfControlPoints:0
92 CONNECTION
93 Box02:Out:Box01:Filename
94 NumberOfControlPoints:0
95 CONNECTION
96 In:In:Box01:In
97 NumberOfControlPoints:1
98 -43.197277:-54.220032:-900.000000
99 CONNECTION
100 Box03:Widget:Widget:Widget
101 NumberOfControlPoints:0
102 CONNECTION
103 Box00:Widget:Box03:Widget1
104 NumberOfControlPoints:0
105 CONNECTION
106 Box00:BoxChange:BoxChange:BoxChange
107 NumberOfControlPoints:0
108 APP_END