]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/BaseViewerInfo.bbs
b1df0a64f0faa5b21242efe1cbd5b74eb9d22d95
[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 vtkImageDataPointerRelay Box09
27
28 new ImageVtkPropertiesWidget Box10
29
30 new LayoutLine Box07
31   set Box07.Orientation "H"
32   set Box07.WinTitle "Info"
33
34 new RescaleSlopeIntercept Box08
35   set Box08.A "0"
36   set Box08.B "90"
37   set Box08.OutputFormat "VTK_UNSIGNED_SHORT"
38   set Box08.Type "2"
39
40 new ImageChangeInformation Box11
41   set Box11.NewSpacing "1 1 1"
42
43 new ColorLayerImageView Box12
44   set Box12.Active "false"
45   set Box12.lstBaseColor "0 0 1   0 1 1     1 1 0   1 0 0"
46
47 new LayoutLine Box13
48   set Box13.WinTitle "Color Layer"
49
50 new LayoutLine Box14
51   set Box14.Orientation "H"
52   set Box14.WinTitle "View"
53
54
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 Box09.Out Box08.In
61 connect Box08.Out Box11.In
62 connect Box11.Out Box12.In
63 connect Box12.Widget Box13.Widget1
64 connect Box07.Widget Box03.Widget3
65 connect Box02.Widget Box14.Widget1
66 connect Box13.Widget Box03.Widget1
67 connect Box14.Widget Box03.Widget2
68
69 # Complex input ports
70 input Image Box09.In " "
71 input TitleAtribute Box03.WinTitle " "
72 input wxvtkbaseview_03 Box12.WxVtkBaseView2 " "
73 input wxvtkbaseview_02 Box12.WxVtkBaseView1 " "
74 input wxvtkbaseview_01 Box12.WxVtkBaseView " "
75
76 # Complex output ports
77 output widget Box03.Widget " "
78
79 message    
80
81 endefine