]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/boxes/VectorVisuPlane.bbs
#3238 creaVtk Feature New Normal - ApplyMask box
[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
87 connect Box06.PolyData Box05.Input
88 connect Box15.Size Box16.In
89 connect Box16.Out Box17.In1
90 connect Box18.Out Box19.In1
91 connect Box15.Size Box18.In
92 connect Box20.Out Box21.In5
93 connect Box17.Out Box21.In1
94 connect Box19.Out Box21.In3
95 connect Box15.Spacing Box22.In1
96 connect Box22.Out Box06.Center
97 connect Box23.Out Box24.In1
98 connect Box15.Size Box23.In
99 connect Box41.Out Box15.In
100 connect Box41.Out Box05.Source
101 connect Box43.BoxChange Box06.BoxExecute
102 connect Box43.BoxChange Box05.BoxExecute
103 connect Box45.Out Box22.In0
104 connect Box48.Out Box20.In
105 connect Box48.Out Box47.In
106 connect Box47.Out Box46.In1
107 connect Box19.Out Box46.In3
108 connect Box24.Out Box46.In5
109 connect Box48.Out Box49.In
110 connect Box49.Out Box50.In3
111 connect Box17.Out Box50.In1
112 connect Box24.Out Box50.In5
113 connect Box33.Out Box06.Normal
114 connect Box34.Out Box45.In
115 connect Box34.Out Box33.In
116 connect Box46.Out Box45.In0
117 connect Box50.Out Box45.In1
118 connect Box21.Out Box45.In2
119
120 # Complex input ports
121 input structuredpoints Box41.In " "
122 input boxexecute Box43.BoxExecute " "
123 input point Box48.In " "
124 input orientation Box34.In " "
125
126 # Complex output ports
127 output outvtkdataset Box05.Out " "
128
129
130 endefine