]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbs
#3387 CreaMiniTools Feature New Normal - new box ImageFillByPlane ImageFillByPlane2
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / ImageFillByPlane2.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/C10/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/ImageFillByPlane2.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaMiniTools
9 include std
10 include vtk
11
12 define ImageFillByPlane2 creaMiniTools
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new creaMiniTools:ImageFillByPlane Box00
20   set Box00.dir "0"
21   set Box00.typeReadMHDPlane "0"
22
23 new creaMiniTools:ImageFillByPlane Box01
24   set Box01.dir "1"
25
26 new creaMiniTools:ImageFillByPlane Box02
27   set Box02.dir "2"
28
29 new std:MagicBox Box03
30
31 new std:MagicBox Box04
32
33 new vtk:vtkImageDataPointerRelay Box07
34
35 new std:MagicBox Box08
36
37 new std:MagicBox Box09
38
39 new std:MagicBox Box10
40
41 new std:ConcatStrings Box11
42
43
44 connect Box04.Out Box01.dimsize
45 connect Box04.Out Box00.dimsize
46 connect Box04.Out Box02.dimsize
47 connect Box07.Out Box02.image
48 connect Box07.Out Box01.image
49 connect Box07.Out Box00.image
50 connect Box08.Out Box02.point
51 connect Box08.Out Box01.point
52 connect Box08.Out Box00.point
53 connect Box09.Out Box00.typeReadMHDPlane
54 connect Box09.Out Box01.typeReadMHDPlane
55 connect Box09.Out Box02.typeReadMHDPlane
56 connect Box10.Out Box02.widthSlice
57 connect Box10.Out Box01.widthSlice
58 connect Box10.Out Box00.widthSlice
59 connect Box11.Out Box00.filename
60 connect Box11.Out Box01.filename
61 connect Box11.Out Box02.filename
62 connect Box03.BoxChange Box00.boxexecute
63 connect Box03.BoxChange Box01.boxexecute
64 connect Box03.BoxChange Box02.boxexecute
65
66 # Complex input ports
67 input _dimsize Box04.In " "
68 input _image Box07.In " "
69 input _point Box08.In " "
70 input _typeReadMHDPlane Box09.In " "
71 input _widthSlice Box10.In " "
72 input _fillename Box11.In1 " "
73 input _boxexecute Box03.BoxExecute " "
74
75 # Complex output ports
76
77
78 endefine