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 # ----------------------------------
11 include creaMaracasVisu
13 define ColorWindowLevel_Interface creaMaracasVisu
16 description "Description ??"
21 set Box00.WinTitle "Color-Window Level"
24 set Box01.ChangeResolution "true"
25 set Box01.Label "true"
26 set Box01.ReactiveOnTrack "true"
27 set Box01.Title "Color Level"
30 set Box02.ChangeResolution "true"
31 set Box02.Label "true"
32 set Box02.ReactiveOnTrack "true"
33 set Box02.Title "Window Level"
35 new vtkImageDataPointerRelay Box04
37 new ImageVtkProperties Box05
39 new GetVectorFloatElement Box06
42 new GetVectorFloatElement Box07
45 new MultipleInputs Box08
52 new HistogramView Box11
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
74 input Image Box04.In " "
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 " "