]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/bbs/boxes/Ruler01_XY.bbs
2345 creaMaracasVisu Feature New Normal Ruler01XY
[creaMaracasVisu.git] / bbtk / bbs / boxes / Ruler01_XY.bbs
diff --git a/bbtk/bbs/boxes/Ruler01_XY.bbs b/bbtk/bbs/boxes/Ruler01_XY.bbs
new file mode 100644 (file)
index 0000000..88cb208
--- /dev/null
@@ -0,0 +1,127 @@
+# ----------------------------------
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/davila/Creatis/All/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 "<VOID>"
+
+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 Text3D Box08
+  set Box08.Colour "0 1 1"
+  set Box08.In "10 um  (286p)"
+  set Box08.X "0"
+  set Box08.Y "0"
+  set Box08.Z "900"
+
+new Transform Box09
+  set Box09.RotateWXYZ "180 1 0 0"
+  set Box09.Scale "2 2 2"
+
+new Mul Box10
+  set Box10.In2 "-1"
+
+new ConcatStrings Box11
+  set Box11.In1 "0"
+  set Box11.In2 " "
+
+new Mul Box12
+  set Box12.In2 "0.12"
+
+new GetVectorFloatElement Box14
+  set Box14.I "0"
+
+new Div Box15
+  set Box15.In1 "0.01"
+
+new ConcatStrings Box16
+  set Box16.In2 " um ("
+  set Box16.In4 "p)"
+
+new Mul Box17
+
+new MagicBox Box18
+
+new MagicBox Box19
+
+new MagicBox Box20
+  set Box20.BoxProcessMode "Reactive"
+
+new MagicBox Box26
+
+
+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 Box09.In
+connect Box09.Out Box08.Transform
+connect Box04.Out Box01.Transform
+connect Box10.Out Box06.In1
+connect Box11.Out Box01.lstPointX
+connect Box12.Out Box08.X
+connect Box00.Spacing Box14.In
+connect Box14.Out Box15.In2
+connect Box16.Out Box08.In
+connect Box15.Out Box17.In2
+connect Box17.Out Box11.In3
+connect Box17.Out Box16.In3
+connect Box17.Out Box12.In1
+connect Box18.Out Box17.In1
+connect Box18.Out Box16.In1
+connect Box19.Out Box07.Renderer
+connect Box19.Out Box08.Renderer
+connect Box19.Out Box01.Renderer
+connect Box20.BoxChange Box01.BoxExecute
+connect Box20.BoxChange Box08.BoxExecute
+connect Box20.BoxChange Box07.BoxExecute
+connect Box26.Out Box08.Opacity
+connect Box26.Out Box01.Opacity
+
+# Complex input ports
+input SizeReal Box18.In " "
+input Point Box03.In1 " "
+input vtkRenderer Box19.In " "
+input Angle Box10.In1 " "
+input BoxExecuteRuler Box20.In " "
+input Image Box00.In " "
+input OpacityRuler Box26.In " "
+
+# Complex output ports
+
+
+endefine