]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs
#2810 crea RigidRegistration Bug New Normal - update Transform3D3PointsBox
[creaRigidRegistration.git] / PackRecalage / bbs / boxes / CompareImagesWidget_base_3Dp_B.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools/creatools_source/creaRigidRegistration/PackRecalage/bbs/boxes/CompareImagesWidget_base_3Dp_B.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include PackRecalage
9 include creaMaracasVisu
10 include vtk
11 include std
12
13 define CompareImagesWidget_base_3Dp_B PackRecalage
14
15 author "info-dev@creatis.insa-lyon.fr"
16 description "creatisRecalage"
17
18 category "example"
19
20 new PackRecalage:ImageConvolution convol1
21
22 new creaMaracasVisu:SliceImage Box02
23   set Box02.TypeOrientation "0"
24
25 new PackRecalage:ImageConvolution Box03
26
27 new creaMaracasVisu:SliceImage Box04
28   set Box04.TypeOrientation "1"
29
30 new PackRecalage:ImageConvolution Box05
31
32 new creaMaracasVisu:SliceImage Box06
33   set Box06.TypeOrientation "2"
34
35 new PackRecalage:AddImageToVector Box07
36
37 new vtk:vtkImageDataPointerRelay Box08
38
39 new std:MagicBox Box09
40
41 new std:MagicBox Box10
42
43 new std:MagicBox Box11
44
45 new std:GetVectorIntElement Box12
46   set Box12.I "2"
47
48 new std:GetVectorIntElement Box13
49   set Box13.I "1"
50
51 new std:GetVectorIntElement Box14
52   set Box14.I "0"
53
54 new std:MagicBox Box15
55
56
57 connect Box02.Out convol1.In
58 connect Box04.Out Box03.In
59 connect Box06.Out Box05.In
60 connect convol1.Out Box07.In0
61 connect Box03.Out Box07.In1
62 connect Box05.Out Box07.In2
63 connect Box08.Out Box02.In
64 connect Box08.Out Box04.In
65 connect Box08.Out Box06.In
66 connect Box09.BoxChange convol1.BoxExecute
67 connect Box09.BoxChange Box03.BoxExecute
68 connect Box09.BoxChange Box05.BoxExecute
69 connect Box10.Out convol1.Factor
70 connect Box10.Out Box03.Factor
71 connect Box10.Out Box05.Factor
72 connect Box11.Out convol1.On
73 connect Box11.Out Box03.On
74 connect Box11.Out Box05.On
75 connect Box15.Out Box14.In
76 connect Box15.Out Box13.In
77 connect Box15.Out Box12.In
78 connect Box14.Out Box06.Slice
79 connect Box13.Out Box04.Slice
80 connect Box12.Out Box02.Slice
81
82 # Complex input ports
83 input In Box08.In " "
84 input BoxExecute Box09.In " "
85 input ConvolutionFactor Box10.In " "
86 input ConvolutionOnOff Box11.In " "
87 input Point Box15.In " "
88
89 # Complex output ports
90 output Out Box07.Out " "
91
92 message    
93
94 endefine