]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VectorVisuPlane.bbs
1214af8a7c6b22d2558b248526464b71c03eba91
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / boxes / VectorVisuPlane.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C8/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/boxes/VectorVisuPlane.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include vtk
9 include creaVtk
10 include std
11
12 define VectorVisuPlane creaVtk
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new vtk:ProbeFilter Box05
20
21 new creaVtk:PlaneSource Box06
22   set Box06.Center "10 10 10"
23   set Box06.Normal "0 0 1"
24   set Box06.XResolution "100"
25   set Box06.YResolution "100"
26
27 new vtk:ImageVtkProperties Box15
28
29 new std:GetVectorIntElement Box16
30   set Box16.I "0"
31
32 new std:Div Box17
33   set Box17.In2 "2"
34
35 new std:GetVectorIntElement Box18
36   set Box18.I "1"
37
38 new std:Div Box19
39   set Box19.In2 "2"
40
41 new std:GetVectorIntElement Box20
42   set Box20.I "2"
43
44 new std:ConcatStrings Box21
45   set Box21.In2 " "
46   set Box21.In4 " "
47
48 new std:MathOperationVector Box22
49   set Box22.Type "2"
50
51 new std:GetVectorIntElement Box23
52   set Box23.I "2"
53
54 new std:Div Box24
55   set Box24.In2 "2"
56
57 new std:MagicBox Box41
58
59 new std:MagicBox Box43
60
61 new std:StringSelect Box45
62
63 new std:ConcatStrings Box46
64   set Box46.In2 " "
65   set Box46.In4 " "
66
67 new std:GetVectorIntElement Box47
68   set Box47.I "0"
69
70 new std:MagicBox Box48
71
72 new std:GetVectorIntElement Box49
73   set Box49.I "1"
74
75 new std:ConcatStrings Box50
76   set Box50.In2 " "
77   set Box50.In4 " "
78
79 new std:StringSelect Box33
80   set Box33.In0 "1 0 0"
81   set Box33.In1 "0 1 0"
82   set Box33.In2 "0 0 1"
83
84 new std:MagicBox Box34
85
86 new std:MagicBox Box35
87
88
89 connect Box06.PolyData Box05.Input
90 connect Box15.Size Box16.In
91 connect Box16.Out Box17.In1
92 connect Box18.Out Box19.In1
93 connect Box15.Size Box18.In
94 connect Box20.Out Box21.In5
95 connect Box17.Out Box21.In1
96 connect Box19.Out Box21.In3
97 connect Box15.Spacing Box22.In1
98 connect Box22.Out Box06.Center
99 connect Box23.Out Box24.In1
100 connect Box15.Size Box23.In
101 connect Box41.Out Box15.In
102 connect Box41.Out Box05.Source
103 connect Box43.BoxChange Box06.BoxExecute
104 connect Box43.BoxChange Box05.BoxExecute
105 connect Box45.Out Box22.In0
106 connect Box48.Out Box20.In
107 connect Box48.Out Box47.In
108 connect Box47.Out Box46.In1
109 connect Box19.Out Box46.In3
110 connect Box24.Out Box46.In5
111 connect Box48.Out Box49.In
112 connect Box49.Out Box50.In3
113 connect Box17.Out Box50.In1
114 connect Box24.Out Box50.In5
115 connect Box33.Out Box06.Normal
116 connect Box34.Out Box45.In
117 connect Box34.Out Box33.In
118 connect Box46.Out Box45.In0
119 connect Box50.Out Box45.In1
120 connect Box21.Out Box45.In2
121 connect Box35.Out Box06.XResolution
122 connect Box35.Out Box06.YResolution
123
124 # Complex input ports
125 input structuredpoints Box41.In " "
126 input boxexecute Box43.BoxExecute " "
127 input point Box48.In " "
128 input orientation Box34.In " "
129 input ResolutionPlane Box35.In " "
130
131 # Complex output ports
132 output outvtkdataset Box05.Out " "
133
134
135 endefine