]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/Ruler01_XY.bbs
544ccc3e112377f5395960bf8466dd5f69932f99
[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 std
10 include creaMaracasVisu
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 ConcatStrings Box03
22
23 new ConcatStrings Box05
24
25 new UpdateRender Box07
26   set Box07.Active "true"
27
28 new GetVectorFloatElement Box14
29   set Box14.I "0"
30
31 new Div Box15
32   set Box15.In1 "1"
33
34 new ConcatStrings Box16
35   set Box16.In2 "u  ("
36   set Box16.In4 "p) "
37   set Box16.In5 " ang="
38   set Box16.In7 "  ."
39
40 new Mul Box17
41
42 new MagicBox Box18
43
44 new MagicBox Box19
45
46 new MagicBox Box20
47   set Box20.BoxProcessMode "Reactive"
48
49 new MagicBox Box26
50
51 new Text2D Box22
52   set Box22.Color "0 1 1"
53
54 new MagicBox Box23
55
56 new DrawAxe3D Box25
57   set Box25.Colour "0 1 1"
58   set Box25.lstPointX "0 286.1111"
59   set Box25.lstPointY "0 0"
60   set Box25.lstPointZ "-900 -900"
61
62 new Transform Box27
63   set Box27.RotateWXYZ "45 0 0 1"
64
65 new ChInfo3Dto2DRuler Box28
66   set Box28.Direction "0"
67
68 new Transform Box29
69
70 new wxVtkBaseView_Info Box30
71
72 new MagicBox Box31
73
74
75 connect Box00.Spacing Box05.In1
76 connect Box00.Spacing Box14.In
77 connect Box14.Out Box15.In2
78 connect Box15.Out Box17.In2
79 connect Box17.Out Box16.In3
80 connect Box18.Out Box17.In1
81 connect Box18.Out Box16.In1
82 connect Box19.Out Box07.Renderer
83 connect Box20.BoxChange Box07.BoxExecute
84 connect Box19.Out Box22.Renderer
85 connect Box16.Out Box22.In
86 connect Box26.Out Box22.Opacity
87 connect Box20.BoxChange Box22.BoxExecute
88 connect Box03.Out Box22.Point
89 connect Box05.Out Box22.Spacing
90 connect Box23.Out Box16.In6
91 connect Box27.Out Box25.Transform
92 connect Box23.Out Box28.Angle
93 connect Box18.Out Box28.Size
94 connect Box28.RotationVector Box27.RotateWXYZ
95 connect Box28.OutPointX Box25.lstPointX
96 connect Box28.OutPointY Box25.lstPointY
97 connect Box28.OutPointZ Box25.lstPointZ
98 connect Box19.Out Box25.Renderer
99 connect Box26.Out Box25.Opacity
100 connect Box20.BoxChange Box25.BoxExecute
101 connect Box29.Out Box27.In
102 connect Box05.Out Box29.Scale
103 connect Box03.Out Box28.CenterPointIn
104 connect Box30.Direction Box28.Direction
105 connect Box30.vtkRenderer Box19.In
106 connect Box03.Out Box29.Translate
107
108 # Complex input ports
109 input SizeReal Box18.In " "
110 input Point Box03.In1 " "
111 input BoxExecuteRuler Box20.In " "
112 input Image Box00.In " "
113 input OpacityRuler Box26.In " "
114 input Angle Box23.In " "
115 input wxvtkbaseview Box30.wxVtkBaseView " "
116 input vtkRenderer Box31.In " "
117
118 # Complex output ports
119
120
121 endefine