]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/ExampleTransformVector.bbs
#3110 creaVtk Bug New Normal - branch vtk7itk4 compilation with vtk7
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / ExampleTransformVector.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/ExampleTransformVector.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaVtk
12 include vtk
13 include wx
14
15 author "Author ??"
16 description "Description ??"
17 category "<VOID>"
18
19 new creaVtk:TransformVector Box00
20   set Box00.InX "0 10 20 30 40"
21   set Box00.InY "0 0 0 0 0"
22   set Box00.InZ "0 0 0 0 0"
23
24 new vtk:Transform Box01
25   set Box01.RotateWXYZ "45 0 0 1"
26
27 new wx:OutputText Box02
28
29 new wx:OutputText Box03
30
31 new wx:OutputText Box04
32
33 new wx:LayoutLine Box05
34
35
36 connect Box01.Out Box00.Transform
37
38 connect Box00.OutX Box02.In
39
40 connect Box02.Widget Box05.Widget1
41
42 connect Box03.Widget Box05.Widget2
43
44 connect Box04.Widget Box05.Widget3
45
46 connect Box00.OutY Box03.In
47
48 connect Box00.OutZ Box04.In
49
50
51
52 # Complex input ports
53 exec Box05