]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/Ruler01_XY.bbs
2382 creaMaracasVisu Bug New High Box HistogramView not accept all formats
[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   set Box16.In7 "  ."
61
62 new Mul Box17
63
64 new MagicBox Box18
65
66 new MagicBox Box19
67
68 new MagicBox Box20
69   set Box20.BoxProcessMode "Reactive"
70
71 new MagicBox Box26
72
73 new Text2D Box22
74   set Box22.Color "0 1 1"
75
76 new MagicBox Box23
77
78
79 connect Box03.Out Box02.Translate
80 connect Box00.Spacing Box05.In1
81 connect Box05.Out Box02.Scale
82 connect Box02.Out Box04.In
83 connect Box06.Out Box04.RotateWXYZ
84 connect Box04.Out Box01.Transform
85 connect Box10.Out Box06.In1
86 connect Box11.Out Box01.lstPointX
87 connect Box00.Spacing Box14.In
88 connect Box14.Out Box15.In2
89 connect Box15.Out Box17.In2
90 connect Box17.Out Box11.In3
91 connect Box17.Out Box16.In3
92 connect Box18.Out Box17.In1
93 connect Box18.Out Box16.In1
94 connect Box19.Out Box07.Renderer
95 connect Box19.Out Box01.Renderer
96 connect Box20.BoxChange Box01.BoxExecute
97 connect Box20.BoxChange Box07.BoxExecute
98 connect Box26.Out Box01.Opacity
99 connect Box19.Out Box22.Renderer
100 connect Box16.Out Box22.In
101 connect Box26.Out Box22.Opacity
102 connect Box20.BoxChange Box22.BoxExecute
103 connect Box03.Out Box22.Point
104 connect Box05.Out Box22.Spacing
105 connect Box23.Out Box10.In1
106 connect Box23.Out Box16.In6
107
108 # Complex input ports
109 input SizeReal Box18.In " "
110 input Point Box03.In1 " "
111 input vtkRenderer Box19.In " "
112 input BoxExecuteRuler Box20.In " "
113 input Image Box00.In " "
114 input OpacityRuler Box26.In " "
115 input Angle Box23.In " "
116
117 # Complex output ports
118
119
120 endefine