]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/boxes/Crop_Widget.bbs
2377 BBTK Bug New Normal box vtkUpdateRenderer test and initialice Renderer (NULL)
[bbtk.git] / packages / toolsbbtk / bbs / boxes / Crop_Widget.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/davila/Creatis/creaTools/creatools_source/bbtk/packages/toolsbbtk/bbs/boxes/Crop_Widget.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include creaMaracasVisu
9 include wx
10 include vtk
11 include toolsbbtk
12
13 define Crop_Widget toolsbbtk
14
15 author "Author ??"
16 description "Description ??"
17
18 category "<VOID>"
19
20 new ViewerNV Box03
21   set Box03.nTypeView "-1"
22
23 new ContourVOI Box05
24
25 new LayoutSplit Box06
26   set Box06.Proportion "35"
27
28 new LayoutLine Box07
29   set Box07.WinTitle "Crop"
30
31 new CommandButton Box08
32   set Box08.Label "Run Crop"
33
34 new ImageChangeInformation Box10
35
36 new OutputText Box14
37   set Box14.Title "Index"
38
39 new OutputText Box15
40   set Box15.Title "Size"
41
42 new LayoutLine Box16
43   set Box16.WinTitle "Save"
44
45 new ExtractVtkImageFilter Box25
46
47 new SaveMHD_infoCrop-Button Box26
48
49 new vtkImageDataPointerRelay Box19
50
51 new LayoutTab Box20
52
53
54 connect Box03.Widget Box06.Widget2
55 connect Box05.Widget Box07.Widget1
56 connect Box08.Widget Box07.Widget2
57 connect Box08.BoxChange Box05.BoxExecute
58 connect Box05.Index Box14.In
59 connect Box05.Size Box15.In
60 connect Box14.Widget Box16.Widget1
61 connect Box15.Widget Box16.Widget2
62 connect Box05.Index Box25.Index
63 connect Box05.Size Box25.Size
64 connect Box25.Out Box10.In
65 connect Box08.BoxChange Box25.BoxExecute
66 connect Box10.Out Box26.In
67 connect Box05.Size Box26.Size
68 connect Box05.Index Box26.Index
69 connect Box26.Widget Box16.Widget3
70 connect Box19.Out Box05.In
71 connect Box19.Out Box25.In
72 connect Box19.Out Box03.In
73 connect Box03.wxVtkBaseView1 Box05.wxVtkBaseView
74 connect Box16.Widget Box20.Widget2
75 connect Box07.Widget Box20.Widget1
76 connect Box20.Widget Box06.Widget1
77 connect Box08.BoxChange Box16.BoxExecute
78
79 # Complex input ports
80 input Image Box19.In " "
81
82 # Complex output ports
83 output Widget_Out Box06.Widget " "
84 output Image_Out Box10.Out " "
85
86
87 endefine