# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box) # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY.bbs # ---------------------------------- include std include itkvtk include vtk include creaMaracasVisu include std define Ruler01_XY creaMaracasVisu author "Author ??" description "Description ??" category "" new ImageVtkProperties Box00 new DrawAxe3D Box01 set Box01.Colour "1 1 0" set Box01.lstPointX "0 286.1111" set Box01.lstPointY "0 0" set Box01.lstPointZ "-900 -900" new Transform Box02 new ConcatStrings Box03 new Transform Box04 set Box04.RotateWXYZ "45 0 0 1" new ConcatStrings Box05 new ConcatStrings Box06 set Box06.In2 " " set Box06.In3 "0 0 1" new UpdateRender Box07 set Box07.Active "true" new Mul Box10 set Box10.In2 "-1" new ConcatStrings Box11 set Box11.In1 "0" set Box11.In2 " " new GetVectorFloatElement Box14 set Box14.I "0" new Div Box15 set Box15.In1 "1" new ConcatStrings Box16 set Box16.In2 "u (" set Box16.In4 "p) " set Box16.In5 " ang=" new Mul Box17 new MagicBox Box18 new MagicBox Box19 new MagicBox Box20 set Box20.BoxProcessMode "Reactive" new MagicBox Box26 new Text2D Box22 set Box22.Color "0 1 1" new MagicBox Box23 connect Box03.Out Box02.Translate connect Box00.Spacing Box05.In1 connect Box05.Out Box02.Scale connect Box02.Out Box04.In connect Box06.Out Box04.RotateWXYZ connect Box04.Out Box01.Transform connect Box10.Out Box06.In1 connect Box11.Out Box01.lstPointX connect Box00.Spacing Box14.In connect Box14.Out Box15.In2 connect Box15.Out Box17.In2 connect Box17.Out Box11.In3 connect Box17.Out Box16.In3 connect Box18.Out Box17.In1 connect Box18.Out Box16.In1 connect Box19.Out Box07.Renderer connect Box19.Out Box01.Renderer connect Box20.BoxChange Box01.BoxExecute connect Box20.BoxChange Box07.BoxExecute connect Box26.Out Box01.Opacity connect Box19.Out Box22.Renderer connect Box16.Out Box22.In connect Box26.Out Box22.Opacity connect Box20.BoxChange Box22.BoxExecute connect Box03.Out Box22.Point connect Box05.Out Box22.Spacing connect Box23.Out Box10.In1 connect Box23.Out Box16.In6 # Complex input ports input SizeReal Box18.In " " input Point Box03.In1 " " input vtkRenderer Box19.In " " input BoxExecuteRuler Box20.In " " input Image Box00.In " " input OpacityRuler Box26.In " " input Angle Box23.In " " # Complex output ports endefine