]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbs
#3418 merge vtk8itk5wx3-mingw64
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / viewerNVwithVolRenExample.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /home/davila/Creatis/C8/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/viewerNVwithVolRenExample.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaImageIO
12 include creaMaracasVisu
13 include toolsbbtk
14 include wx
15 include creaMiniTools
16 include vtk
17
18 author "Author ??"
19 description "Description ??"
20 category "<VOID>"
21
22 new creaImageIO:ImagesChooserDialogBox Box00
23
24 new creaMaracasVisu:ViewerNV Box01
25
26 new toolsbbtk:ImageVtkPropertiesWidget Box04
27
28 new wx:LayoutTab Box05
29   set Box05.WinHide "800"
30   set Box05.WinWidth "1000"
31
32 new toolsbbtk:SaveMHD-Button Box06
33
34 new wx:LayoutLine Box07
35   set Box07.WinTitle "MPR Viewer"
36
37 new creaMiniTools:LayerCol-VolRend-SurRend_Multi-Widget Box08
38
39 new wx:LayoutSplit Box09
40   set Box09.Orientation "H"
41   set Box09.WinTitle "ImageTools-Viewer-ViewerNV  (with VolRendering)"
42
43 new creaMaracasVisu:ImageChangeInformation Box10
44
45 new vtk:vtkImageDataPointerRelay Box11
46
47 new creaMaracasVisu:HelpViewerNV Box12
48
49 new wx:LayoutLine Box13
50   set Box13.WinTitle "Viewer Help"
51
52
53 connect Box04.widget Box05.Widget2
54
55 connect Box06.Widget Box05.Widget3
56
57 connect Box01.Widget Box07.Widget1
58
59 connect Box07.Widget Box05.Widget1
60
61 connect Box05.Widget Box09.Widget2
62
63 connect Box08.widget Box09.Widget1
64
65 connect Box01.Renderer1 Box08.renderer3D
66
67 connect Box01.wxVtkBaseView2 Box08.wxvtkbaseview1
68
69 connect Box01.wxVtkBaseView3 Box08.wxvtkbaseview2
70
71 connect Box01.wxVtkBaseView4 Box08.wxvtkbaseview3
72
73 connect Box11.Out Box01.In
74
75 connect Box11.Out Box04.in
76
77 connect Box11.Out Box06.In
78
79 connect Box10.Out Box11.In
80
81 connect Box00.Out Box10.In
82
83 connect Box12.widget Box13.Widget1
84
85 connect Box13.Widget Box05.Widget6
86
87
88
89 # Complex input ports
90 exec Box09