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