# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY.bbs
+# - /tmpEED/creaTools2/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY.bbs
# ----------------------------------
include std
include itkvtk
include vtk
-include creaMaracasVisu
include std
+include creaMaracasVisu
+include wx
define Ruler01_XY creaMaracasVisu
category "<VOID>"
-new ImageVtkProperties Box00
+new vtk: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 std:ConcatStrings Box03
-new Transform Box02
+new std:ConcatStrings Box05
-new ConcatStrings Box03
+new vtk:UpdateRender Box07
+ set Box07.Active "true"
-new Transform Box04
- set Box04.RotateWXYZ "45 0 0 1"
+new std:GetVectorFloatElement Box14
+ set Box14.I "0"
-new ConcatStrings Box05
+new std:ConcatStrings Box16
+ set Box16.In2 "p ("
+ set Box16.In4 "u) "
+ set Box16.In5 " ang="
+ set Box16.In7 " ."
-new ConcatStrings Box06
- set Box06.In2 " "
- set Box06.In3 "0 0 1"
+new std:Mul Box17
-new UpdateRender Box07
- set Box07.Active "true"
+new std:MagicBox Box18
-new Mul Box10
- set Box10.In2 "-1"
+new std:MagicBox Box19
-new ConcatStrings Box11
- set Box11.In1 "0"
- set Box11.In2 " "
+new std:MagicBox Box20
+ set Box20.BoxProcessMode "Reactive"
-new GetVectorFloatElement Box14
- set Box14.I "0"
+new std:MagicBox Box26
-new Div Box15
- set Box15.In1 "1"
+new vtk:Text2D Box22
+ set Box22.Color "0 1 1"
-new ConcatStrings Box16
- set Box16.In2 "u ("
- set Box16.In4 "p) "
- set Box16.In5 " ang="
- set Box16.In7 " ."
+new std:MagicBox Box23
-new Mul Box17
+new creaMaracasVisu: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 MagicBox Box18
+new vtk:Transform Box27
+ set Box27.RotateWXYZ "45 0 0 1"
-new MagicBox Box19
+new creaMaracasVisu:ChInfo3Dto2DRuler Box28
+ set Box28.Direction "0"
-new MagicBox Box20
- set Box20.BoxProcessMode "Reactive"
+new vtk:Transform Box29
-new MagicBox Box26
+new creaMaracasVisu:wxVtkBaseView_Info Box30
-new Text2D Box22
- set Box22.Color "0 1 1"
+new std:MagicBox Box31
-new MagicBox Box23
+new wx:OutputText Box32
-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
+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
+connect Box05.Out Box32.In
+connect Box26.Out Box32.BoxExecute
# 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 " "
+input wxvtkbaseview Box30.wxVtkBaseView " "
+input vtkRenderer Box31.In " "
# Complex output ports