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