]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/Crop2.bbs
#2999 CreaMiniTools Feature New Normal - crop-viewer-widget-manaul
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / Crop2.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/Crop2.bbs
4 # ----------------------------------
5
6 # BBTK GEditor Script
7 # ----------------------
8
9 include std
10 include itkvtk
11 include creaImageIO
12 include wx
13 include toolsbbtk
14 include creaMaracasVisu
15 include vtk
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new creaImageIO:ImagesChooserDialogBox Box00
22
23 new wx:InputText Box05
24   set Box05.In "0 0 0"
25   set Box05.Title "Index"
26
27 new wx:InputText Box06
28   set Box06.In "100 100 100"
29   set Box06.Title "Size"
30
31 new toolsbbtk:SaveMHD_infoCrop-Button Box08
32
33 new wx:LayoutLine Box09
34
35 new creaMaracasVisu:ViewerNV Box14
36   set Box14.nTypeView "6 1 2 0"
37
38 new wx:LayoutSplit Box15
39   set Box15.Orientation "H"
40
41 new vtk:ExtractVtkImageFilter Box16
42
43
44 connect Box08.Widget Box09.Widget3
45
46 connect Box05.Widget Box09.Widget1
47
48 connect Box06.Widget Box09.Widget2
49
50 connect Box06.Out Box08.Size
51
52 connect Box05.Out Box08.Index
53
54 connect Box00.Out Box14.In
55
56 connect Box14.Widget Box15.Widget2
57
58 connect Box09.Widget Box15.Widget1
59
60 connect Box05.Out Box16.Index
61
62 connect Box00.Out Box16.In
63
64 connect Box06.Out Box16.Size
65
66 connect Box16.Out Box08.In
67
68
69
70 # Complex input ports
71 exec Box15