]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleReadMHDPlane.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleReadMHDPlane.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include wx
13 include creaVtk
14 include std
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new creaMaracasVisu:ViewerNV Box00
21   set Box00.nTypeView "0"
22
23 new wx:LayoutSplit Box01
24   set Box01.Proportion "90"
25
26 new wx:Slider Box02
27   set Box02.Max "100"
28   set Box02.ReactiveOnTrack "true"
29
30 new creaVtk:ReadMHDPlane Box03
31
32 new std:Configuration Box04
33
34 new std:ConcatStrings Box05
35   set Box05.In2 "/vtk/hola.mhd"
36
37
38 connect Box02.Out Box03.Slice
39
40 connect Box04.DataPath Box05.In1
41
42 connect Box05.Out Box03.FileName
43
44 connect Box03.Out Box00.In
45
46 connect Box02.BoxChange Box00.BoxExecute
47
48 connect Box02.Widget Box01.Widget2
49
50 connect Box00.Widget Box01.Widget1
51
52
53
54 # Complex input ports
55 exec Box01