]> Creatis software - bbtk.git/blob - packages/vtk/bbs/appli/exampleSurfaceTexture.bbs
4e2da536f2c5293b9d90a6a9b771cdd406dd8037
[bbtk.git] / packages / vtk / bbs / appli / exampleSurfaceTexture.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/vtk/bbs/appli/exampleSurfaceTexture.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13
14 author "Author ??"
15 description "Description ??"
16 category "<VOID>"
17
18 new SurfaceTexture Box01
19   set Box01.ColorLevel "1000"
20   set Box01.ColorWindow "500"
21
22 new LoadHola Box02
23
24 new ViewerNV Box03
25
26 new SphereSource Box04
27   set Box04.PhiResolution "140"
28   set Box04.Radius "1"
29   set Box04.ThetaResolution "140"
30
31 new PolyDataToActor Box05
32   set Box05.Colour "1 1 0"
33   set Box05.Opacity "1"
34   set Box05.ScalarVisibility "true"
35
36 new Transform Box06
37   set Box06.Scale "45 45 45"
38
39 new Transform Box07
40   set Box07.Translate "45  45 45"
41
42
43 connect Box02.Out Box01.Image
44
45 connect Box02.Out Box03.In
46
47 connect Box03.Renderer1 Box05.Renderer
48
49 connect Box03.BoxChange Box01.BoxExecute
50
51 connect Box03.BoxChange Box05.BoxExecute
52
53 connect Box06.Out Box05.Transform
54
55 connect Box06.Out Box01.Transform
56
57 connect Box07.Out Box06.In
58
59 connect Box04.Out Box05.In
60
61 connect Box04.Out Box01.Mesh
62
63
64
65 # Complex input ports
66 message    
67 exec Box03