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 # ----------------------------------
7 # ----------------------
11 include creaMaracasVisu
18 description "Description ??"
22 set Box03.nTypeView "6 1 2 -1"
27 set Box06.Proportion 15
31 new CommandButton Box08
32 set Box08.Label "Run Crop"
35 set Box09.nTypeView "6 1 2 -1"
37 new ImageChangeInformation Box10
40 set Box11.Proportion 15
42 new ImagesChooserDialogBox Box13
45 set Box14.Title "Index"
48 set Box15.Title "Size"
52 new ExtractVtkImageFilter Box25
54 new SaveMHD_infoCrop-Button Box26
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