]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/boxes/ViewerPlaneMHD.bbs
9283aa24c5f7c36591271e5077a922b848903e7e
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / ViewerPlaneMHD.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ViewerPlaneMHD.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaMaracasVisu
9 include creaVtk
10 include wx
11 include std
12
13 define ViewerPlaneMHD creaMiniTools
14
15 author "Author ??"
16 description "Description ??"
17
18 category "<VOID>"
19
20 new creaMaracasVisu:ViewerNV Box01
21   set Box01.nTypeView "-1"
22
23 new creaVtk:ReadMHDPlane Box02
24   set Box02.Type "1"
25
26 new wx:Slider Box03
27   set Box03.ReactiveOnTrack "true"
28
29 new std:ConcatStrings Box07
30
31 new creaVtk:MHDFileInfo Box08
32
33 new std:GetVectorIntElement Box09
34   set Box09.I "2"
35
36 new std:MathOperation Box10
37   set Box10.In2 "-1"
38
39 new wx:LayoutSplit Box28
40   set Box28.Proportion "90"
41
42 new std:MathOperation Box29
43   set Box29.In2 "2"
44   set Box29.Type "3"
45
46 new wx:LayoutLine Box38
47
48 new std:MagicBox Box15
49
50 new std:StringSelect Box16
51   set Box16.In0 "2"
52   set Box16.In1 "1"
53   set Box16.In2 "0"
54
55 new std:StringSelect Box17
56   set Box17.In0 "XY"
57   set Box17.In1 "XZ"
58   set Box17.In2 "YZ"
59
60
61 connect Box02.Out Box01.In
62 connect Box07.Out Box02.FileName
63 connect Box07.Out Box08.FileName
64 connect Box08.DimSize Box09.In
65 connect Box09.Out Box10.In1
66 connect Box10.Out Box03.Max
67 connect Box03.BoxChange Box01.BoxExecute
68 connect Box03.Out Box02.Slice
69 connect Box09.Out Box29.In1
70 connect Box29.Out Box03.In
71 connect Box03.Widget Box38.Widget1
72 connect Box38.Widget Box28.Widget2
73 connect Box01.Widget Box28.Widget1
74 connect Box16.Out Box09.I
75 connect Box15.Out Box17.In
76 connect Box17.Out Box02.DirectionPlane
77 connect Box15.Out Box16.In
78
79 # Complex input ports
80 input NameFile Box07.In1 " "
81 input TypeDirection Box15.In " "
82
83 # Complex output ports
84 output widget Box28.Widget " "
85
86 message    
87
88 endefine