]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/Ruler01_XY.bbs
2345 creaMaracasVisu Feature New Normal Ruler01XY
[creaMaracasVisu.git] / bbtk / bbs / boxes / Ruler01_XY.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/All/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/Ruler01_XY.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include vtk
9 include creaMaracasVisu
10 include std
11
12 define Ruler01_XY creaMaracasVisu
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new ImageVtkProperties Box00
20
21 new DrawAxe3D Box01
22   set Box01.Colour "1 1 0"
23   set Box01.lstPointX "0 286.1111"
24   set Box01.lstPointY "0 0"
25   set Box01.lstPointZ "-900 -900"
26
27 new Transform Box02
28
29 new ConcatStrings Box03
30
31 new Transform Box04
32   set Box04.RotateWXYZ "45 0 0 1"
33
34 new ConcatStrings Box05
35
36 new ConcatStrings Box06
37   set Box06.In2 " "
38   set Box06.In3 "0 0 1"
39
40 new UpdateRender Box07
41   set Box07.Active "true"
42
43 new Text3D Box08
44   set Box08.Colour "0 1 1"
45   set Box08.In "10 um  (286p)"
46   set Box08.X "0"
47   set Box08.Y "0"
48   set Box08.Z "900"
49
50 new Transform Box09
51   set Box09.RotateWXYZ "180 1 0 0"
52   set Box09.Scale "2 2 2"
53
54 new Mul Box10
55   set Box10.In2 "-1"
56
57 new ConcatStrings Box11
58   set Box11.In1 "0"
59   set Box11.In2 " "
60
61 new Mul Box12
62   set Box12.In2 "0.12"
63
64 new GetVectorFloatElement Box14
65   set Box14.I "0"
66
67 new Div Box15
68   set Box15.In1 "0.01"
69
70 new ConcatStrings Box16
71   set Box16.In2 " um ("
72   set Box16.In4 "p)"
73
74 new Mul Box17
75
76 new MagicBox Box18
77
78 new MagicBox Box19
79
80 new MagicBox Box20
81   set Box20.BoxProcessMode "Reactive"
82
83 new MagicBox Box26
84
85
86 connect Box03.Out Box02.Translate
87 connect Box00.Spacing Box05.In1
88 connect Box05.Out Box02.Scale
89 connect Box02.Out Box04.In
90 connect Box06.Out Box04.RotateWXYZ
91 connect Box04.Out Box09.In
92 connect Box09.Out Box08.Transform
93 connect Box04.Out Box01.Transform
94 connect Box10.Out Box06.In1
95 connect Box11.Out Box01.lstPointX
96 connect Box12.Out Box08.X
97 connect Box00.Spacing Box14.In
98 connect Box14.Out Box15.In2
99 connect Box16.Out Box08.In
100 connect Box15.Out Box17.In2
101 connect Box17.Out Box11.In3
102 connect Box17.Out Box16.In3
103 connect Box17.Out Box12.In1
104 connect Box18.Out Box17.In1
105 connect Box18.Out Box16.In1
106 connect Box19.Out Box07.Renderer
107 connect Box19.Out Box08.Renderer
108 connect Box19.Out Box01.Renderer
109 connect Box20.BoxChange Box01.BoxExecute
110 connect Box20.BoxChange Box08.BoxExecute
111 connect Box20.BoxChange Box07.BoxExecute
112 connect Box26.Out Box08.Opacity
113 connect Box26.Out Box01.Opacity
114
115 # Complex input ports
116 input SizeReal Box18.In " "
117 input Point Box03.In1 " "
118 input vtkRenderer Box19.In " "
119 input Angle Box10.In1 " "
120 input BoxExecuteRuler Box20.In " "
121 input Image Box00.In " "
122 input OpacityRuler Box26.In " "
123
124 # Complex output ports
125
126
127 endefine