]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleSlab-Widget-01.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleSlab-Widget-01.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleSlab-Widget-01.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaVtk
12 include std
13 include creaMaracasVisu
14 include wx
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new creaVtk:Slab-Widget-01 Box01
21
22 new std:FilesFromDirectory Box02
23
24 new std:Configuration Box03
25
26 new std:ConcatStrings Box04
27   set Box04.In10 "/gdcmvtk/dicom01"
28
29 new creaMaracasVisu:ViewerNV Box05
30
31 new wx:LayoutSplit Box06
32   set Box06.Orientation "H"
33
34 new wx:LayoutTab Box07
35
36 new creaMaracasVisu:ViewerNV Box08
37
38 new wx:Slider Box09
39   set Box09.Max "100"
40   set Box09.ReactiveOnTrack "true"
41
42 new wx:LayoutLine Box10
43
44
45 connect Box03.DataPath Box04.In1
46
47 connect Box04.Out Box02.In
48
49 connect Box02.Out Box01.LstFileNames
50
51 connect Box01.ImageSlab2D Box05.In
52
53 connect Box05.Widget Box07.Widget1
54
55 connect Box08.Widget Box07.Widget2
56
57 connect Box01.Image3D Box08.In
58
59 connect Box07.Widget Box06.Widget2
60
61 connect Box01.boxChange Box05.BoxExecute
62
63 connect Box01.boxChange Box08.BoxExecute
64
65 connect Box09.Out Box01.Slice_In
66
67 connect Box09.BoxChange Box01.boxExecute
68
69 connect Box01.widget Box10.Widget2
70
71 connect Box09.Widget Box10.Widget1
72
73 connect Box10.Widget Box06.Widget1
74
75
76
77 # Complex input ports
78 exec Box06