]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleDrawAxisTree3D.bbs
#3265 creaMaracasVisu Bug New Normal - DrawAxisTree3D box
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleDrawAxisTree3D.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C8/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleDrawAxisTree3D.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include vtk
13
14 author "Author ??"
15 description "Description ??"
16 category "<VOID>"
17
18 new creaMaracasVisu:DrawAxisTree3D Box00
19   set Box00.ColourLaw "2"
20   set Box00.LineWidth "1"
21   set Box00.Opacity "1"
22   set Box00.lstIndexs "6 3 3"
23   set Box00.lstPointX "10 20 30 40 50 60 30 80 90 40 80 90"
24   set Box00.lstPointY "10 30 20 40 60 60 20 50 70 40 40 60"
25   set Box00.lstPointZ "10 20 30 40 50 60 30 45 53 40 80  90"
26
27 new vtk:LoadHola Box01
28
29 new creaMaracasVisu:ViewerNV Box02
30
31 new vtk:vtkImageDataPointerRelay Box03
32
33
34 connect Box01.Out Box03.In
35
36 connect Box03.Out Box02.In
37
38 connect Box02.Renderer1 Box00.Renderer
39
40 connect Box02.BoxChange Box00.BoxExecute
41
42
43
44 # Complex input ports
45 exec Box02