]> Creatis software - bbtk.git/blob - packages/gdcmvtk/bbs/appli/exampleGetXCoherentInfoGdcmReader.bbs
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / gdcmvtk / bbs / appli / exampleGetXCoherentInfoGdcmReader.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/bbtk/packages/gdcmvtk/bbs/appli/exampleGetXCoherentInfoGdcmReader.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include std
12 include wx
13 include creaMaracasVisu
14 include gdcmvtk
15
16 author "Author ??"
17 description "Description ??"
18 category "example"
19
20 new std:Configuration Box02
21
22 new std:ConcatStrings Box03
23   set Box03.In2 "/gdcmvtk/dicom01"
24
25 new wx:OutputText Box04
26   set Box04.Title "IOP"
27
28 new wx:LayoutLine Box05
29
30 new wx:OutputText Box06
31   set Box06.Title "IPP"
32
33 new wx:OutputText Box08
34   set Box08.Title "PixelSpacing"
35
36 new creaMaracasVisu:ViewerNV Box09
37
38 new gdcmvtk:GetXCoherentInfoGdcmReader Box11
39
40 new wx:DirectorySelector Box12
41
42 new std:FilesFromDirectory Box13
43
44 new wx:LayoutSplit Box14
45   set Box14.Orientation "H"
46
47
48 connect Box02.DataPath Box03.In1
49
50 connect Box04.Widget Box05.Widget1
51
52 connect Box06.Widget Box05.Widget2
53
54 connect Box08.Widget Box05.Widget4
55
56 connect Box11.IOP Box04.In
57
58 connect Box11.IPP Box06.In
59
60 connect Box11.PixelSpacing Box08.In
61
62 connect Box03.Out Box13.In
63
64 connect Box11.Out Box09.In
65
66 connect Box05.Widget Box14.Widget1
67
68 connect Box09.Widget Box14.Widget2
69
70 connect Box13.Out Box11.In
71
72
73
74 # Complex input ports
75 exec Box14