]> Creatis software - bbtk.git/blob - packages/wxvtk/bbs/boxes/bbSimpleIsoSurfaceViewer.bbs
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / wxvtk / bbs / boxes / bbSimpleIsoSurfaceViewer.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /tmpEED/creaTools2/creatools_source/bbtk/packages/wxvtk/bbs/boxes/bbSimpleIsoSurfaceViewer.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include wxvtk
10 include std
11
12 define SimpleIsoSurfaceViewer wxvtk
13
14 author "laurent.guigues@creatis.insa-lyon.fr"
15 description "Simple viewer of an iso-surface of an image"
16
17 category "viewer"
18
19 new wx:LayoutSplit main
20   set main.Proportion "80"
21
22 new wxvtk:Viewer3D viewer
23
24 new wxvtk:IsoSurfaceWidget surface
25   set surface.Isovalue "10"
26   set surface.Title "Surface"
27   set surface.Vertical "0"
28
29 new std:MultipleInputs refresh
30
31
32 connect viewer.Widget main.Widget1
33 connect surface.Widget main.Widget2
34 connect surface.Out viewer.In1
35 connect surface.BoxChange refresh.In1
36 connect refresh.Out viewer.BoxExecute
37
38 # Complex input ports
39 input In surface.In " "
40 input WinDialog main.WinDialog " "
41 input WinTitle main.WinTitle " "
42 input WinWidth main.WinWidth " "
43 input WinHeight main.WinHeight " "
44 input BoxExecute refresh.In2 " "
45
46 # Complex output ports
47 output Widget main.Widget " "
48
49 exec main
50
51 endefine