]> Creatis software - bbtk.git/blob - packages/wxvtk/bbs/appli/exampleView2D3D.bbs
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / wxvtk / bbs / appli / exampleView2D3D.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/bbtk/packages/wxvtk/bbs/appli/exampleView2D3D.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include wx
13 include wxvtk
14
15 author "Author ??"
16 description "Description ??"
17 category "<VOID>"
18
19 new vtk:LoadHola reader
20
21 new wx:Slider slider
22   set slider.In "20"
23
24 new wxvtk:Viewer2D v2d
25
26 new wxvtk:Viewer3D v3d
27
28 new wx:LayoutTab layout
29
30 new wxvtk:IsoSurfaceWidget surface
31
32
33 connect reader.Out v2d.In
34
35 connect slider.Out v2d.Slice
36
37 connect slider.Widget layout.Widget1
38
39 connect v2d.Widget layout.Widget2
40
41 connect slider.BoxChange v2d.BoxExecute
42
43 connect reader.Out surface.In
44
45 connect surface.Out v3d.In1
46
47 connect surface.Widget layout.Widget3
48
49 connect v3d.Widget layout.Widget4
50
51 connect surface.BoxChange v3d.BoxExecute
52
53
54
55 # Complex input ports
56 exec layout