]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
#2439 BBTK Feature New Normal - New version of BaseViewerInfo with ColorLayer
[bbtk.git] / packages / toolsbbtk / bbs / boxes / BaseViewerInfo.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include toolsbbtk
9 include creaMaracasVisu
10 include wx
11 include vtk
12
13 define BaseViewerInfo toolsbbtk
14
15 author "Author ??"
16 description "Description ??"
17
18 category "<VOID>"
19
20 new SaveMHD-Button Box00
21
22 new ViewerNV Box02
23
24 new LayoutTab Box03
25
26 new LayoutSplit Box04
27   set Box04.Orientation "V"
28   set Box04.Proportion "30"
29   set Box04.WinTitle "Info. image"
30
31 new vtkImageDataPointerRelay Box09
32
33 new ImageVtkPropertiesWidget Box10
34
35 new LayoutLine Box07
36   set Box07.Orientation "H"
37
38 new RescaleSlopeIntercept Box08
39   set Box08.A "0"
40   set Box08.B "1000"
41   set Box08.OutputFormat "VTK_UNSIGNED_SHORT"
42   set Box08.Type "2"
43
44 new ImageChangeInformation Box11
45   set Box11.NewSpacing "1 1 1"
46
47 new ColorLayerImageView Box12
48   set Box12.Active "false"
49
50 new LayoutLine Box13
51   set Box13.WinTitle "Color Layer"
52
53
54 connect Box02.Widget Box04.Widget2
55 connect Box09.Out Box00.In
56 connect Box09.Out Box10.in
57 connect Box09.Out Box02.In
58 connect Box00.Widget Box07.Widget2
59 connect Box10.widget Box07.Widget1
60 connect Box07.Widget Box04.Widget1
61 connect Box04.Widget Box03.Widget1
62 connect Box09.Out Box08.In
63 connect Box08.Out Box11.In
64 connect Box11.Out Box12.In
65 connect Box12.Widget Box13.Widget1
66 connect Box13.Widget Box03.Widget2
67
68 # Complex input ports
69 input Image Box09.In " "
70 input TitleAtribute Box03.WinTitle " "
71 input wxvtkbaseview_01 Box12.WxVtkBaseView " "
72 input wxvtkbaseview_02 Box12.WxVtkBaseView1 " "
73 input wxvtkbaseview_03 Box12.WxVtkBaseView2 " "
74
75 # Complex output ports
76 output widget Box03.Widget " "
77
78 message    
79
80 endefine