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 # ----------------------------------
10 include creaMaracasVisu
12 define Ruler01_XY creaMaracasVisu
15 description "Description ??"
19 new ImageVtkProperties Box00
21 new ConcatStrings Box03
23 new ConcatStrings Box05
25 new UpdateRender Box07
26 set Box07.Active "true"
28 new GetVectorFloatElement Box14
34 new ConcatStrings Box16
47 set Box20.BoxProcessMode "Reactive"
52 set Box22.Color "0 1 1"
57 set Box25.Colour "0 1 1"
58 set Box25.lstPointX "0 286.1111"
59 set Box25.lstPointY "0 0"
60 set Box25.lstPointZ "-900 -900"
63 set Box27.RotateWXYZ "45 0 0 1"
65 new ChInfo3Dto2DRuler Box28
66 set Box28.Direction "0"
70 new wxVtkBaseView_Info Box30
75 connect Box00.Spacing Box05.In1
76 connect Box00.Spacing Box14.In
77 connect Box14.Out Box15.In2
78 connect Box15.Out Box17.In2
79 connect Box17.Out Box16.In3
80 connect Box18.Out Box17.In1
81 connect Box18.Out Box16.In1
82 connect Box19.Out Box07.Renderer
83 connect Box20.BoxChange Box07.BoxExecute
84 connect Box19.Out Box22.Renderer
85 connect Box16.Out Box22.In
86 connect Box26.Out Box22.Opacity
87 connect Box20.BoxChange Box22.BoxExecute
88 connect Box03.Out Box22.Point
89 connect Box05.Out Box22.Spacing
90 connect Box23.Out Box16.In6
91 connect Box27.Out Box25.Transform
92 connect Box23.Out Box28.Angle
93 connect Box18.Out Box28.Size
94 connect Box28.RotationVector Box27.RotateWXYZ
95 connect Box28.OutPointX Box25.lstPointX
96 connect Box28.OutPointY Box25.lstPointY
97 connect Box28.OutPointZ Box25.lstPointZ
98 connect Box19.Out Box25.Renderer
99 connect Box26.Out Box25.Opacity
100 connect Box20.BoxChange Box25.BoxExecute
101 connect Box29.Out Box27.In
102 connect Box05.Out Box29.Scale
103 connect Box03.Out Box28.CenterPointIn
104 connect Box30.Direction Box28.Direction
105 connect Box30.vtkRenderer Box19.In
106 connect Box03.Out Box29.Translate
108 # Complex input ports
109 input SizeReal Box18.In " "
110 input Point Box03.In1 " "
111 input BoxExecuteRuler Box20.In " "
112 input Image Box00.In " "
113 input OpacityRuler Box26.In " "
114 input Angle Box23.In " "
115 input wxvtkbaseview Box30.wxVtkBaseView " "
116 input vtkRenderer Box31.In " "
118 # Complex output ports