]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/crop.bbs
c11bf715e8844f40f4ac936086314b769b4dac52
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / crop.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.2 BBS BlackBox Script
3 # - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/crop.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaMaracasVisu
12 include wx
13 include creaImageIO
14 include vtk
15 include toolsbbtk
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new ViewerNV Box03
22   set Box03.nTypeView "6 1 2 -1"
23
24 new ContourVOI Box05
25
26 new LayoutSplit Box06
27   set Box06.Proportion 15
28
29 new LayoutLine Box07
30
31 new CommandButton Box08
32   set Box08.Label "Run Crop"
33
34 new ViewerNV Box09
35         set Box09.nTypeView "6 1 2 -1"
36
37 new ImageChangeInformation Box10
38
39 new LayoutSplit Box11
40   set Box11.Proportion 15
41
42 new ImagesChooserDialogBox Box13
43
44 new OutputText Box14
45   set Box14.Title "Index"
46
47 new OutputText Box15
48   set Box15.Title "Size"
49
50 new LayoutLine Box16
51
52 new ExtractVtkImageFilter Box25
53
54 new SaveMHD_infoCrop-Button Box26
55
56
57 connect Box03.Widget Box06.Widget2
58 connect Box05.Widget Box07.Widget1
59 connect Box08.Widget Box07.Widget2
60 connect Box07.Widget Box06.Widget1
61 connect Box08.BoxChange Box05.BoxExecute
62 connect Box10.Out Box09.In
63 connect Box09.Widget Box11.Widget2
64 connect Box08.BoxChange Box11.BoxExecute
65 connect Box13.Out Box05.In
66 connect Box13.Out Box03.In
67 connect Box03.wxVtkBaseView4 Box05.wxVtkBaseView
68 connect Box05.Index Box14.In
69 connect Box05.Size Box15.In
70 connect Box14.Widget Box16.Widget1
71 connect Box15.Widget Box16.Widget2
72 connect Box16.Widget Box11.Widget1
73 connect Box05.Index Box25.Index
74 connect Box05.Size Box25.Size
75 connect Box13.Out Box25.In
76 connect Box25.Out Box10.In
77 connect Box08.BoxChange Box25.BoxExecute
78 connect Box10.Out Box26.In
79 connect Box05.Size Box26.Size
80 connect Box05.Index Box26.Index
81 connect Box26.Widget Box16.Widget3
82
83 exec Box06