]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleColorLayer.bbs
#2490 creaMaracasVisu Feature New High - Histogram Interaction
[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 "1 0 0 0 1 0 0 0 1"
22   set Box00.lstGreyLevelBoundaries "500 1200 1600 4500"
23
24 new LoadHola Box01
25
26 new ViewerNV Box02
27
28 new LayoutSplit Box03
29   set Box03.Orientation "H"
30
31 new vtkImageDataPointerRelay Box04
32
33 new RescaleSlopeIntercept Box05
34   set Box05.A "0"
35   set Box05.B "1"
36   set Box05.OutputFormat "VTK_FLOAT"
37   set Box05.Type "2"
38
39
40 connect Box02.wxVtkBaseView2 Box00.WxVtkBaseView
41
42 connect Box02.wxVtkBaseView3 Box00.WxVtkBaseView1
43
44 connect Box02.wxVtkBaseView4 Box00.WxVtkBaseView2
45
46 connect Box00.Widget Box03.Widget1
47
48 connect Box02.Widget Box03.Widget2
49
50 connect Box04.Out Box02.In
51
52 connect Box04.Out Box00.In
53
54 connect Box01.Out Box05.In
55
56 connect Box05.Out Box04.In
57
58
59
60 # Complex input ports
61 message    
62 exec Box03