]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/Ruler01_XY.bbs
c34de9daaf94e4a167475ed99c29289197af3ea6
[creaMaracasVisu.git] / bbtk / bbs / boxes / Ruler01_XY.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/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 Mul Box10
44   set Box10.In2 "-1"
45
46 new ConcatStrings Box11
47   set Box11.In1 "0"
48   set Box11.In2 " "
49
50 new GetVectorFloatElement Box14
51   set Box14.I "0"
52
53 new Div Box15
54   set Box15.In1 "1"
55
56 new ConcatStrings Box16
57   set Box16.In2 "u  ("
58   set Box16.In4 "p) "
59   set Box16.In5 " ang="
60
61 new Mul Box17
62
63 new MagicBox Box18
64
65 new MagicBox Box19
66
67 new MagicBox Box20
68   set Box20.BoxProcessMode "Reactive"
69
70 new MagicBox Box26
71
72 new Text2D Box22
73   set Box22.Color "0 1 1"
74
75 new MagicBox Box23
76
77
78 connect Box03.Out Box02.Translate
79 connect Box00.Spacing Box05.In1
80 connect Box05.Out Box02.Scale
81 connect Box02.Out Box04.In
82 connect Box06.Out Box04.RotateWXYZ
83 connect Box04.Out Box01.Transform
84 connect Box10.Out Box06.In1
85 connect Box11.Out Box01.lstPointX
86 connect Box00.Spacing Box14.In
87 connect Box14.Out Box15.In2
88 connect Box15.Out Box17.In2
89 connect Box17.Out Box11.In3
90 connect Box17.Out Box16.In3
91 connect Box18.Out Box17.In1
92 connect Box18.Out Box16.In1
93 connect Box19.Out Box07.Renderer
94 connect Box19.Out Box01.Renderer
95 connect Box20.BoxChange Box01.BoxExecute
96 connect Box20.BoxChange Box07.BoxExecute
97 connect Box26.Out Box01.Opacity
98 connect Box19.Out Box22.Renderer
99 connect Box16.Out Box22.In
100 connect Box26.Out Box22.Opacity
101 connect Box20.BoxChange Box22.BoxExecute
102 connect Box03.Out Box22.Point
103 connect Box05.Out Box22.Spacing
104 connect Box23.Out Box10.In1
105 connect Box23.Out Box16.In6
106
107 # Complex input ports
108 input SizeReal Box18.In " "
109 input Point Box03.In1 " "
110 input vtkRenderer Box19.In " "
111 input BoxExecuteRuler Box20.In " "
112 input Image Box00.In " "
113 input OpacityRuler Box26.In " "
114 input Angle Box23.In " "
115
116 # Complex output ports
117
118
119 endefine