# ---------------------------------- # - 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 std include creaMaracasVisu define Ruler01_XY creaMaracasVisu author "Author ??" description "Description ??" category "" new ImageVtkProperties Box00 new ConcatStrings Box03 new ConcatStrings Box05 new UpdateRender Box07 set Box07.Active "true" new GetVectorFloatElement Box14 set Box14.I "0" new ConcatStrings Box16 set Box16.In2 "p (" set Box16.In4 "u) " set Box16.In5 " ang=" set Box16.In7 " ." 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 new DrawAxe3D Box25 set Box25.Colour "0 1 1" set Box25.lstPointX "0 286.1111" set Box25.lstPointY "0 0" set Box25.lstPointZ "-900 -900" new Transform Box27 set Box27.RotateWXYZ "45 0 0 1" new ChInfo3Dto2DRuler Box28 set Box28.Direction "0" new Transform Box29 new wxVtkBaseView_Info Box30 new MagicBox Box31 connect Box00.Spacing Box05.In1 connect Box00.Spacing Box14.In connect Box17.Out Box16.In3 connect Box18.Out Box17.In1 connect Box18.Out Box16.In1 connect Box19.Out Box07.Renderer connect Box20.BoxChange Box07.BoxExecute 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 Box16.In6 connect Box27.Out Box25.Transform connect Box23.Out Box28.Angle connect Box18.Out Box28.Size connect Box28.RotationVector Box27.RotateWXYZ connect Box28.OutPointX Box25.lstPointX connect Box28.OutPointY Box25.lstPointY connect Box28.OutPointZ Box25.lstPointZ connect Box19.Out Box25.Renderer connect Box26.Out Box25.Opacity connect Box20.BoxChange Box25.BoxExecute connect Box29.Out Box27.In connect Box05.Out Box29.Scale connect Box03.Out Box28.CenterPointIn connect Box30.Direction Box28.Direction connect Box30.vtkRenderer Box19.In connect Box03.Out Box29.Translate connect Box14.Out Box17.In2 # Complex input ports input SizeReal Box18.In " " input Point Box03.In1 " " input BoxExecuteRuler Box20.In " " input Image Box00.In " " input OpacityRuler Box26.In " " input Angle Box23.In " " input wxvtkbaseview Box30.wxVtkBaseView " " input vtkRenderer Box31.In " " # Complex output ports endefine