]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/appli/rescaleSlopeIntercept.bbs
#3010 CreaMiniTools Feature New Normal - Interpolate option in box ViewerNV
[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
31 new wx:LayoutSplit Box05
32   set Box05.Orientation "H"
33
34 new wx:LayoutTab Box06
35
36 new wx:LayoutLine Box07
37   set Box07.WinTitle "Rescale Reslope"
38
39 new toolsbbtk:ImageVtkPropertiesWidget Box08
40
41 new wx:CommandButton Box09
42   set Box09.Label "Save"
43
44 new vtk:MetaImageWriter Box10
45
46 new wx:FileSelector Box11
47
48 new creaImageIO:ImagesChooserDialogBox Box12
49
50
51 connect Box03.Out Box00.In
52
53 connect Box03.Out Box04.In
54
55 connect Box04.Widget Box05.Widget2
56
57 connect Box03.Out Box08.in
58
59 connect Box06.Widget Box05.Widget1
60
61 connect Box08.widget Box06.Widget2
62
63 connect Box07.Widget Box06.Widget1
64
65 connect Box01.widget Box07.Widget1
66
67 connect Box09.Widget Box07.Widget2
68
69 connect Box01.A Box00.A
70
71 connect Box01.B Box00.B
72
73 connect Box01.Format Box00.OutputFormat
74
75 connect Box01.Type Box00.Type
76
77 connect Box11.Out Box10.Filename
78
79 connect Box00.Out Box10.In
80
81 connect Box09.BoxChange Box10.BoxExecute
82
83 connect Box12.Out Box03.In
84
85 connect Box12.FileName Box08.FileName
86
87
88
89 # Complex input ports
90 exec Box05