]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleColorLayer.bbs
113b44d565fef6ff95471c7790065b84abbe6dd3
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleColorLayer.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/appli/exampleColorLayer.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include vtk
13 include wx
14
15 author "Author ??"
16 description "Description ??"
17 category "<VOID>"
18
19 new ColorLayerImageView Box00
20   set Box00.PlainOrGradientColor "false"
21   set Box00.lstBaseColor "0 1 0 1 1 0 1 0 0"
22   set Box00.lstGreyLevelBoundaries "500 1200 1600 3000"
23
24 new LoadHola Box01
25
26 new ViewerNV Box02
27
28 new LayoutSplit Box03
29   set Box03.Orientation "H"
30
31
32 connect Box01.Out Box00.In
33
34 connect Box01.Out Box02.In
35
36 connect Box02.wxVtkBaseView2 Box00.WxVtkBaseView
37
38 connect Box02.wxVtkBaseView3 Box00.WxVtkBaseView1
39
40 connect Box02.wxVtkBaseView4 Box00.WxVtkBaseView2
41
42 connect Box00.Widget Box03.Widget1
43
44 connect Box02.Widget Box03.Widget2
45
46
47
48 # Complex input ports
49 message    
50 exec Box03