]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/boxes/ColorWindowLevel_Interface.bbs
#2809 creaMaracas Visu Feature New Normal - update UnitLayerPaint DrawAxisTree
[creaMaracasVisu.git] / bbtk / bbs / boxes / ColorWindowLevel_Interface.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/creaMaracasVisu/bbtk/bbs/boxes/ColorWindowLevel_Interface.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include vtk
10 include std
11 include creaMaracasVisu
12
13 define ColorWindowLevel_Interface creaMaracasVisu
14
15 author "Author ??"
16 description "Description ??"
17
18 category "<VOID>"
19
20 new LayoutLine Box00
21   set Box00.WinTitle "Color-Window Level"
22
23 new Slider Box01
24   set Box01.ChangeResolution "true"
25   set Box01.Label "true"
26   set Box01.ReactiveOnTrack "true"
27   set Box01.Title "Color Level"
28
29 new Slider Box02
30   set Box02.ChangeResolution "true"
31   set Box02.Label "true"
32   set Box02.ReactiveOnTrack "true"
33   set Box02.Title "Window Level"
34
35 new vtkImageDataPointerRelay Box04
36
37 new ImageVtkProperties Box05
38
39 new GetVectorFloatElement Box06
40   set Box06.I "1"
41
42 new GetVectorFloatElement Box07
43   set Box07.I "0"
44
45 new MultipleInputs Box08
46
47 new Div Box09
48   set Box09.In2 "2"
49
50 new LayoutSplit Box10
51
52 new HistogramView Box11
53
54
55 connect Box01.Widget Box00.Widget1
56 connect Box02.Widget Box00.Widget2
57 connect Box04.Out Box05.In
58 connect Box05.MinMax Box06.In
59 connect Box06.Out Box01.Max
60 connect Box06.Out Box02.Max
61 connect Box05.MinMax Box07.In
62 connect Box07.Out Box01.Min
63 connect Box07.Out Box02.Min
64 connect Box01.BoxChange Box08.In1
65 connect Box02.BoxChange Box08.In2
66 connect Box06.Out Box09.In1
67 connect Box09.Out Box01.In
68 connect Box09.Out Box02.In
69 connect Box04.Out Box11.In
70 connect Box11.Widget Box10.Widget1
71 connect Box00.Widget Box10.Widget2
72
73 # Complex input ports
74 input Image Box04.In " "
75
76 # Complex output ports
77 output Box_Change Box08.Out " "
78 output ColorLevel Box01.Out " "
79 output WindowLevel Box02.Out " "
80 output widget Box10.Widget " "
81
82
83 endefine