1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY.bbs
4 # ----------------------------------
9 include creaMaracasVisu
12 define Ruler01_XY creaMaracasVisu
15 description "Description ??"
19 new ImageVtkProperties Box00
22 set Box01.Colour "1 1 0"
23 set Box01.lstPointX "0 286.1111"
24 set Box01.lstPointY "0 0"
25 set Box01.lstPointZ "-900 -900"
29 new ConcatStrings Box03
32 set Box04.RotateWXYZ "45 0 0 1"
34 new ConcatStrings Box05
36 new ConcatStrings Box06
40 new UpdateRender Box07
41 set Box07.Active "true"
46 new ConcatStrings Box11
50 new GetVectorFloatElement Box14
56 new ConcatStrings Box16
68 set Box20.BoxProcessMode "Reactive"
73 set Box22.Color "0 1 1"
78 connect Box03.Out Box02.Translate
79 connect Box00.Spacing Box05.In1
80 connect Box05.Out Box02.Scale
81 connect Box02.Out Box04.In
82 connect Box06.Out Box04.RotateWXYZ
83 connect Box04.Out Box01.Transform
84 connect Box10.Out Box06.In1
85 connect Box11.Out Box01.lstPointX
86 connect Box00.Spacing Box14.In
87 connect Box14.Out Box15.In2
88 connect Box15.Out Box17.In2
89 connect Box17.Out Box11.In3
90 connect Box17.Out Box16.In3
91 connect Box18.Out Box17.In1
92 connect Box18.Out Box16.In1
93 connect Box19.Out Box07.Renderer
94 connect Box19.Out Box01.Renderer
95 connect Box20.BoxChange Box01.BoxExecute
96 connect Box20.BoxChange Box07.BoxExecute
97 connect Box26.Out Box01.Opacity
98 connect Box19.Out Box22.Renderer
99 connect Box16.Out Box22.In
100 connect Box26.Out Box22.Opacity
101 connect Box20.BoxChange Box22.BoxExecute
102 connect Box03.Out Box22.Point
103 connect Box05.Out Box22.Spacing
104 connect Box23.Out Box10.In1
105 connect Box23.Out Box16.In6
107 # Complex input ports
108 input SizeReal Box18.In " "
109 input Point Box03.In1 " "
110 input vtkRenderer Box19.In " "
111 input BoxExecuteRuler Box20.In " "
112 input Image Box00.In " "
113 input OpacityRuler Box26.In " "
114 input Angle Box23.In " "
116 # Complex output ports