]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs
f45872bdaff4d387d837d7c9bd8af265d95153f3
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / appli / rescaleSlopeIntercept.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.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 toolsbbtk
15 include creaImageIO
16
17 author "Author ??"
18 description "Description ??"
19 category "<VOID>"
20
21 new vtk:RescaleSlopeIntercept Box00
22
23 new vtk:RescaleReslopeIntercept_Interface Box01
24
25 new vtk:LoadHola Box02
26
27 new vtk:vtkImageDataPointerRelay Box03
28
29 new creaMaracasVisu:ViewerNV Box04
30   set Box04.nTypeView "6 1 2 0"
31
32 new wx:LayoutSplit Box05
33   set Box05.Orientation "H"
34
35 new wx:LayoutTab Box06
36
37 new wx:LayoutLine Box07
38   set Box07.WinTitle "Rescale Reslope"
39
40 new toolsbbtk:ImageVtkPropertiesWidget Box08
41
42 new wx:CommandButton Box09
43   set Box09.Label "Save"
44
45 new vtk:MetaImageWriter Box10
46
47 new wx:FileSelector Box11
48
49 new creaImageIO:ImagesChooserDialogBox Box12
50
51
52 connect Box03.Out Box00.In
53
54 connect Box03.Out Box04.In
55
56 connect Box04.Widget Box05.Widget2
57
58 connect Box03.Out Box08.in
59
60 connect Box06.Widget Box05.Widget1
61
62 connect Box08.widget Box06.Widget2
63
64 connect Box07.Widget Box06.Widget1
65
66 connect Box01.widget Box07.Widget1
67
68 connect Box09.Widget Box07.Widget2
69
70 connect Box01.A Box00.A
71
72 connect Box01.B Box00.B
73
74 connect Box01.Format Box00.OutputFormat
75
76 connect Box01.Type Box00.Type
77
78 connect Box11.Out Box10.Filename
79
80 connect Box00.Out Box10.In
81
82 connect Box09.BoxChange Box10.BoxExecute
83
84 connect Box12.Out Box03.In
85
86 connect Box12.FileName Box08.FileName
87
88
89
90 # Complex input ports
91 exec Box05