]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/imageWriterExample.bbs
36f6b9932324afb70971d8f99cf960742424db37
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / imageWriterExample.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script
3 # - /home/pechan/Documents/courses/development/creatis/dev/src/creaMiniTools/examples/bbg/viewers/imageWriterExample.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include wx
13 include vtk
14 include creaImageIO
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new ViewerNV Box03
21
22 new CommandButton Box04
23   set Box04.Label "Save"
24
25 new MetaImageWriter Box05
26
27 new FileSelector Box06
28   set Box06.OpenSave "Save"
29
30 new LayoutSplit Box07
31
32 new ImagesChooserDialogBox Box08
33
34
35 connect Box06.Out Box05.Filename
36 connect Box03.Widget Box07.Widget1
37 connect Box04.Widget Box07.Widget2
38 connect Box04.BoxChange Box05.BoxExecute
39 connect Box08.Out Box03.In
40 connect Box08.Out Box05.In
41
42 exec Box07