]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/bbs/appli/exampleImageThresholdConnectivity.bbs
#3498 Connectivity Filter Threshold
[creaVtk.git] / bbtk_creaVtk_PKG / bbs / appli / exampleImageThresholdConnectivity.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.5 BBS BlackBox Script
3 # - /Users/davila/Creatis/C22/creatools_source/creaVtk/bbtk_creaVtk_PKG/bbs/appli/exampleImageThresholdConnectivity.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include vtk
12 include creaMaracasVisu
13 include wx
14 include creaVtk
15
16 author "Author ??"
17 description "Description ??"
18 category "<VOID>"
19
20 new vtk:LoadHola Box03
21
22 new creaMaracasVisu:ViewerNV Box04
23   set Box04.nTypeView "6 1 2 0"
24
25 new wx:LayoutSplit Box05
26   set Box05.Orientation "H"
27
28 new wx:LayoutLine Box06
29
30 new creaMaracasVisu:ColorLayerImageView Box07
31   set Box07.TypeControlsInterface "2"
32   set Box07.lstTransparenceBoundaries "0"
33
34 new creaMaracasVisu:ImageChangeInformation Box08
35
36 new creaMaracasVisu:ViewerNV Box09
37   set Box09.nTypeView "6 1 2 0"
38
39 new wx:LayoutTab Box10
40
41 new creaVtk:ImageThresholdConnectivity Box12
42   set Box12.LstX "44"
43   set Box12.LstY "77"
44   set Box12.LstZ "148"
45
46 new wx:Slider Box13
47   set Box13.In "20"
48   set Box13.Label "true"
49   set Box13.Max "150"
50   set Box13.Min "0"
51   set Box13.ReactiveOnTrack "true"
52   set Box13.Title "Border"
53
54
55 connect Box06.Widget Box05.Widget1
56
57 connect Box07.Widget Box06.Widget2
58
59 connect Box04.wxVtkBaseView2 Box07.WxVtkBaseView
60
61 connect Box04.wxVtkBaseView3 Box07.WxVtkBaseView1
62
63 connect Box04.wxVtkBaseView4 Box07.WxVtkBaseView2
64
65 connect Box03.Out Box08.In
66
67 connect Box08.Out Box04.In
68
69 connect Box04.Widget Box10.Widget1
70
71 connect Box09.Widget Box10.Widget2
72
73 connect Box10.Widget Box05.Widget2
74
75 connect Box12.Out Box07.In
76
77 connect Box12.Out Box09.In
78
79 connect Box08.Out Box12.In
80
81 connect Box13.Widget Box06.Widget3
82
83 connect Box13.Out Box12.Border
84
85 connect Box13.BoxChange Box07.BoxExecute
86
87
88
89 # Complex input ports
90 exec Box05