]> Creatis software - bbtk.git/blob - packages/wxvtk/bbs/appli/exampleMIPWidget.bbs
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / wxvtk / bbs / appli / exampleMIPWidget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools2/creatools_source/bbtk/packages/wxvtk/bbs/appli/exampleMIPWidget.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include wxvtk
12 include vtk
13 include wx
14
15 author "laurent.guigues at creatis.insa-lyon.fr"
16 description "Example of MIPWidget."
17 category "example"
18
19 new wxvtk:MIPWidget MIP
20   set MIP.Title "MIP Controls"
21
22 new wxvtk:Viewer3D viewer
23
24 new vtk:LoadHola reader
25
26 new wx:LayoutLine main
27   set main.WinTitle "ExampleMIPWidget"
28
29
30 connect reader.Out MIP.In
31
32 connect MIP.Out viewer.In1
33
34 connect MIP.BoxChange viewer.BoxExecute
35
36 connect viewer.Widget main.Widget1
37
38 connect MIP.Widget main.Widget2
39
40
41
42 # Complex input ports
43 exec main